Free Algebra Solver
Two-step equations

Two-Step Equation Calculator

A two-step equation needs two inverse operations: undo the adding or subtracting, then undo the multiplying or dividing.

Interpreted as: 3x + 5 = 20 (Solve) Ready
Examples
Solution

Worked example: 3x + 5 = 20

Worked example. Edit the problem above and press Solve to solve your own.

Problem3x + 5 = 20
  1. Simplify both sides of the equation

    Remove parentheses and combine like terms before isolating x.

    3x + 5 = 20
    Original equation
    3x + 5 = 20
    Simplify multiplication and combine like terms

    Only equivalent simplifications are used, so the solution set is unchanged.

  2. Subtract 5 from both sides

    Subtract 5 to leave only the variable term on the left.

    3x + 5 − 5 = 20 − 5
    Subtract 5 on both sides
    3x = 15
    Simplify both sides

    Adding or subtracting the same number on both sides preserves equality.

  3. Divide both sides by 3

    Undo the multiplication attached to x.

    3x/3 = 15/3
    Divide the entire left and right sides by 3
    x = 5
    Reduce both fractions

    Dividing both sides by the same nonzero number preserves equality.

  4. Check the answer in the original equation

    Substitute the proposed value into both sides of the original equation.

    x = 5
    Proposed solution
    3(5) + 5 = 20
    Substitute 5 for x
    20 = 20
    Both sides are equal, so it checks out

    A value is a solution only when it makes the original equation true.

Answerx = 5

Two-step equations

How to use the two step equation calculator

This two step equation calculator solves equations like 3x + 5 = 20 and x/4 − 2 = 6, showing both steps and a check. Here's how the method works by hand.

How do you solve two step equations?

First undo the addition or subtraction, then undo the multiplication or division, doing each to both sides. For 3x + 5 = 20, subtract 5 from both sides to get 3x = 15, then divide both sides by 3 to get x = 5. Check: 3(5) + 5 = 20.

What is a two-step equation?

A two-step equation needs exactly two inverse operations to isolate the variable. It usually looks like ax + b = c, such as 3x + 5 = 20, where x has been multiplied and then had something added.

A one-step equation needs just one move. x − 4 = 10 only needs 4 added to both sides (x = 14), and 5x = 35 only needs a division by 5 (x = 7). The calculator handles both kinds.

How do you solve 3x + 5 = 20?

Subtract 5 from both sides, then divide both sides by 3. The answer is x = 5.

Start
3x + 5 = 20
Step 1: subtract 5 from both sides
3x = 15
Step 2: divide both sides by 3
x = 5
Check
3(5) + 5 = 15 + 5 = 20

It helps to say each step out loud the first few times. "x was multiplied by 3, then 5 was added. So I take away the 5, then divide by 3." Once the order feels automatic, you can do most two-step equations in your head and use the calculator only to check.

Why do you undo addition or subtraction first?

Because solving runs the order of operations in reverse. To build 3x + 5 from x, you multiply by 3 first and add 5 last, so the 5 is the first thing to come off.

Think of getting dressed: socks go on before shoes, so shoes come off first. You can divide first if you like, but then you have to divide every term, giving x + 5/3 = 20/3. That works, it's just messier.

The same reverse-order idea carries into longer equations. Whatever was done to x last comes off first, which is why the solver always clears added or subtracted numbers before it divides.

Building 3x + 5Solving 3x + 5 = 20
1. Multiply x by 31. Subtract 5
2. Add 52. Divide by 3

How do you solve a two-step equation with division?

Same order: undo the addition or subtraction, then multiply to undo the division. For x/4 − 2 = 6, add 2 to get x/4 = 8, then multiply both sides by 4 to get x = 32.

Start
x/4 − 2 = 6
Add 2 to both sides
x/4 = 8
Multiply both sides by 4
x = 32
Check
32/4 − 2 = 8 − 2 = 6

The solver writes x/4 as (1/4)x and divides by 1/4, which is the same as multiplying by 4. The steps don't change when x is on the right. In 7 = x/3 + 4, subtract 4 to get 3 = x/3, then multiply by 3 for x = 9.

What about negative coefficients?

Keep the negative sign attached to the number in front of x, and divide by that negative number in step 2. For −2x + 5 = 13, subtract 5 to get −2x = 8, then divide by −2 to get x = −4.

Watch equations where the constant comes first. In 5 − 2x = 11 the coefficient is −2, not 2. Subtract 5 to get −2x = 6, then divide by −2 for x = −3.

A bare −x means −1 times x. If you reach −x = 6, divide (or multiply) by −1 and you get x = −6.

A negative answer is perfectly normal, and so is a negative number on the right side. In −5x − 2 = 13, add 2 to get −5x = 15, then divide by −5 for x = −3. Check it: −5(−3) − 2 = 15 − 2 = 13.

What mistakes do students make with two-step equations?

Dividing before subtracting, and only dividing part of the equation, is the most common. From 3x + 5 = 20, writing x + 5 = 20/3 leaves the 5 undivided.

Dropping the negative is next. −2x = 8 gives x = −4, and writing x = 4 fails the check: −2(4) + 5 = −3, not 13.

With division equations, some students divide by 4 instead of multiplying. x/4 = 8 means x is 4 times bigger than 8, so x = 32, not 2.

How do you solve a one-step equation?

Use the one inverse operation that undoes what was done to x. Each of the four basic types has its own move.

EquationMoveAnswer
x + 7 = 3Subtract 7 from both sidesx = −4
x − 9 = −2Add 9 to both sidesx = 7
4x = −20Divide both sides by 4x = −5
x/5 = 3Multiply both sides by 5x = 15

A two-step equation is two of these stacked together. If one-step equations still feel shaky, practice those first, because every mistake there carries into the longer problems. Pay extra attention to rows like x + 7 = 3, where the answer comes out negative even though every number in the problem is positive.

What does a two-step equation look like in a word problem?

Most of them have a starting amount plus a rate. Suppose you have $5 and save $3 each week. To find how many weeks until you have $20, write 3x + 5 = 20.

That's the same equation as the worked example, so x = 5 weeks. The 5 is the starting amount and the 3 is the rate. Spotting which number is which is most of the work, and once you have the equation the two steps take care of the rest.

Frequently asked questions

Short answers to the questions people ask most about this topic.

What is a two step equation calculator?

It solves equations that take two inverse operations, such as 3x + 5 = 20. It shows the subtraction step, the division step and a check, so you can compare it with your own work.

Does it work as a one step equation calculator too?

Yes. Type x − 4 = 10 or 5x = 35 and it solves those in one move, giving x = 14 and x = 7.

Which step comes first in a two-step equation?

Undo the addition or subtraction first, then the multiplication or division. That reverses the order of operations used to build the expression.

How do you solve x/4 − 2 = 6?

Add 2 to both sides to get x/4 = 8, then multiply both sides by 4. The answer is x = 32.

What if the answer is a fraction?

That's fine. The calculator gives exact fractions, so an equation like 3x + 1 = 8 returns x = 7/3 instead of a rounded decimal.

How can I check a two-step equation answer?

Put the answer back into the original equation and work out each side. If both sides match, the answer is right.

How do you solve (x + 1)/3 = 2?

Here the whole left side is divided by 3, so multiply both sides by 3 first to get x + 1 = 6. Then subtract 1 for x = 5. When the division covers everything, it comes off first.

Is a two-step equation the same as a linear equation?

Yes, it's a short linear equation. Linear equations can need more steps, such as distributing or collecting x from both sides, and the linear equation solver handles those longer ones.

Math keypad

Solve mode

Use the keypad below or tap the expression to use your phone keyboard.

Keyboard tips

Ctrl + Enter
Run the selected operation
^
Enter a power, such as x^2
sqrt(
Calculate an exact or simplified square root
a:b
Separate quantities in a ratio
12, 18
Separate integers in an LCM and GCD calculation
@ x =
Assign x when evaluating an expression
y =
Enter a polynomial function to graph
|
Wrap an absolute-value expression