Skip to content

Simplify Expression Calculator

Simplify algebraic expressions exactly: combine like terms, expand brackets, cancel common factors in fractions and factor out the greatest common factor.

Calculator Details

Simplified:…See results ↓

Letters are variables (3ab means 3·a·b); use + − * / ^ and brackets, and sqrt, sin, cos, ln, log, abs, pi, e

Values for the variables, e.g. x = 2, y = -1/2: the original and simplified expressions are evaluated there

Your Results

Simplified: …

Simplified

…

Loading the algebra engine…

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

How This Calculator Works

How it's calculated

The calculator reads the expression into a tree of operations and rebuilds it as a sum of terms, each a coefficient times powers of the variables. Products are multiplied out with the distributive property, a(b + c) = ab + ac, and whole-number powers by repeated multiplication. Terms with the same variables and powers are combined by adding their coefficients, which are kept as exact fractions. A fraction is kept as one numerator over one denominator: sums of fractions use a common denominator, and any number, power of a variable or (for one variable) polynomial factor shared by top and bottom is cancelled.

The result is written in standard form, highest degree first. The greatest common factor is the largest number and the highest power of each variable that divide every term. Functions such as sin(x) and √x are treated as single units.

Frequently Asked Questions

What does "simplify" mean for an algebraic expression?

Rewriting it in an equivalent form with as few terms and operations as possible: brackets multiplied out, like terms combined and common factors cancelled. 3x + 2x − 5 + 4 simplifies to 5x − 1. The simplified expression gives the same value as the original for every allowed value of the variables.

What are like terms?

Terms with exactly the same variables raised to the same powers, such as 3x²y and −5x²y. Only their coefficients differ, so they can be added: 3x²y − 5x²y = −2x²y. Terms like x² and x, or xy and x²y, are not alike and stay separate.

Does the calculator expand brackets?

Yes. Products of brackets are multiplied out with the distributive property (FOIL for two binomials) and whole-number powers are expanded: (x + 2)(x − 3) becomes x² − x − 6. The factored form, (x + 2)(x − 3), is shown as well, because both are useful.

How does it factor out the greatest common factor?

It finds the largest number and the highest power of each variable that divide every term, and writes the expression as that factor times what is left. 6x²y + 9xy² becomes 3xy(2x + 3y). For a polynomial in one variable it also tries a complete factorisation into linear and quadratic factors with rational coefficients.

Can it simplify fractions with variables (rational expressions)?

Yes. Fractions are added over a common denominator, and factors common to the numerator and denominator are cancelled: (x² − 1)/(x − 1) simplifies to x + 1, and x/2 + x/3 to 5x/6. Remember the original was undefined at x = 1; the simplified form hides that restriction.

What happens to sin, sqrt and other functions?

They are treated as whole units: the calculator combines identical ones, so 2sin(x) + 3sin(x) = 5sin(x), but it does not apply trigonometric, logarithm or radical identities. sin²x + cos²x stays as it is, and √(x²) is not turned into |x|.

How do I type multiplication and powers?

Letters next to each other multiply, so 3ab is 3·a·b and 2x(x + 1) is 2x·(x + 1). Use ^ for powers (x^2, (a + b)^3) and / for division. Decimals are turned into exact fractions, so 0.5x becomes x/2.

How can I check that the simplification is right?

Put values for the variables in "Check at", for example x = 2, y = -1. The calculator evaluates the original and the simplified expression there and shows whether they agree. Pick values that don’t make a denominator zero.

Exact algebra with rational coefficients: brackets and whole-number powers (up to 20) are expanded, like terms combined, fractions put over one denominator and common factors cancelled. Variables are single letters, so 3ab means 3·a·b. Functions, roots and non-integer powers are kept whole: trigonometric, logarithm and radical identities (sin²x + cos²x = 1, √(x²) = |x|, ln(ab) = ln a + ln b) are not applied, and the simplify-radicals page handles surds. Fractions with more than one variable have only their numeric and single-term common factors cancelled. Restrictions such as x ≠ 1 after cancelling are not shown, and there is no full step-by-step working, only the rules used.

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.

  1. Distribute: 3x(x + 4) = 3x² + 12x, so the expression is 3x² + 12x − 2x² + 5x.
  2. Combine like terms: 3x² − 2x² = x², and 12x + 5x = 17x. The result is x² + 17x.
  3. Factor out the common factor: both terms contain x, so x² + 17x = x(x + 17).
  4. 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

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.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy