Quadratic Equation Calculator

Solve equations of the form ax² + bx + c = 0, calculate the discriminant, find the roots, and see a step-by-step explanation.

Enter coefficients

Education
a·x² + b·x + c = 0
Examples of quadratic equations

Result

CalcCore
Enter coefficients and click “Calculate”.

Quadratic Equation Calculator — How It Works

This calculator helps you solve quadratic equations in the form ax² + bx + c = 0. It automatically calculates the discriminant, determines the number of roots, and shows a step-by-step solution.

Quadratic Equation Form

The standard form is: ax² + bx + c = 0, where a ≠ 0.

Discriminant

To find the roots, first calculate the discriminant:

The value of the discriminant determines the number of real solutions.

Quadratic Formula

If D ≥ 0, the roots are found using:

Example

For the equation x² − 3x + 2 = 0:

When not to use this calculator

If a = 0, the equation is no longer quadratic. In that case, you should use a linear equation solver.

Frequently Asked Questions

What is a quadratic equation?

It is an equation in the form ax² + bx + c = 0, where a ≠ 0.

What does the discriminant show?

The discriminant shows how many real roots the equation has: two, one, or none.

What if D is less than zero?

Then the equation has no real roots. If needed, it can be solved in complex numbers.

Why can’t a be zero?

Because then the ax² term disappears and the equation becomes linear, not quadratic.

Does the calculator show steps?

Yes, it shows substitution into the discriminant formula and the root formulas.

Can I enter decimal numbers?

Yes, both integers and decimal coefficients are supported.