Skip to content
Calcora

Quadratic Equation Calculator

Real roots of ax^2 + bx + c = 0.

Input sheet

Browse DIY guidesDo the project yourself, step by step

DIY at your own risk. Calcora's calculators and guides are general estimates and information only — not professional, engineering, legal, or safety advice. Always verify local building codes and permit requirements, and hire a licensed pro for electrical, gas, plumbing, structural, or any work you're not fully comfortable doing yourself.

Quadratic equations describe projectile paths, profit-maximizing prices, and many geometry problems. This solves ax² + bx + c = 0 for its real roots using the quadratic formula.

How it works

Quadratic formula: x = (−b ± sqrt(b² − 4ac)) ÷ 2a. The discriminant decides if roots are real.

The discriminant, b² − 4ac, tells you what to expect before solving: positive means two distinct real roots, zero means one repeated root, and negative means the roots are complex (this tool reports no real roots in that case).

The two roots are where the parabola crosses the x-axis. The leading coefficient a sets whether the parabola opens upward (a > 0) or downward (a < 0); if a is zero the equation is not quadratic at all.

x = (−b ± square root of (b² − 4ac)) ÷ (2a)

Worked examples

Tips & gotchas

FAQ

What is the discriminant and why does it matter?

It is b² − 4ac. Positive gives two real roots, zero gives one repeated root, and negative means the roots are complex with no real solution.

What if my equation has no real roots?

The parabola never crosses the x-axis. The solutions are complex numbers involving the square root of a negative, which this tool reports as 'no real roots.'

Can I always factor instead of using the formula?

Only when the roots are nice numbers. The quadratic formula works for every quadratic, including those that do not factor neatly.

Related calculators

Percentage Calculator · Percent Change Calculator · Average (Mean) Calculator · Ratio Calculator · Exponent Calculator