Algebra calculator

Quadratic Formula Calculator

Solve quadratic equations instantly. Find real and complex roots, the discriminant, and the vertex of any quadratic function.

Equation solver

Enter the quadratic coefficients

Use standard form, add values for a, b, and c, then calculate roots, discriminant, and vertex details.

  • Real roots
  • Complex roots
  • Vertex
Standard form ax2 + bx + c = 0

Coefficients

Enter any positive, negative, or decimal coefficient. The value of a cannot be 0.

Coefficient of x squared. Cannot be 0.
Coefficient of x.
Constant term.
Result

Quadratic formula results

Your solutions will appear here

Enter your a, b, and c coefficients, then click Calculate to find the roots.

Results are calculated from the quadratic formula and standard vertex formulas. Roundoff may occur for long decimal coefficients.

Guide

Quadratic Formula Calculator Guide

Use this guide to understand how the quadratic formula works, what the discriminant means, and how roots and vertex details describe a parabola.

What is the Quadratic Formula?

The quadratic formula solves equations written in standard form as ax2 + bx + c = 0. It is useful when factoring is difficult or when the roots are decimal or complex values.

Quadratic formula x = (-b +/- sqrt(b^2 - 4ac)) / 2a
aThe coefficient of x2. This value cannot be 0.
bThe coefficient of x in the standard form equation.
cThe constant term in the equation.
DThe discriminant, b2 - 4ac, tells what kind of roots exist.

The plus-minus part creates two roots when the discriminant is positive. If the discriminant is zero, both roots are the same.

Understanding the Discriminant

The discriminant is the expression under the square root: b2 - 4ac. It tells you whether a quadratic equation has two real roots, one repeated real root, or two complex roots.

Positive discriminant

The equation has two real roots and the parabola crosses the x-axis twice.

Zero discriminant

The equation has one repeated real root and the parabola touches the x-axis once.

Negative discriminant

The equation has two complex roots and the parabola does not cross the x-axis.

Example Calculation

For the equation x^2 - 5x + 6 = 0, the coefficients are a = 1, b = -5, and c = 6. The discriminant is positive, so the equation has two real roots.

Equation x2 - 5x + 6 = 0 Discriminant 1 Meaning Two Real Roots Vertex (2.5, -0.25)

Example roots

x = 3 and x = 2 These are the x-values where the equation equals zero.

How to Use This Calculator

  1. 1Write the equation in standard form

    Move all terms to one side so it reads ax2 + bx + c = 0.

  2. 2Enter the value of a

    Use the coefficient of x2. It cannot be 0.

  3. 3Enter b and c

    Add the x coefficient and the constant term, including negative signs.

  4. 4Click Calculate

    Review roots, discriminant meaning, vertex, and axis of symmetry.

  5. 5Check the root type

    Use the discriminant result to know whether the solutions are real or complex.

Standard Form vs. Vertex Form

Standard form is ax2 + bx + c = 0. It is the easiest form for using the quadratic formula because the coefficients a, b, and c are visible.

Vertex form is a(x - h)2 + k. It highlights the vertex of the parabola at (h, k). This calculator starts from standard form, then calculates the vertex using x = -b / 2a and y = f(x).

FAQ

Frequently Asked Questions

Clear answers about discriminants, roots, factoring, standard form, and parabola vertices.

What happens if the discriminant is negative?

If the discriminant is negative, the square root part of the quadratic formula involves a negative number. The equation has two complex roots and no real x-intercepts.

Why can't 'a' equal zero in a quadratic equation?

If a equals zero, the x squared term disappears and the equation is no longer quadratic. It becomes a linear equation in the form bx + c = 0.

What is the difference between finding roots and factoring?

Roots are the x-values that make the equation equal zero. Factoring is one method for finding roots, but the quadratic formula works even when the expression does not factor neatly.

How do I convert a quadratic equation to standard form?

Move all terms to one side of the equation and combine like terms until it is written as ax squared + bx + c = 0. Then enter the a, b, and c coefficients.

What does the vertex of a parabola tell you?

The vertex is the turning point of the parabola. It shows the minimum value when the parabola opens upward and the maximum value when it opens downward.