Calculator Input
Enter values for the form ax ± b = c. The page keeps a single-column flow, while the calculator fields use a responsive grid.
Formula Used
Two-step equations in this calculator follow the standard form ax ± b = c. The solver reverses the constant operation first, then divides by the coefficient.
Case 1: ax + b = c → ax = c - b → x = (c - b) / a
Case 2: ax - b = c → ax = c + b → x = (c + b) / a
Special case: If a = 0, the equation may have no solution or infinitely many solutions, depending on whether both sides match.
The graph compares the linear expression on the left with the constant value on the right. Their intersection marks the solution.
How to Use This Calculator
- Enter the coefficient that multiplies the variable.
- Choose whether the constant is added or subtracted.
- Enter the constant magnitude and the right-side value.
- Pick the variable symbol and your preferred decimal precision.
- Select decimal, fraction, or both for the final answer format.
- Press Solve Equation to see the result above the form.
- Review the worked steps, verification, and graph.
- Use CSV or PDF export when you want a saved copy.
Example Data Table
| # | Equation | Undo Constant | Divide By | Solution |
|---|---|---|---|---|
| 1 | 3x + 5 = 17 | Subtract 5 | 3 | x = 4 |
| 2 | 4x - 7 = 9 | Add 7 | 4 | x = 4 |
| 3 | -2m + 6 = 0 | Subtract 6 | -2 | m = 3 |
| 4 | 5p - 2.5 = 12.5 | Add 2.5 | 5 | p = 3 |
| 5 | 0y + 5 = 5 | Not needed | Not valid | Infinitely many solutions |
| 6 | 0t + 5 = 8 | Not needed | Not valid | No solution |
Frequently Asked Questions
1. What is a two-step equation?
A two-step equation needs two inverse operations to isolate the variable. A common example is 3x + 5 = 17, where you subtract 5 first and then divide by 3.
2. Why does the solver reverse the constant first?
The constant sits outside the multiplication. Removing that addition or subtraction first keeps the equation balanced and exposes the coefficient attached to the variable for the next step.
3. Can this calculator handle negative coefficients?
Yes. You can enter negative values for the coefficient. The solver will still show the proper inverse steps and the final answer, including verification and graph output.
4. What happens if the coefficient is zero?
If the coefficient is zero, the variable disappears. Then the equation becomes a constant statement. If both sides match, there are infinitely many solutions. If not, there is no solution.
5. Why show both decimal and fraction answers?
Some learners prefer a decimal for quick interpretation, while others want a ratio-style result for exact work. Showing both helps with homework checks and clearer mathematical understanding.
6. What does the graph represent?
The graph plots the left expression as a line and the right side as a horizontal level. Their crossing point shows the x-value that makes both sides equal.
7. Can I use decimals in the inputs?
Yes. The calculator accepts decimals for the coefficient, constant, and right side. You can also control how many decimal places appear in the result and checking steps.
8. Why is checking the solution important?
Substitution confirms the answer truly balances the equation. It helps catch sign mistakes, rounding misunderstandings, and incorrect inverse operations before you move on.