Quadratic Equation Solver

Solve ax²+bx+c=0 with steps

Quadratic Equation Solver — free online tool

🔒 In-browser · Method · · Disclaimer · Quadratic Equation Solver

Working out how to solve ax²+bx+c=0 with steps is easier with Quadratic Equation Solver, which answers as you type. You supply a, b and c to Quadratic Equation; the answer follows at once. Quadratic Equation puts the headline number first. Quadratic Equation works for one check or many. Quadratic Equation runs in your browser. Math data stays in the tab. Quadratic Equation handles quadratic equation solver with steps the same way as solve quadratic equations by factoring calculator — one of the Math tools on CalcProMaster. Quadratic Equation shows formula, assumptions and result together. Start with Quadratic Equation; the first number takes seconds.

What the defaults give

x² − 5x + 6 = 0 has roots x = 3 and x = 2, with a discriminant of 1.

A discriminant of 1 is a perfect square, so both answers are whole numbers and the expression factors cleanly as (x − 3)(x − 2).

See the roots on a graph

A quadratic ax² + bx + c = 0 has roots where the parabola crosses the x-axis. The discriminant b² − 4ac decides how many: positive gives two real roots, zero a repeated root, negative none.

For x² − 2 = 0 the roots are x = ±√2 ≈ ±1.414 — exactly where the curve meets the axis. Plot it with our free function grapher: type x^2 - 2 and watch where it crosses zero. Related: completing the square and cubic equation solver.

The formula

x = (−b ± √(b² − 4ac)) ÷ 2a

Everything hinges on the part under the root, D = b² − 4ac. Positive means two real roots, zero means one repeated root, negative means the two solutions are complex conjugates. For the default, D = 25 − 24 = 1 and √1 = 1, so x = (5 ± 1)/2 gives 3 and 2.

Worked examples

x² − 5x + 6 → 3.0000 and 2.0000, D = 1
0.5x² − 5x + 6 → 8.6056 and 1.3944, D = 13
2x² − 5x + 6 → complex roots, D = −23
x² − 10x + 6 → 9.3589 and 0.6411, D = 76
x² − 5x + 3 → 4.3028 and 0.6972, D = 13
x² − 5x + 12 → complex roots, D = −23

Halving a from 1 to 0.5 widens the parabola and pushes the roots far apart, because the denominator 2a shrinks while the discriminant grows from 1 to 13. Doubling a to 2 does the opposite and overshoots: the vertex rises above the axis and both solutions become complex.

Reading D before solving

Check D first and you know what kind of answer to expect. In the table above, every complex case has a negative D and every pair of real roots has a positive one. A D of exactly zero would mean the two roots coincide — the curve just touches the axis — and the formula still returns that single value twice.

The ± is not optional. Dropping one sign gives a single root and hides half the solution; the two answers are symmetric about −b/2a, which is the axis of symmetry of the parabola. For the default that axis is x = 2.5, and 3 and 2 sit either side of it.

Roots are not always tidy. An irrational D such as 13 produces the long decimals above, and rounding them too early changes a later check — substituting 8.61 back into 0.5x² − 5x + 6 gives a small residual rather than zero. The tool prints four decimal places so that residual stays small enough to see.

When a is zero the equation is linear, not quadratic, and the formula divides by zero. The page returns a complex-root message only for a genuinely negative discriminant; a zero leading coefficient is not a quadratic at all.

Frequently Asked Questions

What are the roots of x² − 5x + 6?

3 and 2. The discriminant is 25 − 24 = 1, and (5 ± 1)/2 gives both answers directly.

What does the discriminant tell you?

D = b² − 4ac. Positive gives two real roots, zero gives one repeated root, negative gives a pair of complex conjugates.

Why did 2x² − 5x + 6 give no real answer?

Its discriminant is −23. The parabola never touches the x-axis, so the solutions exist only in the complex numbers.

Why are there two answers?

The ± sign produces one root with the square root added and one with it subtracted. Both satisfy the equation.

Can I use this when a is negative?

Yes. The formula holds for any non-zero a; a negative a flips the parabola to open downward, which changes where the vertex sits but not the arithmetic.

About CalcProMaster calculators

CalcProMaster is a free library of 1285 online calculators across 20 categories — finance, health, math, business, construction, engineering, conversion, education and more. Every calculator runs entirely in your browser: no sign-up, no paywall, and no data leaves your device.

What makes these calculators different is transparency. Each tool shows the exact formula it uses. It also shows a step-by-step breakdown of how your inputs become the result. That way you can check the math instead of trusting a black box. Every calculator page explains how to read the result. It also lists common mistakes, assumptions and limitations. An FAQ sits with every one, and the most-used tools add a worked example. Health and finance tools name the formula they follow. Calorie needs use Mifflin-St Jeor. Loans use standard amortization. Each page says plainly when an answer should be confirmed with a professional.

The guides library goes deeper on the calculations people search for most. It covers percentage and discount math, loan EMI and amortization, income-tax brackets, calorie and macro planning, and concrete volumes. Each guide gives the formula, worked examples and links to the matching calculator. The glossary defines the terminology in plain language. The public formula QA dashboard shows the verification status of every calculator's math.

Popular starting points: loan EMI calculator, BMI calculator, percentage calculator, random number generator, and concrete calculator. You can also browse a category above to find the tool you need.

↑ ↓ navigate↵ openesc close