Two-Step Equations

Solve two-step equations of the form ax+b=cax + b = c by undoing operations in reverse order to isolate the variable using inverse operations.

ax+b=c    x=cbaax + b = c \implies x = \frac{c - b}{a}

Solve a problem with Two-Step Equations

Type the problem. The solver will use Two-Step Equations where Two-Step Equations is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Two-Step Equations takes
aa
bb
cc
xx
Two-Step Equations
SymbolMeaning
aaThe coefficient of the variable xx, which may be any nonzero real number including negatives; if aa is confused with the constant term, you'll undo the wrong operation first.
bbThe constant term added to or subtracted from axax; if bb is treated as part of the coefficient, you'll skip the first undoing step.
ccThe result or total on the right side of the equation; if cc is moved to the wrong side or not properly isolated, your final answer will be incorrect.
xxThe unknown variable you are solving for; this is the value you undo operations on, and if you treat it as a known constant, the entire equation becomes meaningless.

When to use it

When you encounter an equation with a variable multiplied by a constant and then a constant added or subtracted, use two-step equations to isolate the variable.

Level

Usually taught in: Pre-Algebra

Worked examples

1. Solve a simple two-step equation with small positive integers

Problem

Solve 2x+3=112x + 3 = 11 for xx.
  1. 2x+3=112x + 3 = 11

    This is the starting equation; we need to isolate xx.

  2. 2x+33=1132x + 3 - 3 = 11 - 3

    Subtract 3 from both sides to undo the addition and remove the constant from the left side.

  3. 2x=82x = 8

    After simplifying, we have xx multiplied by 2 on one side and 8 on the other.

  4. 2x2=82\frac{2x}{2} = \frac{8}{2}

    Divide both sides by 2 to undo the multiplication and isolate xx.

  5. x=4x = 4

    Simplify to get the final answer.

Answer: x=4x = 4

We solved this by first undoing addition (subtracting 3), then undoing multiplication (dividing by 2). This order matters because we build expressions by multiplying first and adding second, so we undo in reverse.

2. Solve a two-step equation with negative coefficient and subtraction

Problem

Solve 3x+5=7-3x + 5 = -7 for xx.
  1. 3x+5=7-3x + 5 = -7

    We start with a negative coefficient on xx and a positive constant on the left.

  2. 3x+55=75-3x + 5 - 5 = -7 - 5

    Subtract 5 from both sides to undo the addition of 5 on the left side.

  3. 3x=12-3x = -12

    After simplifying, we have 3x-3x equal to 12-12.

  4. 3x3=123\frac{-3x}{-3} = \frac{-12}{-3}

    Divide both sides by 3-3 to undo the multiplication by 3-3. A negative divided by a negative gives a positive.

  5. x=4x = 4

    Simplify to get the final answer; note that 12÷(3)=4-12 ÷ (-3) = 4.

Answer: x=4x = 4

This example shows that the process works even with negative coefficients. The key is to divide by the coefficient (even if negative) to isolate xx, and remember that dividing a negative by a negative yields a positive.

3. Solve a word problem about a basketball player's seasonal score

Problem

A basketball player scores 3 points per game. At the end of the season, the team awards them a 5-point bonus for consistent performance. Their total score for the season is 35 points. How many games did they play during the season?
  1. 3g+5=353g + 5 = 35

    Let gg be the number of games. The player scores 3g3g points from games plus 5 bonus points, totaling 35.

  2. 3g+55=3553g + 5 - 5 = 35 - 5

    Subtract 5 from both sides to undo the bonus and isolate the term with gg.

  3. 3g=303g = 30

    After simplifying, we have 3g=303g = 30.

  4. 3g3=303\frac{3g}{3} = \frac{30}{3}

    Divide both sides by 3 to undo the multiplication and isolate gg.

  5. g=10g = 10

    Simplify to get the final answer; the player competed in 10 games.

Answer: g=10 gamesg = 10 \text{ games}

Word problems require translating English into an equation first. Here, 'points per game' becomes multiplication (3g3g), and 'plus a bonus' becomes addition (+5+5). Two-step equations are perfect for situations where one quantity is scaled and then adjusted.

Common mistakes

Where Two-Step Equations usually goes wrong
Answer came out wrong
Failing to apply an operation to both sides of the equation—for example, solving 2x+3=112x + 3 = 11 by writing 2x=112x = 11 and then x=11x = 11 instead of subtracting 3 from both sides.
Always perform the same operation on both sides: 2x+3=112x+33=1132x=8x=42x + 3 = 11 \Rightarrow 2x + 3 - 3 = 11 - 3 \Rightarrow 2x = 8 \Rightarrow x = 4.
Using the wrong inverse operation—for instance, multiplying by 2 instead of dividing by 2 when solving 2x=82x = 8, resulting in x=16x = 16.
Identify what operation was applied to xx; if it was multiplication by 2, undo it by dividing by 2: 2x=8x=8÷2=42x = 8 \Rightarrow x = 8 ÷ 2 = 4.
Adding or subtracting the constant on the wrong side—for example, solving 2x+3=112x + 3 = 11 by writing 2x=11+3=142x = 11 + 3 = 14 instead of 11311 - 3.
When undoing addition of bb, subtract bb from both sides: 2x+3=112x=113=8x=42x + 3 = 11 \Rightarrow 2x = 11 - 3 = 8 \Rightarrow x = 4.
The mistakeWhy it is wrongThe fix
Failing to apply an operation to both sides of the equation—for example, solving 2x+3=112x + 3 = 11 by writing 2x=112x = 11 and then x=11x = 11 instead of subtracting 3 from both sides.The equals sign means both sides must remain equal; if you skip subtracting 3 from the right side, you break equality and get the wrong answer.Always perform the same operation on both sides: 2x+3=112x+33=1132x=8x=42x + 3 = 11 \Rightarrow 2x + 3 - 3 = 11 - 3 \Rightarrow 2x = 8 \Rightarrow x = 4.
Using the wrong inverse operation—for instance, multiplying by 2 instead of dividing by 2 when solving 2x=82x = 8, resulting in x=16x = 16.Multiplication and division are inverses of each other; if you multiply by 2, you undo division, not multiplication, so you move away from isolating xx rather than toward it.Identify what operation was applied to xx; if it was multiplication by 2, undo it by dividing by 2: 2x=8x=8÷2=42x = 8 \Rightarrow x = 8 ÷ 2 = 4.
Adding or subtracting the constant on the wrong side—for example, solving 2x+3=112x + 3 = 11 by writing 2x=11+3=142x = 11 + 3 = 14 instead of 11311 - 3.When a number is added on the left side of the equation, you undo it by subtracting it from both sides, not adding; adding moves in the opposite direction and leads to the wrong answer.When undoing addition of bb, subtract bb from both sides: 2x+3=112x=113=8x=42x + 3 = 11 \Rightarrow 2x = 11 - 3 = 8 \Rightarrow x = 4.

Tips and when to use something else

  • Always undo operations in reverse order: undo addition or subtraction first, then undo multiplication or division.
  • Check your answer by substituting it back into the original equation; if both sides are equal, you're correct.
  • For equations with many fractions, clear them first by multiplying every term by the least common denominator to simplify the solving process.
  • Once you've mastered two-step equations, progress to Linear Equations for equations with more terms, or Literal Equations to solve for variables in formulas.

Frequently asked questions

Can I solve a two-step equation by doing the operations in a different order?
Technically you can, but you'll likely create unnecessary fractions or more complex arithmetic. The standard order—undo addition/subtraction first, then undo multiplication/division—keeps the work cleaner and matches how we build expressions. Either order gives the same final answer if done correctly.
What should I do if the coefficient is negative?
Proceed exactly as you would with a positive coefficient. For 2x+3=11-2x + 3 = 11, subtract 3 to get 2x=8-2x = 8, then divide by 2-2 to get x=4x = -4. Remember that dividing a positive by a negative (or a negative by a negative) follows the rules of signs: positive ÷ negative = negative, and negative ÷ negative = positive.
How can I verify my answer is correct?
Substitute your value for xx back into the original equation and check that both sides equal. For example, if you found x=4x = 4 for 2x+3=112x + 3 = 11, then 2(4)+3=8+3=112(4) + 3 = 8 + 3 = 11, which matches the right side, so your answer is correct.
What's the difference between a one-step and a two-step equation?
A one-step equation needs only one operation to solve, such as x+3=7x + 3 = 7 (subtract 3) or 2x=82x = 8 (divide by 2). A two-step equation needs two operations, like 2x+3=112x + 3 = 11 (subtract 3, then divide by 2). Once you master two-step equations, you're ready for more complex Linear Equations with multiple variables or more terms.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18