Skip to content
GM Calculator

Written and reviewed byMuhammad ShahidHow we verify calculations

Combine Like Terms Calculator: Simplify Expressions with Steps

Enter an expression like 4.3x - 7x - 5.6x and see every expand and combine step. Works with any letters, decimals, and parentheses.

Any VariablesParentheses ExpandedStep-by-Step Combining
Learn How It Works

How to use the combine like terms calculator

  1. Type your expression in the box, for example 2x + 3x - x + 7.
  2. Press Simplify or hit Enter.
  3. Read the simplified form, then the steps that produced it.

The calculator keeps every letter separate, so 3a + 2b - a + 5 and 12 - 4 + 3m - m both work as written. Parentheses with a constant in front, like 8(10x + 10y - 3), are expanded before combining starts.

Worked examples, simplified step by step

These are the expressions that show up most often in homework sets. Every combine line is written out here, so you can read the result without entering anything. Type any of them into the box above and the calculator runs the same steps live.

Decimal coefficients

4.3x - 7x - 5.6x

All three terms share the letter x, so their coefficients combine.

Combine x: 4.3x - 7x - 5.6x = -8.3x

-8.3x

Parentheses with two variables

8(10x + 10y - 3)

Multiply 8 by every term inside the parentheses.

Expanded: 80x + 80y - 24

x, y, and the constant are three different groups, so nothing further combines.

80x + 80y - 24

Several variables at once

3a + 2b - a + 5

The a terms combine; 2b and 5 have no like partners.

Combine a: 3a - a = 2a

2a + 2b + 5

Unit coefficients

2x + 3x - x + 7

The term -x counts as -1x.

Combine x: 2x + 3x - x = 4x

4x + 7

Variables and constants together

12 - 4 + 3m - m

Combine the m terms first.

Combine m: 3m - m = 2m

Then combine the constants.

Combine constants: 12 - 4 = 8

2m + 8

Terms that cancel

x - x + 5

x and -x are opposites, so they cancel to zero.

Combine x: x - x = 0

5

What are like terms?

Like terms are terms with the same variable raised to the same power. 3x and 5x are like terms, and so are 2a and -7a. What changes between them is only the number in front, the coefficient. Unlike terms differ in letter or in power: 3x and 3y use different letters, and 3x and 5xยฒ use different powers, so those pairs never combine.

Plain numbers are their own group of like terms. 5 and -3 combine to 2, but a constant never combines with a variable term: in 2x + 3, the 3 stays on its own.

How to combine like terms by hand

Step 1: Expand parentheses

Multiply any constant in front of parentheses by every term inside. 8(10x + 10y - 3) becomes 80x + 80y - 24.

Step 2: Group each variable

Work one letter at a time. Collect every x term, then every y term, and so on. In 3a + 2b - a + 5, the a terms are 3a and -a.

Step 3: Add or subtract the coefficients

Keep the variable and combine the numbers in front. 3a - a = 2a, because -a means -1a.

Step 4: Combine the constants and rewrite

Add the plain numbers, then write each group once: 2a + 2b + 5. Constants are their own group, separate from every variable.

Common mistakes

Combining Unlike Terms

2x + 3y is already simplified. The letters differ, so there is no single number to add. Writing 5x or 5xy changes the expression.

Treating -x as If It Were Not There

In 4x - x - 2x, the -x is -1x, so 4 - 1 - 2 = 1 and the answer is x. Skipping the invisible 1 leads to 2x instead.

Forgetting to Multiply Every Inner Term

2(3x + 1) is 6x + 2, not 6x + 1. The 2 multiplies the 1 as well as the 3x.

Missing the Sign Change Inside Parentheses

In 5x - 2(x - 1), the -2 hits both terms: -2x + 2, so the full result is 5x - 2x + 2 = 3x + 2. The minus turns -1 into +2.

Mixing Powers

3x and 5xยฒ never combine because the powers differ. Exponents are outside this tool's scope: for equations with xยฒ, use the Quadratic Solver.

What this tool handles and what it hands off

Equals signs

An expression with an equals sign is an equation. The Equation Solver combines the like terms first, then isolates the variable with every step shown.

Exponents

Squared terms and powers are outside this tool's scope. For an equation like xยฒ + 5x + 6 = 0, the Quadratic Solver takes the coefficients and returns the roots.

Variable times variable

Products like x(x + 1) need one expansion by hand first, giving xยฒ + x. After that, any like terms left can be combined here.

Division by a letter

Dividing by an expression that contains a letter, like 6/x, is a rational expression, not a sum of like terms.

Frequently Asked Questions About Combining Like Terms

What are like terms?

Like terms are terms with the exact same variable raised to the same power. 3x and 5x are like terms, and so are 2a and -7a. Terms with different letters, like 3x and 3y, are unlike terms and stay separate. Constants like 5 and -3 are like terms with each other.

How do you combine like terms?

Add or subtract the coefficients and keep the variable. In 4x + 7x, the coefficients 4 and 7 add to 11, so the result is 11x. Constants combine on their own: 5 - 3 = 2. Work one letter at a time, then collect the constants.

Does this calculator show steps?

Yes. It prints the original expression, expands parentheses when they appear, combines each variable on its own line with every coefficient written out, combines the constants, then prints the simplified expression. Each line appears under the answer in the result box.

Can I combine terms with different variables?

Yes, each letter is handled separately. In 3a + 2b - a + 5, the a terms combine to 2a while 2b and 5 stay as they are, giving 2a + 2b + 5. Variables appear in the simplified answer in the order you first wrote them.

Does this calculator solve equations?

No. It simplifies expressions and takes no equals sign. If your problem has one, like 2x + 3x = 15, use the Equation Solver: it combines the like terms first, then isolates the variable and shows the solution.

Can it handle parentheses?

Yes. A number outside parentheses multiplies every term inside: 8(10x + 10y - 3) expands to 80x + 80y - 24. Products of two letters, like x(x + 1), are different: expand that by hand to xยฒ + x first, then this tool can combine any like terms you have left.

What about exponents like x squared?

Squared terms and other exponents are outside this tool's scope. 3x and 5xยฒ never combine anyway, because the powers differ. For equations that involve xยฒ, use the Quadratic Solver.

Combine Like Terms Pros & Cons

Pros

  • Instant simplification with every combine line shown
  • Works with any letters: x, a, m, or several at once
  • Expands parentheses before combining
  • Handles decimals and cancelled terms
  • Free, with no sign-up or email

Cons

  • No graphing visualization
  • No exponents or squared terms
  • Does not solve equations with an equals sign
Muhammad Shahid

Reviewed by Muhammad Shahid

Writer & Calculator Reviewer

Writes and reviews calculator content across marketing, finance, health, and math at GM Calculator.

โœ“ Content Reviewerโœ“ Calculator Accuracy Specialist

Last reviewed: November 4, 2026