Solve a linear equation ax + b = c with both inverse-operation steps shown and a substitution check to prove the answer — free, private, and runs entirely in your browser.
Algebra Steps Calculator
Solve a linear equation the teachable way — subtract, divide, then prove it with a check — not just a bare x value.
Enter your values
Fill in the fields below — the result appears with every step shown.
Your result will appear here
Enter your values above, then press Calculate — or press Enter in any field.TinyExe · Algebra Steps Result
Calculated locally in your browser
—
Name
—
Coefficient a (of x)
—
Constant b
—
Right-hand side c
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.
The short answer
To solve a linear equation like 2x plus 3 equals 11, undo the operations in reverse order: subtract 3 from both sides to get 2x equals 8, then divide both sides by 2, giving x equals 4. Substituting back, 2 times 4 plus 3 equals 11, which checks the answer.
- x = (c - b) / a for any equation ax + b = c with a not 0
- Undo addition before multiplication — reverse order of operations
- A substitution check must reproduce c exactly
Inverse operations used to isolate x
Reference values for this calculator.
| Operation in equation | Undo it with | Example |
|---|---|---|
| + b | subtract b | x + 3 = 7 -> x = 4 |
| - b | add b | x - 5 = 2 -> x = 7 |
| x times a | divide by a | 3x = 12 -> x = 4 |
| x divided by a | multiply by a | x/4 = 5 -> x = 20 |
The formula
The exact formula this calculator uses — every variable in it is explained in the card below.
The formula
Ideas enhancement: every run ends with a substitution check (a*x + b must return c), teaching the verification habit alongside the two inverse-operation steps rather than giving a bare answer.
Worked examples
Worked examples with the full working shown — try them in the calculator to check.
Example 1
2x + 3 = 11
Equation 2x + 3 = 11
| Calculation | Steps |
|---|---|
| Equation 2x + 3 = 11. Subtract 3 from both sides: 2x = 8. Divide by 2: x = 4. | x = 4. |
Result
Example 2
5x - 7 = 18
Equation 5x + -7 = 18
| Calculation | Steps |
|---|---|
| Equation 5x + -7 = 18. Subtract -7 from both sides: 5x = 25. Divide by 5: x = 5. | x = 5. |
Result
Example 3
Decimal coefficients 0.5x + 1.5 = 4
Equation 0.5x + 1.5 = 4
| Calculation | Steps |
|---|---|
| Equation 0.5x + 1.5 = 4. Subtract 1.5 from both sides: 0.5x = 2.5. Divide by 0.5: x = 5. | x = 5. |
Result
How to use this calculator
Step 1
Rewrite your equation in the form ax + b = c and read off a, b and c.
Step 2
Enter a (the number multiplying x), b (the added constant) and c (the right side).
Step 3
Follow the two steps shown: subtract b, then divide by a.
Step 4
Use the built-in check: substitute x back and confirm you get c.
Frequently asked questions
Why do I subtract b before dividing by a?
Because b was added last when the expression ax + b was built (multiplication happens before addition), so it is undone first. Reversing the order of operations is the whole method of solving.
What if a is negative or a fraction?
The same two steps work unchanged: x = (c - b) / a handles negative and decimal coefficients. Only a = 0 breaks the method, because then x has vanished from the equation.
What does the check step prove?
Substituting x back into ax + b must reproduce c exactly. If it does not, an arithmetic slip happened in one of the two steps — the check catches it before the answer is used.
Can this solve equations with x on both sides?
Not directly. First collect the x terms: for 5x + 2 = 3x + 10, subtract 3x from both sides to get 2x + 2 = 10, then enter a=2, b=2, c=10. The limitation section states this scope.
Why is there exactly one solution?
A linear equation ax + b = c with a not equal to zero graphs as a non-horizontal straight line, which crosses the value c exactly once — so one x always exists and is unique.
About this calculator
The Algebra Steps Calculator solves a linear equation ax + b = c and shows the method, not just the answer: subtract b from both sides, divide by a, then verify by substituting the solution back into the original equation.
Solving an equation means unwrapping it. The expression ax + b was built by multiplying x by a and then adding b, so solving applies the inverse operations in the reverse order: subtract b first, then divide by a. Whatever is done to one side must be done to the other, which keeps the equality true at every step.
Here a is the coefficient of x and must not be zero, b is the constant added to the x term, and c is the value on the right-hand side. The solution x = (c - b) / a works for whole numbers, decimals, fractions and negative values alike.
The most common errors are dividing by a before removing b, changing a sign when subtracting a negative b (for example 5x - 7 = 18 means b = -7), and skipping the check. Entering b with its sign, as displayed in the equation, prevents the second error.
Use it for algebra homework, tutoring, and self-study — anywhere the working matters as much as the value of x — and for quick linear models like fares, fees-plus-rate pricing and unit conversions.
How to calculate it yourself
Step 1
Collect the x term on one side: the equation must look like ax + b = c.
Step 2
Undo the addition: subtract b from BOTH sides, giving ax = c - b.
Step 3
Undo the multiplication: divide both sides by a.
Step 4
Write x = (c - b) / a and evaluate.
Step 5
Always check by substituting your x into the original equation.
Real-life examples
Homework check
A student solves 3x + 7 = 25 on paper, gets x = 6, and uses the calculator's substitution check to confirm before handing the work in.
Equation 3x + 7 = 25. Subtract 7 from both sides: 3x = 18. Divide by 3: x = 6.
x = 6.
Splitting a bill equation
A tutor models a taxi fare as 4x + 5 = 33 (a $5 booking fee plus $4 per mile) and solves for the miles x a $33 fare buys.
Equation 4x + 5 = 33. Subtract 5 from both sides: 4x = 28. Divide by 4: x = 7.
x = 7.
Ideas & use cases
- Teach the check habit: solve on paper first, then compare both the answer and the substitution check.
- Model real pricing: booking fee plus per-mile rate is exactly ax + b = c — solve for miles or hours.
- Reverse practice: pick an x, build your own equation, then see whether the steps recover it.
Limitations & sources
- One-variable linear equations in the form ax + b = c only; quadratics, systems, inequalities and x-on-both-sides equations must first be rearranged into this form by hand.
Sources: Inverse-operation method for linear equations: standard algebra texts (e.g. OpenStax Elementary Algebra, solving linear equations)
