Skip to content
Read full notice

The Calculators House tools are for illustration only. Results are estimates, not financial, tax, medical or legal advice. Statutory rates change; verify figures with a qualified professional before acting on them.

Math

Quadratic Equation Calculator

Solve ax² + bx + c = 0, with the discriminant and the turning point.

Your inputs

Your inputs

Range: -50 to 50; up to 2 integer digits and 6 decimal places. Use at most 15 digits in total.

Range: -50 to 50; up to 2 integer digits and 6 decimal places. Use at most 15 digits in total.

Range: -50 to 50; up to 2 integer digits and 6 decimal places. Use at most 15 digits in total.

Results

Roots

2, 1

Discriminant
1.0000
Roots are
Two distinct real roots
Vertex x
1.5000
Vertex y
-0.2500

This link includes your calculator inputs. Share it only with people or services you trust.

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?

The vertex is the parabola’s minimum when a > 0 and maximum when a < 0. Its x-coordinate is −b/(2a); when the roots are real, this equals their average. The full vertex is not generally the midpoint of the two points on the x-axis: x² − 3x + 2 has roots 1 and 2 but vertex (1.5, −0.25).

What does the i mean in the answer?

It is the imaginary unit, the square root of −1. Complex roots always come in pairs that differ only in the sign of the imaginary part, which is what the ± shows.

Related calculators

View all

Ready to start calculating?

Free tools with no sign-up. Calculations run on your device; shared links include your inputs.

Explore all calculators