Simplify Expression Calculator: Like Terms, Brackets, Fractions and Common Factors
By FindMySum · Last reviewed
A simplify expression calculator rewrites an algebraic expression in its simplest equivalent form. This one multiplies out brackets, combines like terms, adds fractions over a common denominator, cancels factors shared by a numerator and denominator, and pulls out the greatest common factor. It works exactly, with fractions rather than rounded decimals, and lists the rules it used. A check box evaluates the original and the result at values you choose, so you can see that nothing changed but the form.
What simplifying means
Two expressions are equivalent when they give the same value for every allowed value of their variables. Simplifying replaces an expression with an equivalent one that has fewer terms and operations. 3x(x + 4) − 2x² + 5x and x² + 17x are equivalent: at x = 2 both equal 38, at x = −1 both equal −16, and they agree everywhere else too. The second is simpler because it has two terms instead of four and no brackets.
There is no single official "simplest form", but school algebra uses a standard one: brackets expanded, like terms combined, terms in descending order of degree, and fractions reduced to lowest terms. That is what the calculator returns as its main answer, with the factored form beside it.
The rules the calculator applies
Combine like terms. Like terms have exactly the same variables raised to the same powers; only the coefficients differ. 3x and 2x are alike, so 3x + 2x = 5x. 4x²y and −x²y are alike, giving 3x²y. But x² and x are not alike, and neither are xy² and x²y.
Expand brackets (the distributive property). a(b + c) = ab + ac. Multiplying two binomials uses it twice, which is the FOIL pattern: (x + 2)(x − 3) = x² − 3x + 2x − 6 = x² − x − 6. A power of a bracket is repeated multiplication: (a + b)³ = a³ + 3a²b + 3ab² + b³.
Exponent rules. Powers of the same base multiply by adding exponents (x²·x³ = x⁵), and a power of a product raises each factor (2x³)² = 4x⁶.
Fractions over a common denominator. x/2 + x/3 = 3x/6 + 2x/6 = 5x/6. With variables in the denominator, 1/x + 1/y = (y + x)/(xy).
Cancel common factors. A factor that appears in both the numerator and the denominator divides out: (x² − 1)/(x − 1) = (x − 1)(x + 1)/(x − 1) = x + 1. Only factors cancel, never terms: in (x + 3)/3 the 3s can't be cancelled, because 3 is not a factor of the whole numerator.
Greatest common factor. The largest number and the highest power of each variable that divide every term can be written outside a bracket: 6x²y + 9xy² = 3xy(2x + 3y). For a polynomial in one variable the calculator also tries a complete factorisation over the rational numbers, such as x³ − 6x² + 11x − 6 = (x − 1)(x − 2)(x − 3).
Worked example: 3x(x + 4) − 2x² + 5x
The calculator opens with this expression.
- Distribute: 3x(x + 4) = 3x² + 12x, so the expression is 3x² + 12x − 2x² + 5x.
- Combine like terms: 3x² − 2x² = x², and 12x + 5x = 17x. The result is x² + 17x.
- Factor out the common factor: both terms contain x, so x² + 17x = x(x + 17).
- Check at x = 2: the original gives 3·2·6 − 8 + 10 = 38, and the result gives 4 + 34 = 38.
How to type expressions
Letters are variables, and letters written together multiply: 3ab means 3·a·b and 2x(x + 1) means 2x·(x + 1). Use ^ for powers, / for division and brackets wherever the order matters. Decimals become exact fractions, so 0.5x + 0.25x simplifies to 3x/4. The functions sqrt, sin, cos, tan, ln, log, exp and abs are recognised, along with the constants pi and e.
Common mistakes the calculator helps catch
- Distributing a minus sign to the first term only. 5 − (x − 2) is 5 − x + 2 = 7 − x, not 3 − x.
- Adding unlike terms. x² + x is already simplified; it is not 2x³ or x³.
- Cancelling terms instead of factors. (x + 6)/6 is not x + 1.
- Squaring a sum term by term. (x + 3)² = x² + 6x + 9, not x² + 9.
Type your own working and the original into the calculator, or use the check values: if the two disagree at a point, there is a mistake.
What the calculator does not do
Functions are treated as single units, so 2sin(x) + 3sin(x) combines to 5sin(x), but identities are not applied: sin²x + cos²x is not replaced by 1, logarithms are not split, and √(x²) is not turned into |x|. Surds such as √12 belong on the simplify-radicals page. For fractions with several variables only numeric and single-term factors are cancelled. The page lists the rules used rather than every line of working, and it doesn't add the restrictions (such as x ≠ 1) that cancelling can hide.
More questions
Is simplifying an expression the same as solving an equation?
No. An expression such as 3x + 2x − 5 has no equals sign, so there is nothing to solve: simplifying only rewrites it in a shorter equivalent form, 5x − 5. An equation such as 3x + 2x − 5 = 10 states that two expressions are equal and can be solved for x (here x = 3). Simplifying both sides is usually the first step of solving.
Which form is simplest: expanded or factored?
It depends on what you need. The expanded standard form, x² − x − 6, makes like terms and the degree easy to see and is what most textbooks mean by simplified. The factored form, (x + 2)(x − 3), shows the zeros at once and is better for solving and for cancelling fractions. The calculator gives both.
Why do textbooks say x ≠ 1 after simplifying (x² − 1)/(x − 1)?
Because the original expression is undefined at x = 1, where its denominator is zero, while the simplified x + 1 is defined there. The two are equal everywhere else. When a cancelled factor could be zero, the restriction belongs with the answer even though the simplified formula no longer shows it.
What is the order of operations when simplifying?
Brackets first, then exponents, then multiplication and division from left to right, then addition and subtraction from left to right (BEDMAS or PEMDAS). So 2 + 3x² means 2 + 3·(x²), and −x² means −(x²), not (−x)². Writing extra brackets never hurts.
Can I simplify expressions with more than one variable?
Yes. Like terms must match in every variable and power, so 3xy and 2yx combine to 5xy but 3x²y and 3xy² don't. Common factors such as 3xy in 6x²y + 9xy² are found across all variables. For fractions in several variables the calculator cancels numbers and single-term factors, but not shared multi-term factors such as (x + y).
Sources
- OpenStax Elementary Algebra 2e, Section 1.2: Use the Language of Algebra (like terms)
- OpenStax Elementary Algebra 2e, Section 6.3: Multiply Polynomials
- OpenStax Elementary Algebra 2e, Section 7.1: Greatest Common Factor and Factor by Grouping
- OpenStax Intermediate Algebra 2e, Section 7.1: Simplify, Multiply, and Divide Rational Expressions
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.