Algebra

Quadratic Formula Step-by-Step Solver

Type the coefficients, including fractions or decimals, and follow the full working: the discriminant, simplifying the square root, exact answers like (3 ± √5)/2 and their decimal values.

-
Step-by-step solution

    Runs entirely in your browser. Nothing is uploaded to any server.

    Why use this quadratic solver

    Learn the method

    Each line of the working is written out like a worked example.

    Exact answers

    Simplified radicals and fractions, not just decimals.

    Any coefficients

    Whole numbers, decimals and fractions like 3/4.

    How to solve a quadratic with the formula

    1. Enter a, b and cFrom your equation in the form ax² + bx + c = 0.
    2. Follow the stepsDiscriminant, substitution, simplifying the square root.
    3. Check the answerCompare exact and decimal roots and see them on the graph.

    Understanding the quadratic formula

    Every quadratic equation ax² + bx + c = 0 with a ≠ 0 can be solved with x = (−b ± √(b² − 4ac)) / (2a). The expression under the square root, Δ = b² − 4ac, is called the discriminant and tells you what kind of roots to expect before you finish the calculation.

    When all coefficients are fractions or whole numbers, the solver first scales the equation to whole numbers. That keeps the exact answer simple: perfect-square discriminants give rational roots, other positive discriminants give simplified radicals such as 3√2, and negative discriminants give complex roots with i.

    Δ > 0

    Two different real roots: the parabola crosses the x-axis twice.

    Δ = 0

    One repeated root: the vertex touches the x-axis.

    Δ < 0

    Two complex roots: the parabola never meets the x-axis.

    Quadratic formula FAQ

    Can I enter fractions?

    Yes. Type values such as 3/4 or -5/2, or decimals such as 0.25. The exact answer is still given as simplified fractions and radicals.

    What if a is zero?

    Then the equation is linear, bx + c = 0, and the solver gives its single solution x = −c/b.

    How is the square root simplified?

    The largest perfect square factor is taken out. For example √72 = √(36 × 2) = 6√2.

    Why are the decimal roots computed differently?

    For accuracy, the decimal roots use a numerically stable form of the formula that avoids subtracting two nearly equal numbers.

    What are Vieta's formulas?

    For ax² + bx + c = 0 the roots add up to −b/a and multiply to c/a, which is a quick way to check your answer.

    Try other math tools

    More free tools from My Panda Toolbox.