Solve for X Calculator
Most “solve for x” problems are linear equations in the form ax + b = c: undo the addition, then undo the multiplication. Enter the three numbers and get x with the steps spelled out.
Results
Formula
How to use this calculator
- Rewrite your equation as ax + b = c (move everything else to the right side).
- Enter a, b and c with their signs.
- Press Calculate and follow the printed steps.
Worked example
Solve 3x + 6 = 21.
- Subtract 6 from both sides: 3x = 15.
- Divide both sides by 3: x = 5.
- Check: 3 × 5 + 6 = 21 ✓.
Result: x = 5.
Frequently asked questions
What if x appears on both sides?
First collect the x terms on one side by adding or subtracting the same term from both sides; the equation then fits the ax + b = c form this calculator solves.
What does it mean if a equals zero?
There is no x term left, so the “equation” is just a statement that is either always true (infinitely many solutions) or false (no solution).
How do I check my answer?
Substitute the value back into the original equation. Both sides should come out equal.
Related calculators
Inequality Calculator
Solve a linear inequality for x, with the sign-flip rule for negative coefficients handled automatically.
MathQuadratic Formula Calculator
Solve any quadratic equation with the quadratic formula.
MathFactoring Calculator
Factor a quadratic expression ax² + bx + c into two binomials and see its roots and discriminant.
MathRREF Calculator
Compute the reduced row echelon form (RREF) of a matrix with Gauss–Jordan elimination, plus its rank.