Free Math Calculator

Simplifying Expressions Calculator

Use this simplifying expressions calculator to expand brackets and combine like terms in x, y and z. Get exact fractions and step-by-step working.

Built and maintained by Online Calculator Tools Editorial TeamUpdated Sources & methodology
✓ Free to use✓ Dynamic calculation steps✓ Input validation✓ Mobile friendly

Calculator

Enter your values

Enter your own values. The result starts blank and clears whenever an input changes.

Enter a polynomial expression in x, y and z, such as 3(x + 2) - 2x + 4. Use ^ for whole powers 0–10 and / only for division by constants. Up to 240 characters; total expanded degree ≤10 and 60 terms.

What is the Simplifying Expressions Calculator?

This simplifying expressions calculator expands brackets, distributes negative signs and combines like terms in a supported polynomial expression. You can use x, y and z, whole-number powers, ordinary decimal coefficients and fractions formed by dividing by constants. The result is an expanded expression with exact reduced fractional coefficients.

Simplifying an expression is different from solving an equation. The input 3(x + 2) − 2x + 4 has no equals sign and simplifies to x + 10. It does not ask for a single value of x. For an equation with one linear unknown, use the Linear Equation Calculator. To find supported polynomial factors instead of expanding brackets, use the Polynomial Factoring Calculator.

How do you use the Simplifying Expressions Calculator?

  1. Type one supported expression, using lowercase x, y or z. Enter 3(x + 2) − 2x + 4 to reproduce the first example.
  2. Use parentheses for grouping and ^ for powers. Multiplication may be explicit, such as 2*x, or implicit before a variable or opening bracket, such as 2x and (x + 1)(x − 1).
  3. Select Calculate. Read the expanded answer, coefficient arithmetic and the operation-specific steps.
  4. Check the stated limits if an input is rejected. The calculator does not silently treat a function or variable denominator as a polynomial.

Editing the expression clears the old result so that it cannot be confused with a new input. Reset empties the form. Copy, Download and Print keep the result with its calculation steps. Expressions are processed in the browser; no calculation server is needed.

Affiliate disclosure: As an Amazon Associate I earn from qualifying purchases.

For an optional numerical check, browse scientific calculators (paid link). Confirm the supported functions; a numerical device does not necessarily reproduce this tool’s symbolic working. No purchase is needed.

What formula or method does the Simplifying Expressions Calculator use?

Multiplication distributes over every term in a sum. For example, 3(x + 2) becomes 3x + 6. Subtraction applies to the entire expression that follows it: −(2x − 5) becomes −2x + 5. The working records these operations as the expression is processed.

Like terms must have exactly the same variable powers. The terms 3xy and −2xy combine to xy, but x and x² remain separate. Multiplying x² by x adds the exponents and gives x³. The displayed order is decreasing total degree, with ties ordered by powers of x, then y, then z.

Accepted decimal coefficients are converted to fractions before arithmetic. Thus 0.1x + 0.2x is exactly (3/10)x rather than a binary floating-point approximation. This is separate from the Scientific Calculator, which evaluates numerical expressions rather than returning a symbolic polynomial.

Worked examples: expand brackets and collect like terms

For 3(x + 2) − 2x + 4, distribute 3 to obtain 3x + 6 − 2x + 4. Combine 3x − 2x to get x, then combine 6 + 4 to get 10. The simplified expression is x + 10, and it has the same value as the original for every real x.

For (x + 3)(x − 3), multiply each term in the first bracket by each term in the second: x² − 3x + 3x − 9. The two middle terms cancel, leaving x² − 9. This expansion is the reverse of recognizing a difference-of-squares factorization.

For (2x + 1)/3 + x/6, divide the coefficients by their constant denominators and use a common denominator. The x coefficient is 2/3 + 1/6 = 5/6, so the result is (5/6)x + 1/3. The Fraction Calculator can check that coefficient addition separately.

For 2xy + 3yx − y², multiplication of variables is commutative, so xy and yx describe the same powers. The result is 5xy − y². In contrast, 2x + 3y cannot be combined into 5xy.

Reading the result and checking your work

The term count includes only nonzero terms in the expanded output. Total degree is the largest sum of variable exponents in any term: x²y has total degree three. A nonzero constant has degree zero, while the zero polynomial has no defined degree in the convention used here.

The final step also evaluates the expanded expression at x = 2, y = −1 and z = 3 as a numerical reference. One substitution is not proof that two expressions are identical; the expansion and exact coefficient operations are the algebraic method. For a separate check, substitute the same values into the original expression and compare with that reference.

Unary minus is applied after a power, so −x² means −(x²), while (−x)² is positive x². Multiplication and division are processed left to right. Avoid ambiguous shorthand such as x/2x: write (x/2)*x or x/(2x) to state your intended grouping. The second form is outside this tool’s variable-denominator scope.

What are the limitations of the Simplifying Expressions Calculator?

This version supports polynomial expressions in x, y and z with +, −, multiplication, parentheses, whole-number powers from zero through ten and division by nonzero constant expressions. The expansion must have total degree at most ten and at most 60 nonzero terms. Input length is limited to 240 characters, 160 tokens and 80 recorded operation stages. Deeply nested or extremely large exact intermediate values are rejected.

Each numeric literal must be an ordinary number of magnitude at most 1,000,000 with no more than six decimal places. Scientific notation, commas, equations, functions, radicals, negative powers and variable denominators are not supported. Use a slash to form a fractional coefficient, such as (1/3)x. A zero denominator is rejected, and literal 0^0 is not supported.

The calculator expands and collects terms; it does not perform general rational-function cancellation, factorization, equation solving or trigonometric identities. Choosing the right task matters: a correct expanded polynomial is not automatically a solution set or a factored form. Unsupported inputs receive an explanation instead of a guessed answer.

Worked example and a way to check it

Combine like terms and preserve signs while distributing parentheses.

Simplifying 3(x − 2) + 2x gives 5x − 6.

At x = 4 both forms give 14. Substitution can detect an error, while distributing and collecting terms explains the equivalence.

How do you check the inputs and read the result?

Separate expressions from equations

Begin by deciding what the question asks you to return. An expression can be rewritten without solving for an unknown. An equation asks which input values make both sides equal. An inequality asks which values make a comparison true. Simplifying, factoring and solving can appear in the same exercise, but the result of each step means something different. Copy any equality or inequality sign as part of the input. Keeping that distinction visible also helps you tell whether the answer should be a formula, a list of values or an interval.

Account for restrictions before rewriting

Record any restriction from the original statement while it is still visible. Division requires a nonzero denominator, and logarithms have real-domain restrictions. Canceling a factor may remove visible evidence of an excluded value without making that value valid in the original expression. When you perform a transformation that can introduce additional candidates, keep them as candidates until you check them. Substitution into the original form is usually the simplest final check, especially near zeros of a denominator or at a boundary of the real domain.

Make grouping explicit in the input

Copy the signs and grouping first, then supply the numerical coefficients or expression requested by the tool. Parentheses can change the meaning of a denominator, a negative power, or an exponent that contains several terms. When input fields separate a polynomial into its coefficients, enter zeros for missing powers if the fields call for them. In a system or matrix, maintain the same variable order from row to row. If you change notation between paper and calculator, read the entered expression back before using the answer.

Simplifying Expressions Calculator FAQs

Sources and methodology

These educational references explain the underlying mathematics. This independently implemented tool is not affiliated with their publisher. Supported methods, numerical precision and restrictions are described above.