GUIDES & EDUCATIONAL ARTICLES July 13, 2026 · 9 Min Read

Quadratic Equation Solver – Solve Equations with Steps

Free online quadratic equation solver to compute real and complex roots.

The quadratic equation is one of the most fundamental formulas in algebra, appearing in fields as diverse as physics, engineering, economics, and computer science. Any equation that can be written in the standard form ax² + bx + c = 0, where a, b, and c are constants and a does not equal zero, is a quadratic equation. Solving it means finding the values of x that make the equation true, and those values are called roots or solutions. A quadratic equation solver computes these roots instantly and shows you the step-by-step process, making it an invaluable learning tool for students and a time-saving resource for professionals.

Key Takeaway

The quadratic formula x = (-b ± √(b² − 4ac)) / 2a solves any quadratic equation. The expression under the radical, called the discriminant (b² − 4ac), determines whether the equation has two distinct real roots, one repeated real root, or two complex roots.

The Quadratic Formula Explained

The quadratic formula is derived by completing the square on the general quadratic equation ax² + bx + c = 0. The resulting formula, x = (-b ± √(b² − 4ac)) / 2a, provides a direct path to both solutions without requiring trial and error or factoring.

The discriminant, b² − 4ac, is the key to understanding what type of solutions you will get. If the discriminant is positive, there are two distinct real roots. If the discriminant is zero, there is exactly one repeated real root (the parabola touches the x-axis at its vertex). If the discriminant is negative, there are no real roots; instead, there are two complex roots involving the imaginary unit i. For example, solving x² + 5x + 6 = 0 gives a discriminant of 25 − 24 = 1, which is positive, yielding two real roots: x = −2 and x = −3.

Methods Beyond the Quadratic Formula

While the quadratic formula is the most universal method, factoring is often faster when the roots are integers or simple fractions. For example, x² − 5x + 6 = 0 factors to (x − 2)(x − 3) = 0, immediately revealing roots of 2 and 3. Factoring works well when the leading coefficient is 1 and the constant term has a small number of factor pairs to test.

Completing the square is another method that is particularly useful when the quadratic is in vertex form or when you need to derive the vertex of a parabola. This technique transforms the equation into the form (x + p)² = q, from which you can take the square root of both sides to solve for x. While more tedious than the quadratic formula for arbitrary equations, completing the square builds deep algebraic intuition about the structure of quadratic functions.

For numerical applications, the Newton-Raphson method provides an iterative approach to finding roots of any differentiable function, including quadratics. Starting from an initial guess, the method uses the function's derivative to converge rapidly on a root. This technique is widely used in computer algorithms and engineering software where analytical solutions are impractical.

Real-World Applications of Quadratic Equations

Quadratic equations model a wide range of physical phenomena. In physics, the trajectory of a projectile under gravity follows a parabolic path described by a quadratic equation. An object thrown upward at an initial velocity v from height h obeys the equation h(t) = −16t² + vt + h (in feet), and solving for when h(t) = 0 tells you when the object hits the ground.

In business and economics, quadratic equations model profit functions where revenue and cost are both functions of quantity produced. Finding the quantity that maximizes profit involves finding the vertex of a downward-opening parabola. In engineering, quadratic equations appear in circuit analysis, structural load calculations, and fluid dynamics. A reliable quadratic equation solver with step-by-step output helps you verify solutions and understand the mathematical reasoning behind each result.