Math
Quadratic Equation Calculator
Solve ax² + bx + c = 0, with the discriminant and the turning point.
How is this calculated?
The quadratic formula gives the roots as (−b ± √(b² − 4ac)) ÷ 2a. The part under the square root is the discriminant, and its sign decides what kind of roots you get.
A positive discriminant means the parabola crosses the x-axis twice, zero means it just touches, and a negative one means it never does — the roots are then a complex pair, shown here rather than dismissed as no solution.
Worked examples
These are the tool’s initial inputs for United States, using model version 2. The results below are calculated from those inputs; they are an illustration, not a personal recommendation.
Inputs
- a
- 1
- b
- -3
- c
- 2
Results
- Roots
- 2, 1
- Discriminant
- 1.0000
- Roots are
- Two distinct real roots
- Vertex x
- 1.5000
- Vertex y
- -0.2500
Change one input at a time and compare the result. Rounding can make displayed totals differ slightly; formulas use the underlying numbers.
The formula applies to the input domain shown by the tool. Undefined ratios, invalid dimensions and non-finite results should be corrected rather than interpreted as zero.
Frequently asked questions
What does the vertex tell me?
What does the i mean in the answer?
Related calculators
- Exponent CalculatorPowers, roots and logarithms, with the inverse of each.
- Right Triangle CalculatorHypotenuse, area, perimeter and angles from the two shorter sides.
- Statistics CalculatorMean, median, mode, range and standard deviation for a set of numbers.
- Ratio CalculatorSimplify a ratio, convert it to a decimal or a percentage, and scale it up.
- Area CalculatorArea and perimeter for rectangles, triangles, circles and more.
- Volume CalculatorVolume and surface area for boxes, cylinders, spheres and cones.
Ready to start calculating?
Free tools with no sign-up. Calculations run on your device; shared links include your inputs.
