Reverse the operation
Addition is undone by subtraction. Multiplication is undone by division. Work in reverse order around x.
Solve a linear equation in the form ax + b = c. You’ll get the answer, every legal move, and a substitution check.
Examples: 2x + 5 = 17, −3x + 4 = 19, or 0.5x − 2 = 8.
Your balanced solution will appear here.
Try the example already in the boxes.
A new equation appears each time. Enter x, check it, and use the hint only when you need it.
Addition is undone by subtraction. Multiplication is undone by division. Work in reverse order around x.
An equation is a claim of equality. The claim stays true only when both sides receive the same operation.
Replace x in the original equation. If both sides evaluate to the same number, your answer is verified.
When a is not zero, subtract b from both sides, then divide both sides by a: x = (c − b) / a. Check the answer by substituting it into the original equation.
Example: 2x + 5 = 17 → 2x = 12 → x = 6. Check: 2 × 6 + 5 = 17.
If a = 0 and b = c, every value of x is a solution. If a = 0 and b differs from c, there is no solution. You cannot divide by zero.
Enter coefficients for a single linear equation in the form ax + b = c. Negative numbers and decimals are supported. This tool does not solve quadratic equations, systems, inequalities, or expressions with x on both sides unless you rearrange them first. Non-terminating answers are displayed approximately, to 12 significant digits.
For guided offline practice, use the free 7-day Algebra Reset with answers. To connect equations with graphs, read how slope measures a rate of change.