Powers with exact big results, nth roots and simplest radical form
Quadratic Equation Solver
Solve any quadratic, see the discriminant and get exact roots with the full working.
Loading tool…
How to use quadratic equation solver
Enter a, b and c. Fractions such as 1/2 and decimals work.
Read the type of roots from the discriminant.
See the roots in exact form (fraction or surd) and as decimals.
Check the vertex, axis of symmetry and the step by step working.
What this tool does
- Exact discriminant and exact rational roots using fractions.
- Simplest surd form such as (2 +/- sqrt(10)) / 2 for whole-number coefficients.
- Complex roots with real and imaginary parts when the discriminant is negative.
- A numerically stable formula, so roots stay accurate when b is huge compared with a and c.
- Handles a = 0 as a linear equation instead of failing.
How the result is verified
The last step checks Vieta's formulas: the roots must add up to -b/a and multiply to c/a. Substituting a root back into ax^2 + bx + c gives 0 (or very close for decimal roots).
Frequently asked questions
What does the discriminant tell me?
D = b^2 - 4ac. If D is positive there are two different real roots, if it is 0 there is one repeated root, and if it is negative the roots are a pair of complex numbers. If D is a perfect square the real roots are rational.
Why not just use the usual formula?
When b^2 is much larger than 4ac, -b + sqrt(D) subtracts two almost equal numbers and loses most of its digits in floating point. The tool computes the larger root first and gets the other from c / q, which keeps full accuracy.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Trig, logs, powers and factorials with memory, history and keyboard input
Exact fraction and mixed number maths with steps and repeating decimals
log in any base, ln, log10 and log2, antilog, with exact checks