Quadratic Formula Calculator

Math Tools

Quadratic Formula Calculator

Solve quadratic equations of the form ax² + bx + c = 0. Enter a, b, and c to find the discriminant, real roots, repeated roots, or complex roots.

Quadratic Formula Calculator

Solve quadratic equations and find real or complex roots instantly. Enter the values of a, b, and c from ax² + bx + c = 0.

Equation

1x² + -3x + 2 = 0

Result

Discriminant

1

x₁

2

x₂

1

Recommended Math Tool

Want a physical calculator for algebra and exams?

A scientific calculator can be useful for solving equations, checking roots, working with exponents, and practicing algebra away from the screen.

View Scientific Calculator

This section may contain affiliate links.

Rectangular banner showing a scientific calculator used for algebra and quadratic equations

How it works

This calculator solves equations in the form ax² + bx + c = 0 using the quadratic formula. It can return two real roots, one repeated real root, or two complex roots depending on the discriminant.

What is a quadratic formula calculator?

A quadratic formula calculator is a tool that solves quadratic equations in standard form, written as ax² + bx + c = 0. By entering the values of a, b, and c, you can instantly find the roots of the equation without working through each algebra step by hand.

This is useful for students, teachers, exam preparation, homework, algebra practice, and checking answers quickly. It is also helpful when an equation has two real roots, one repeated root, or complex roots.

Quadratic formula explained

The quadratic formula is used to solve any quadratic equation in the form ax² + bx + c = 0, where a is not zero.

Formula

x = (-b ± √(b² - 4ac)) / 2a

In this formula, a, b, and c are the coefficients from the quadratic equation. The value inside the square root, b² - 4ac, is called the discriminant and determines the type of roots the equation has.

Discriminant guide for quadratic equations

The discriminant tells you how many roots the equation has and whether they are real or complex.

Discriminant valueRoot typeMeaning
b² - 4ac > 0Two real rootsThe quadratic equation has two different real solutions.
b² - 4ac = 0One repeated real rootThe quadratic touches the x-axis at one point.
b² - 4ac < 0Two complex rootsThe quadratic has no real x-intercepts and gives complex solutions.

Worked examples using the quadratic formula

These examples show how different coefficient values change the discriminant and the roots.

Equationa, b, cDiscriminantRoot typeRoots
x² - 3x + 2 = 01, -3, 21Two real rootsx = 1, 2
x² - 4x + 4 = 01, -4, 40One repeated real rootx = 2
x² + 2x + 5 = 01, 2, 5-16Two complex rootsx = -1 ± 2i
2x² + 5x - 3 = 02, 5, -349Two real rootsx = 0.5, -3

How to solve a quadratic equation step by step

First, write the equation in standard form: ax² + bx + c = 0. Then identify the values of a, b, and c.

Next, calculate the discriminant using b² - 4ac. This tells you whether the equation has two real roots, one repeated real root, or two complex roots.

Finally, substitute the values into the quadratic formula and simplify. This calculator performs those steps instantly and shows the root type along with the result.

When to use the quadratic formula

The quadratic formula is especially useful when a quadratic equation cannot be solved easily by factoring. It works for all quadratic equations as long as a is not zero.

Students often use it in algebra, pre-calculus, and exam prep. Teachers use it to demonstrate root behavior, and professionals may use quadratic equations in physics, engineering, optimization, and graph analysis.

Common mistakes when using the quadratic formula

One common mistake is entering the wrong signs for b or c. For example, x² - 3x + 2 = 0 means b is -3, not 3. Sign errors can completely change the discriminant and the final roots.

Another mistake is forgetting that a cannot be zero. If a is zero, the equation is not quadratic. It becomes a linear equation instead and should be solved using a different method.

Users also sometimes forget to handle negative discriminants as complex roots. When b² - 4ac is negative, the square root involves the imaginary unit i.

Quadratic formula calculator FAQ and common algebra questions

What is the quadratic formula?

The quadratic formula is x = (-b ± √(b² - 4ac)) / 2a. It is used to solve quadratic equations written in the form ax² + bx + c = 0.

How do you solve a quadratic equation?

Identify a, b, and c, calculate the discriminant b² - 4ac, and substitute the values into the quadratic formula to find the roots.

What does the discriminant tell you?

The discriminant tells you the type of roots. Positive means two real roots, zero means one repeated real root, and negative means two complex roots.

Can a quadratic equation have complex roots?

Yes. If the discriminant is negative, the equation has two complex roots instead of real roots.

What is the standard form of a quadratic equation?

The standard form is ax² + bx + c = 0, where a, b, and c are constants and a is not zero.

What happens if a is zero?

If a is zero, the equation is not quadratic. The quadratic formula should not be used because the equation becomes linear.