Real-domain quadratic formula

Quadratic Equation Solver

Use this quadratic equation calculator to solve a one-variable equation with the quadratic formula. See the discriminant, exact real roots, and checked steps.

Recent problems and practice On this device

Your practice

0 due

This browser keeps your 20 most recent quizzes and the questions you missed. No sign-in needed.

Solve a problem, then choose Four-question quiz.

    Enter a problem

    Typed solving is free
    Try
    Input help

    Enter one problem at a time. Browse supported topics and limits.

    Use parentheses to show what belongs in a fraction. Type (x+1)/3 to divide the whole numerator by 3. For a square root, type sqrt(9).

    For a system, put each of two equations on its own line or separate them with a semicolon.

    Drafts stay in this tab for up to 24 hours. Select Clear to remove your draft.

    Sign in to use photo, PDF, drawing, or Describe. A usable result uses one assisted credit.

    Steps
    Checked calculations
    Maximum degree
    2
    Variables
    One letter
    Method promised
    Quadratic formula

    The supported quadratic form

    A quadratic equation can be rearranged into the form below, with a nonzero value for a. The discriminant determines how many real roots the equation has.

    Standard form

    ax2+bx+c=0ax^2+bx+c=0x=−b±b2−4ac2ax=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

    The discriminant shows whether there are two distinct real roots, one repeated real root, or no real roots.

    A concrete example

    For x² − 5x + 6 = 0, the coefficients are a = 1, b = −5, and c = 6. The discriminant is 1, so the formula gives the two real roots x = 2 and x = 3.

    Two more verified outcomes

    x2−2x+1=0⇒x=1x^2-2x+1=0\quad\Rightarrow\quad x=1x2+1=0⇒extnorealsolutionx^2+1=0\quad\Rightarrow\quad ext{no real solution}

    The first has one repeated real root. The second has a negative discriminant, so it has no solution in the solver's real-number domain.

    What is not promised

    • Complex-number roots when the discriminant is negative.
    • Factoring mode works on expressions. To solve through a square, choose Complete square in the solver.
    • Graph-derived root verification.
    • Higher-degree polynomials or equations with multiple variables.

    Separate tools: The browser graph can visualize y = ax² + bx + c. It is intentionally separate from the verified solver and should be treated as a visual aid.

    Check both roots in the original equation

    Substitute each returned root into the original quadratic; both sides should match. Our substitution guide demonstrates the checking habit on a linear equation. To inspect a dropped sign or arithmetic slip before the answer, use the line-by-line algebra guide.

    Questions

    Quadratic equation FAQ

    Which quadratic equations are supported?

    Enter a degree-two equation in one variable over the real numbers. The calculator uses the quadratic formula and checks the answer.

    What happens when the discriminant is negative?

    The current solver domain is real numbers. A negative discriminant has no real roots; this page does not claim complex-number solving.

    Does the quadratic solver show factoring or a graph?

    This page starts with the quadratic-formula route. You can choose Complete square in the solver for that verified method, or use the factoring calculator for a supported expression. The graph is a separate visual aid.

    Try a typed quadratic

    Enter an equation such as x² − 5x + 6 = 0 and select Solve to follow the calculation.

    Solve another problem