Home Math Quadratic Formula Calculator

Quadratic Formula Calculator

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

Advertisement

How it works

Put the equation in the form ax² + bx + c = 0. The discriminant b² − 4ac tells you how many real solutions there are: positive gives two, zero gives one, negative gives none.

Advertisement

Formula

x = (−b ± sqrt(b² − 4ac)) ÷ 2a.
Vertex x = −b ÷ 2a.

Example

Worked example: x² − 3x − 4 = 0, so a = 1, b = −3, c = −4. Discriminant = 9 + 16 = 25. x = (3 ± 5) ÷ 2, so x = 4 or x = −1. Vertex is (1.5, −6.25).

Frequently asked questions

What if a is zero?

Then it is a straight line, not a quadratic.

What does a complex answer mean?

The curve never crosses the x axis.

Advertisement

Related calculators

Percentage Calculator

Find a percent of a number, what percent one number is of another, and percent change, all at once.

Fraction Calculator

Add, subtract, multiply and divide fractions, with the answer simplified.

Scientific Calculator

Online scientific calculator with trig, logs, powers, roots, factorial and degree or radian mode.

Slope Calculator

Slope, line equation, distance and midpoint from two points.