Free Online Quadratic Formula Solver

A quadratic solver finds the roots of ax² + bx + c = 0 using x = (−b ± √(b² − 4ac)) / 2a, real or complex.

Your data is processed entirely in your browser and never sent to any server.

Instant results 100% private No signup needed
Solving: a·x² + b·x + c = 0

How to Use This Calculator

  1. Enter coefficient a (the x² multiplier).
  2. Enter coefficient b (the x multiplier).
  3. Enter coefficient c (the constant term).
  4. Read the discriminant and the two roots (real or complex).

What Is a Quadratic Formula Solver?

The discriminant Δ = b² − 4ac decides what kind of roots a quadratic has. Δ > 0 gives two distinct real roots, Δ = 0 gives one repeated real root, and Δ < 0 gives a pair of complex conjugate roots of the form a ± bi.

This solver accepts a, b, and c as any real numbers including decimals and negatives. It returns the discriminant alongside the roots. Complex roots are rendered in the standard a + bi form so they can be copied straight into further calculations. When a = 0 the equation degenerates to linear bx + c = 0 and the tool handles that case; when both a and b are zero the result is either trivial (all x are solutions if c = 0) or contradictory.

Quadratics show up in projectile motion, revenue optimisation, and any problem where a function bends. Knowing the roots is often the entire point — they're where the function crosses zero.

Frequently Asked Questions

What is the quadratic formula?
x = (-b ± √(b²-4ac)) / 2a solves ax² + bx + c = 0. The discriminant (b²-4ac) determines root types.
What if the discriminant is negative?
You get two complex roots. We show them in a+bi form.
Can it solve any quadratic?
Yes, for any a, b, c. If a=0, it's linear — we handle that case too.

Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.

Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.

Related Math & Calculators