Simplify Expression Calculator
Simplify algebraic expressions fast: combine like terms, expand, factor (GCF, common patterns, and rational roots), and reduce fractions. Includes quick picks, a worked step-by-step solution, and domain warnings when canceling terms or using negative exponents.
Background
“Simplify” means rewrite an expression into a cleaner form without changing its value. Some moves (like canceling (x−1)) are only valid when that factor isn’t zero — so we’ll show the restriction (like x ≠ 1) when needed.
How to use this calculator
- Choose a mode: Simplify, Expand, Factor, or Reduce fraction.
- Type your expression using ^ or ² for exponents (negative exponents like x^-2 work too).
- Click Calculate (or tap a quick pick).
- Keep Step-by-step on to see a worked solution you can follow by hand.
Safety note: If we cancel a factor like (x−1), or convert a negative exponent, we’ll show the restriction (like x ≠ 1).
Supported / not supported yet
Supported well
- Combining like terms and simplifying polynomials
- Adding numeric fractions with a common denominator, and mixed numbers like 1 1/2
- Exponent rules: product, quotient, and power rules, with the rule named in the steps
- Expanding products such as (x+2)(x−5) or (x+1)³, with every partial product shown
- Factoring: pulling out a GCF, difference of squares, perfect-square trinomials, and trinomials including ones with a leading coefficient (the ac method) — e.g. 6x² + 7x − 3 → (2x + 3)(3x − 1)
- Reducing rational expressions by factoring and canceling common factors, with the restriction shown
- Negative integer exponents, like x^-2 = 1/x²
- Typing x², × and ÷ directly
Not supported yet
- Equations and inequalities (anything with =, <, >) — this tool simplifies one expression at a time
- Trig, logarithmic, radical (√), absolute-value, or complex-number simplification, and π
- Advanced CAS-style transformations
- Non-integer or variable exponents
- Factoring polynomials with irrational or complex roots (e.g. x² + x + 1 stays as written)
- Canceling shared factors that are quadratic (or higher) without rational roots, or that involve several variables, like (x² − y²)/(x − y)
- Very complex multivariable factoring beyond GCF-style simplification
How this calculator works
- Combine like terms: add/subtract terms with the same variable part (e.g., 3x + 2x = 5x).
- Expand: distribute multiplication over addition (FOIL is a special case), e.g. (x+2)(x−5) = x² − 3x − 10.
- Factor: pull out the GCF, recognize patterns (difference of squares, perfect squares), then use number pairs, the ac method, and rational roots to split off linear factors, e.g. 6x²y + 9xy² = 3xy(2x + 3y), x² − 4 = (x − 2)(x + 2) or 6x² + 7x − 3 = (2x + 3)(3x − 1).
- Reduce fractions: factor the top and bottom, then cancel common factors (with domain restrictions), e.g. (x²−1)/(x−1) = (x+1) but only when x ≠ 1.
Important: canceling factors can remove “holes” in the domain. That’s why we show restrictions when simplification uses cancellation — and the same applies when a negative exponent gets rewritten as a fraction, since the base still can’t be zero.
Formula & Equation Used
Distributive property: a(b + c) = ab + ac
Combining like terms: ax + bx = (a+b)x
Difference of squares (common factorization): x² − 1 = (x−1)(x+1)
Exponent rules: aᵐ·aⁿ = aᵐ⁺ⁿ, aᵐ/aⁿ = aᵐ⁻ⁿ, (aᵐ)ⁿ = aᵐⁿ
Negative exponent: a^(−n) = 1/aⁿ when a ≠ 0
Safe cancellation rule: (A·B)/(A·C) = B/C only if A ≠ 0
Example Problem & Step-by-Step Solution
Example 1 — simplify by combining like terms
Simplify: 3(x+2) − x
- Distribute: 3(x+2) = 3x + 6
- Subtract x: 3x + 6 − x = 2x + 6
- Final: 2x + 6
Example 2 — reduce a rational expression (with restriction)
Reduce: (x² − 1)/(x − 1)
- Factor the numerator (difference of squares): x² − 1 = (x−1)(x+1)
- Cancel the common factor: (x−1)
- Simplified result: x + 1
- Restriction: since we canceled (x−1), we must have x ≠ 1
Example 3 — factor a difference of squares
Factor: x² − 4
- No numeric or monomial GCF to pull out (the coefficients are 1 and −4).
- Both terms are perfect squares with a minus between them: x² − 2², a difference of squares.
- Use a² − b² = (a − b)(a + b) with a = x and b = 2: x² − 4 = (x − 2)(x + 2)
Example 4 — factor out the GCF
Factor: 6x²y + 9xy²
- Numeric GCF of 6 and 9 is 3
- Common variables: both terms include x and y
- Factor: 6x²y + 9xy² = 3xy(2x + 3y)
Example 5 — factor a trinomial with a leading coefficient (ac method)
Factor: 6x² + 7x − 3
- Multiply a × c = 6 × (−3) = −18. Find two numbers that multiply to −18 and add to b = 7: −2 and 9.
- Split the middle term: 6x² − 2x + 9x − 3
- Group in pairs and factor each pair: 2x(3x − 1) + 3(3x − 1)
- Factor out the shared (3x − 1): (3x − 1)(2x + 3), which is the same as (2x + 3)(3x − 1)
Frequently Asked Questions
Q: What kinds of expressions can I simplify here?
This calculator is built for algebraic expressions using + − × ÷, parentheses, and exponents like x^2, x² or x^-2. It works great for polynomials, numeric fractions, and many rational expressions.
Q: Why do you show “restrictions” like x ≠ 1?
Canceling a factor like (x−1) is only valid when that factor isn’t zero. The restriction keeps the simplified form mathematically correct. The same idea applies when a negative exponent is rewritten as a fraction — the base still can’t be zero.
Q: What’s the difference between Simplify and Expand?
Expand distributes multiplication (often creating a longer expression), while Simplify combines and reduces to a cleaner form.
Q: How far can Factor mode actually factor something?
It pulls out the GCF, recognizes patterns like a difference of squares or a perfect-square trinomial, and uses the ac method and rational roots to split off linear factors — repeating for repeated roots, like x² + 2x + 1 → (x + 1)². If a polynomial has no rational roots (like x² + x + 1), it's left as written, and the steps explain why.
Q: Can it solve equations like 2x + 3 = 7?
No. This tool simplifies one expression at a time, so anything with =, < or > shows a message instead of an answer. Try entering just one side, like 2x + 3.
Q: Will it simplify trig/log expressions too?
Not in this version. This tool focuses on core algebra: polynomials, numeric fractions, many rational expressions, expansion, factoring, and common factor cancellation. Trig/log/radical simplification requires a more advanced CAS engine.