Loading…

Quadratic Equation Solver

Math Algebra • Equations

View all topics

Solve quadratic equations by factoring, completing the square, and the quadratic formula. The calculator analyzes the discriminant, shows real or complex roots, finds the vertex, and graphs the parabola.

Standard form: \(ax^2+bx+c=0\) Discriminant: \(D=b^2-4ac\) Formula: \(x=\frac{-b\pm\sqrt{D}}{2a}\) Sample: \(2x^2-7x+3=0\)

Input mode

Quadratic equation

You can type 2x^2 - 7x + 3 = 0, (x - 3)(2x - 1) = 0, or x² - 4x + 4 = 0. This tool supports one variable and powers up to \(x^2\).

Coefficients

Coefficients may be integers, decimals, or fractions, such as 2, -7, 0.5, or 3/4. The value of a cannot be 0 for a true quadratic equation.

Graph settings

Graph interaction: drag the parabola left/right to pan, use the mouse wheel or trackpad to zoom, pinch with two fingers on touch screens, or use the arrow and +/- buttons.

Quick examples

Ready
Enter a quadratic equation, then click “Solve quadratic”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What are the roots of 2x^2 - 7x + 3 = 0?

The discriminant is 25, so there are two real roots. The roots are x = 3 and x = 1/2.

What is the quadratic formula?

For ax^2 + bx + c = 0, the quadratic formula is x = (-b ± sqrt(b^2 - 4ac))/(2a).

What is the discriminant?

The discriminant is D = b^2 - 4ac. It tells whether a quadratic has two real roots, one real double root, or complex roots.

What happens when D is greater than 0?

When D > 0, the quadratic has two distinct real roots and the parabola crosses the x-axis twice.

What happens when D equals 0?

When D = 0, the quadratic has one real double root and the parabola touches the x-axis at the vertex.

What happens when D is less than 0?

When D < 0, the quadratic has two complex conjugate roots and no real x-intercepts.

Can this calculator solve complex roots?

Yes. When the discriminant is negative, it returns roots in complex conjugate form.

Can I enter a full equation instead of coefficients?

Yes. You can enter equations such as 2x^2 - 7x + 3 = 0 or (x - 3)(2x - 1) = 0.

What is the vertex of a quadratic?

The vertex is the turning point of the parabola. Its x-coordinate is h = -b/(2a), and its y-coordinate is k = f(h).

What is completing the square?

Completing the square rewrites a quadratic into perfect-square form, which leads to vertex form and can also be used to derive the quadratic formula.