Equation Solver
Solve linear equations step by step
Try these examples:
Supports linear equations with variable x
Related Tools You Might Like
Basic Calculator
Standard calculator for basic arithmetic operations
Percentage Calculator
Calculate percentages, ratios, and percentage changes
Compound Interest
Calculate wealth growth over time with compound interest and visualizations
Debt Payoff Calculator
Compare Avalanche vs Snowball methods with interactive payoff charts
Quadratic Equation Solver
Solve quadratic equations and find roots instantly
Matrix Calculator
Perform matrix operations like addition, multiplication, and inverse
Using the quadratic formula without sign mistakes
Any equation shaped ax squared plus bx plus c equals zero can be solved by formula. No factorising, no guessing, no special cases.
The formula needs three numbers with their signs intact: a, b and c. Nearly every wrong answer we see comes from a sign, usually a negative b that lost its minus while being copied.
Write each coefficient down with its sign before substituting anything. It feels like a wasted step and it removes the single most common error in school algebra.
What the discriminant tells you before you solve for x
The discriminant is b squared minus four ac — the expression under the square root. Computing it first saves effort.
Positive means two distinct real solutions. Zero means one repeated solution. Negative means none in the real numbers, because you would be taking the square root of a negative.
That last case is not a failure. In a physics problem it often means the thing you asked about never happens: the ball never reaches that height, the break-even point is never crossed. The algebra is telling you something true.
How a linear equation differs from a quadratic
A linear equation has x to the first power only, so its graph is a straight line and it has exactly one solution.
Quadratics include x squared. The graph is a parabola, it can cross the x-axis twice, touch it once, or miss it entirely, which is why the number of solutions varies.
Worth checking before you start: an equation that looks quadratic may not be. If the x squared terms cancel when you simplify, a is zero, the quadratic formula divides by zero, and you should have solved it as a linear equation instead.
Checking a result instead of trusting it
Substitution is the only check worth doing. Put your answer back into the original equation and see whether both sides match.
This catches the errors a solver cannot. If you typed a coefficient wrongly, the tool solves the equation you entered perfectly and gives you an answer to the wrong question. Substituting into the equation as written exposes that at once.
For a quadratic, both roots should satisfy it. If one works and the other does not, the arithmetic went wrong somewhere in the formula rather than in the setup.
How to use the Equation Solver
- Rearrange your equation so one side equals zero.
- Enter the coefficients, keeping the signs exactly as they appear.
- Solve, then read the working rather than only the answer.
- Check the discriminant to understand why you got one, two or no real solutions.
- Substitute your answer back into the original equation to confirm it.
What this tool handles
Linear and quadratic
Single-variable equations of first and second degree.
Working shown
The steps, not just the result, so you can check your own method.
Discriminant explained
Says why an equation has two roots, one, or none in the reals.
Runs in your browser
No network request, verifiable in the developer tools network panel.
