Calculators
A quadratic formula calculator: enter a, b, and c and get the discriminant and both roots of ax² + bx + c = 0, with the three cases explained.
Enter a, b, c from ax² + bx + c = 0, then click Calculate.
Enter three numbers, click Calculate. This quadratic formula calculator returns the discriminant and both roots instantly, right on the page.
One habit before typing: rewrite the equation with zero alone on one side, in the shape . is already there; an equation like must first become before a, b, and c can be read off.
This page is more than a static quadratic formula calculator — it is also an AI tutor you can ask questions:
Every quadratic equation yields to one formula — no guessing, no trial values, no waiting for a factor to appear:
Read the formula as a recipe: flip the sign of , add or subtract the square root of the discriminant, and divide the whole numerator by . The is why a quadratic can have two roots — one answer rides the plus, the other the minus.
The formula is not handed down from nowhere: it is what completing the square does to once, in general, so you never have to do it again for each equation. What matters for homework is simpler — it always works. Every quadratic, every set of coefficients, same one line. The quadratic formula calculator above is that line at one click, and the examples below walk it by hand.
Before touching the formula, compute . The discriminant alone tells you how many real roots are waiting — which is why the quadratic formula calculator prints it first.
Checking the discriminant first is free and saves work: if a classmate's answer to a equation is a real number, something went wrong before the formula was ever applied. Compute , name the case, then run the formula.
Solve with the quadratic formula — the values preloaded in the quadratic formula calculator above, so every line below can be checked with one click.
Both roots are negative here, which is worth a second's thought: the parabola opens upward, crosses the x-axis twice to the left of zero, and dips below the axis between the roots.
For an exact answer, stop one step earlier and keep the radical: . The decimals and are what the quadratic formula calculator reports, rounded to four places; the radical form is what a textbook answer key usually wants. Type 2, 8, 3 into the calculator above and both forms trace back to the same .
Solve . Here , , — watch the signs: b is negative because the x-term reads minus 6x.
So the equation has exactly one solution, , counted twice. The structure behind it: is the perfect square , and the equation says — which pins to 3 and nothing else. Graphically, the parabola does not cross the x-axis; it touches it at the single point and bounces off.
A zero discriminant is not a failure — it is information. It tells you the quadratic is a perfect square before you ever try to factor it, and it warns that any classmate reporting two answers here has copied one of them wrong. The quadratic formula calculator above prints first for exactly this reason: name the case, then believe the roots.
Give factoring ten seconds before reaching for the formula. Some quadratics split on sight:
Two numbers that multiply to and add to are and , so becomes . The zero product property finishes the job: or . No square roots, no decimals, two lines of work.
When does factoring win? When the discriminant is a perfect square — integer roots are waiting, and factoring finds them whole. When it is not, as with in Example 1, whole-number factoring is impossible and the formula is the only road.
The honest division of labor: try factoring for ten seconds; reach for the formula the moment it stalls. The formula is the universal fallback — it never fails, never minds fractions, and never cares whether the quadratic was built to factor nicely. The quadratic formula calculator above plays that fallback at one click, and it stays impartial about which route tonight's homework needed.
Four slips the quadratic formula calculator catches every day:
One habit catches all four: substitute each root back into and watch both sides agree. The quadratic formula calculator above never skips that check — neither should your notebook.
Solve x² - 5x + 6 = 0 by factoring, then confirm both roots with the quadratic formula calculator above.
Solve x² + 4x + 5 = 0 with the quadratic formula. Compute the discriminant first, name the case, and check what the quadratic formula calculator above reports.
x = (-b ± √(b² - 4ac)) / (2a) — the formula that solves every quadratic ax² + bx + c = 0. The ± sign produces two branches, which is why a quadratic can have two roots. Enter a, b, c above and the quadratic formula calculator runs both branches for you.
The discriminant D = b² - 4ac counts the real roots before you compute them. D > 0 means two different real roots, D = 0 means one repeated root, and D < 0 means no real roots. The quadratic formula calculator prints D first so you can name the case before reading the roots.
Then the equation has no real roots — no real number squared is negative, so the square root of D does not exist on the number line. For x² + 4x + 5 = 0, D = 16 - 20 = -4 and the honest answer is no real roots. Over the complex numbers two roots exist; the quadratic formula calculator reports the real case instead of inventing decimals.
No — only the ones whose roots are rational. x² - 5x + 6 = (x - 2)(x - 3) factors on sight, but 2x² + 8x + 3 = 0 has D = 40, not a perfect square, and will not factor over whole numbers. That is exactly why the quadratic formula exists: it is the fallback that always works.
The equation stops being quadratic. ax² + bx + c = 0 with a = 0 leaves bx + c = 0 — a linear equation with the single root x = -c/b, and the formula's 2a denominator would be zero anyway. Check for an x² term before typing coefficients into the quadratic formula calculator.