🇬🇧EN

Quadratic Equation Solver

Solve any quadratic equation — real or complex roots, discriminant and vertex.

a x² + b x + c = 0

—
—discriminant (b²−4ac)
—vertex (x, y)
—nature of roots

✨ What do you want to try next?

You've finished this tool — here are a few you might find useful.

Explore 100+ free toolsPDF, Image, Text, Convert, Calculate and more — all free.View all tools →

About the Quadratic Equation Solver

This solves any quadratic equation of the form ax² + bx + c = 0, giving the roots (the values of x that make it zero), the discriminant, the nature of the roots, and the vertex of the parabola. It's a genuine help for algebra homework, physics problems, and anyone needing to solve or check a quadratic quickly — including the cases where the answers are complex numbers.

How it works — the quadratic formula

It uses the quadratic formula:

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

The part under the root, b² − 4ac, is the discriminant, and it decides the nature of the roots:

  • > 0 → two distinct real roots.
  • = 0 → one repeated real root.
  • < 0 → two complex roots (a real part ± an imaginary part), which the tool shows in p ± qi form.

It also gives the vertex at x = −b⁄2a, the turning point of the parabola.

Assumptions and behaviour

  • The equation must be a quadratic, so a can't be 0 (that would make it linear) — the tool flags this.
  • Complex roots are fully supported and shown when the discriminant is negative.
  • The vertex (x, y) is the minimum or maximum point of the parabola.
  • Coefficients can be decimals or negatives; results are rounded for display.

Limitations

  • It solves quadratics only — second-degree equations. For linear (a = 0) or higher-degree equations (cubics, quartics), it isn't the right tool.
  • Results are numeric, not symbolic — it gives decimal roots, not exact surds like (3 + √5)/2.
  • Floating-point arithmetic can introduce tiny rounding errors, so a discriminant that should be exactly 0 may display as a minuscule value, occasionally affecting which case is reported at the boundary.
  • The equation must already be in standard form ax² + bx + c = 0; rearrange first if needed.

Privacy

The calculation runs entirely in your browser. Nothing is uploaded or stored.

Frequently asked questions

Is this quadratic solver free?

Yes — free, no sign-up, no limits, runs in your browser.

What formula does it use?

The quadratic formula: x = (−b ± √(b² − 4ac)) ⁄ 2a. The discriminant b² − 4ac determines whether the roots are real or complex.

What does the discriminant tell me?

If it's positive there are two real roots; zero means one repeated real root; negative means two complex roots. The tool reports which case applies.

Can it handle complex roots?

Yes. When the discriminant is negative, it shows the two complex roots in the form p ± qi.

Why can't 'a' be zero?

With a = 0 the equation is linear, not quadratic, and the formula divides by 2a. Enter a non-zero 'a', or solve the linear equation separately.

Does it give exact (surd) answers?

No — it gives decimal (numeric) roots. For exact radical forms you'd solve it algebraically by hand.

Is my data uploaded?

No. Everything runs locally in your browser; nothing is sent or stored.

Lakshay Kumar

Written by Lakshay Kumar(TechLakshay)

A QA Automation Engineer by trade, Lakshay's real passion is untangling complex problems into simple, working solutions — which is exactly why FreeMyTask exists. On Instagram, he channels that same instinct into helping 26,000+ content creators with SEO education, motivation, and hands-on query solving.

Last updated: August 22, 2026
🎁