Skip to content
RK Calculator
Menu

Quadratic Formula Calculator

Solve ax² + bx + c = 0 exactly: rational, surd and complex roots, with the discriminant and vertex.

Change the values and press Calculate to work out your own figures.

Enter a, b and c (fractions allowed).

About aCoefficient of x².
About bCoefficient of x.
About cConstant term.
Result
Roots
x = -2/3, x = -2
Decimal
x = -0.666666666667, x = -2
Discriminant b² − 4ac
16 (two rational roots)
Vertex
(-4/3, -4/3)
Axis of symmetry
x = -4/3

3x^2 + 8x + 4 = 0 has two rational roots: x = -2/3, x = -2.

Show the working
  1. x = (−b ± √(b² − 4ac)) ÷ 2a
  2. b² − 4ac = 16
  3. x = -2/3, x = -2

How to use it

Enter a, b and c (fractions allowed).

Number boxes accept whole numbers, decimals, fractions (3/4), powers (2^10), roots (sqrt(2)) and the constants pi and e. Show the working lists the steps.

Key facts

x = (−b ± √(b² − 4ac)) ÷ 2a

The discriminant

b² − 4ac > 0: two real roots; = 0: one; < 0: two complex roots.

Questions

Roots of 3x² + 8x + 4?

−2/3 and −2.

What if a = 0?

It isn't quadratic; solve bx + c = 0 instead.

Formulas

x = (−b ± √(b² − 4ac)) ÷ 2a

Sources

Limitations

  • Expressions up to 500 characters; matrices up to 10 × 10.
  • Big-number results up to 100,000 digits; factorials up to 10,000!.
  • Numbers in words up to 10^102 (short scale).

Formula version 0.1.0Reviewed