Math · Every step shown

Linear Equation Solver

Solve ax + b = c for x. Free, with the full step-by-step solution and no login.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Algebra
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

To solve ax + b = c you undo the operations in reverse order. First move b to the other side by subtracting it from both sides. Then divide both sides by a.

Example: 2x + 3 = 11. Subtract 3: 2x = 8. Divide by 2: x = 4. Check: 2 × 4 + 3 = 11. ✓

Whatever you do to one side of an equation, you must do to the other. That is the one rule behind all of algebra.

What if my equation has x on both sides?
Move the x terms to one side first. For 5x + 2 = 2x + 11, subtract 2x and 2 from both sides to get 3x = 9, then enter a = 3, b = 0, c = 9.

Why can't a be 0?
Then the x disappears and you do not have an equation to solve for x.

Does it handle negatives and decimals?
Yes.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. Answers are rounded to six decimal places. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.