What is a quadratic formula calculator?
A quadratic formula calculator solves a quadratic equation of the form for its real roots. You enter the three coefficients — the leading coefficient , the linear coefficient , and the constant term — and the calculator returns the discriminant together with the two real solutions and , each rounded to four decimal places.
A quadratic equation is a second-degree polynomial equation, meaning the highest power of the unknown is two. As long as , the equation describes a parabola, and its real roots are exactly the points where that parabola crosses the horizontal axis.
How does it work?
The roots are found with the quadratic formula:
The expression under the square root, , is called the discriminant and is usually written :
The discriminant tells you how many real roots the equation has before you even compute them:
- If , there are two distinct real roots.
- If , there is one repeated real root (the two solutions coincide).
- If , there are no real roots — the solutions are a complex-conjugate pair, so the calculator leaves the root fields empty.
The calculator also requires . When the equation is no longer quadratic but linear, so no quadratic roots are reported.
Worked examples
Example 1 — two roots. Solve , so , , .
This gives and .
Example 2 — a repeated root. Solve , so , , .
Both roots equal , the single point where the parabola touches the axis.
Example 3 — no real roots. Solve , so , , .
Because , there are no real solutions, so the calculator returns only the discriminant and leaves the root fields blank.
Practical notes
Sign matters: enter and exactly as they appear, including the minus sign, so type -3 for in the first example. Results are rounded to four decimal places, which is usually plenty for graphing, physics, and engineering work but means that irrational roots such as are shown as their decimal approximation.
The quadratic formula is closely related to other algebra tools. Once you have the roots you can rebuild the equation in factored form , which connects naturally to a factor calculator. The square-root step at the heart of the formula generalizes the idea behind a cube-root calculator, and the squared terms tie in with raising numbers to powers via an exponent calculator.