Quadratic Equation Solver

Solve quadratic equations of the form ax² + bx + c = 0 instantly. Our advanced calculator finds real and complex roots, provides step-by-step solutions, and visualizes the parabola graph with vertex, axis of symmetry, and intercepts.

ax² + bx + c = 0
Cannot be 0

Your Equation

Solutions

x₁ =
x₂ =
Discriminant (Δ) =

Step-by-Step Solution

Parabola Graph

Parabola
Roots
Vertex

Parabola Properties

Vertex
-
Axis of Symmetry
-
Y-Intercept
-
Opens
-

Understanding Your Solution


What is a Quadratic Equation?

A quadratic equation is a second-degree polynomial equation written in a single variable. It always takes the standard form:

ax² + bx + c = 0

The word “quadratic” comes from the Latin quadratus, meaning “square” — referring to the x² term that defines the equation. Unlike linear equations, which produce a straight line, a quadratic equation produces a curved graph called a parabola.

Where each coefficient plays a distinct role:

  • a — the leading coefficient of x². It must never equal zero (if it did, the equation would become linear). The sign of a determines whether the parabola opens upward (a > 0) or downward (a < 0), and its magnitude controls how narrow or wide the curve is.
  • b — the coefficient of x. It controls the horizontal shift of the parabola’s axis of symmetry. A larger |b| shifts the vertex further from the y-axis.
  • c — the constant term. This is the y-intercept of the parabola — the exact point where the curve crosses the vertical axis when x = 0.

Quadratic equations appear across virtually every field of mathematics, science, and engineering. In physics, the trajectory of any projectile under gravity is modeled by a quadratic equation. In finance, break-even analysis and profit maximization often reduce to solving ax² + bx + c = 0. In engineering, structural load calculations, signal processing, and circuit design all rely on quadratic relationships. Even simple everyday problems — like calculating the area of a room given its perimeter — often require a quadratic equation solver.

Our quadratic equation calculator handles all these cases instantly, whether your roots are integers, fractions, irrational numbers, or complex numbers.


The Quadratic Formula — Explained Step by Step

The most universal method for solving any quadratic equation is the quadratic formula. Regardless of whether the equation is factorable or not, this formula always delivers the solution:

x = (-b ± √(b² – 4ac)) / (2a)

This formula is derived by completing the square on the general form ax² + bx + c = 0. Here is exactly what each part means:

  • −b — negating the middle coefficient shifts the equation toward its center of symmetry.
  • ± — the plus-or-minus symbol is why quadratics have two solutions. It produces x₁ (using +) and x₂ (using −).
  • √(b² − 4ac) — the square root of the discriminant. This is the part that determines whether roots are real or complex. When negative, the square root produces imaginary numbers.
  • 2a — dividing by twice the leading coefficient scales the result correctly. This is also the denominator in the axis-of-symmetry formula x = −b/(2a).

Our quadratic formula calculator applies this formula automatically the moment you click “Solve Equation.” It computes both x₁ and x₂ simultaneously, displays the discriminant, and shows each arithmetic step so you can follow along and verify the working — ideal for students checking homework or teachers preparing lesson materials.

Other Methods for Solving Quadratic Equations

While the quadratic formula works for every equation, mathematicians also use three other approaches depending on the equation’s structure:

  • Factoring — Works when the equation factors cleanly into two binomials, e.g., x² − 5x + 6 = (x − 2)(x − 3). Fast, but only applicable when integer factors exist.
  • Completing the Square — The algebraic technique from which the quadratic formula itself is derived. Useful for converting to vertex form: a(x − h)² + k = 0.
  • Graphical Method — Plotting the parabola and reading off the x-intercepts. Our built-in parabola graph makes this visual approach instant and precise.

For all non-trivial equations, the quadratic formula — powered by our calculator — remains the fastest and most reliable path to the correct roots.


Understanding the Discriminant (Δ = b² − 4ac)

The discriminant is the expression b² − 4ac found inside the square root of the quadratic formula. It is named the discriminant because it discriminates between the three fundamentally different types of solutions a quadratic equation can have. Our discriminant calculator computes this value instantly and categorizes your result automatically.

Δ > 0 — Two Distinct Real Roots

When the discriminant is positive, the square root in the quadratic formula yields a real number. Adding and subtracting this value from −b produces two different real solutions. On the parabola graph, this means the curve cuts through the x-axis at exactly two separate points. Both roots may be rational (if Δ is a perfect square) or irrational (if not). Example: x² − 5x + 6 = 0 gives Δ = 25 − 24 = 1, yielding roots x = 2 and x = 3.

Δ = 0 — One Repeated Real Root (Perfect Square)

When the discriminant equals zero, the ± term vanishes and both formulas produce the same value: x = −b / (2a). This single root is called a repeated or double root. Geometrically, the parabola touches the x-axis at precisely one point — the vertex — without crossing it. Example: x² − 4x + 4 = 0 gives Δ = 16 − 16 = 0, yielding the repeated root x = 2.

Δ < 0 — Two Complex Conjugate Roots

When the discriminant is negative, its square root is imaginary (involving i, where i² = −1). The equation has no real solutions, but it does have two complex conjugate roots in the form α ± βi, where α = −b/(2a) is the real part and β = √|Δ|/(2a) is the imaginary part. Our complex roots calculator computes and displays both roots in standard a+bi notation. Geometrically, the parabola floats entirely above or below the x-axis, never intersecting it. Example: x² + 4 = 0 gives Δ = −16, yielding roots x = ±2i.

Understanding the discriminant before you even solve the full equation is a powerful technique. A quick mental check of b² − 4ac tells you immediately what kind of answer to expect, saving time in exams and professional calculations alike.


Parabola Properties: Vertex, Axis of Symmetry & Intercepts

Every quadratic equation corresponds to a unique parabola. Our quadratic equation solver calculates all key geometric properties of your parabola automatically alongside the roots. Here is what each property means and how it is derived:

Vertex (h, k)
h = −b/(2a)   k = c − b²/(4a)
Axis of Symmetry
x = −b / (2a)
Y-Intercept
f(0) = c
Direction of Opening
a > 0: ∪   a < 0: ∩
  • Vertex (h, k) — The parabola’s turning point — its highest point if it opens downward, or lowest if it opens upward. The vertex is crucial in optimization problems: if a quadratic models a profit curve, the vertex gives the maximum (or minimum) profit and the output level at which it occurs.
  • Axis of Symmetry — A vertical line passing through the vertex: x = −b/(2a). The parabola is a perfect mirror image on both sides of this line. Knowing the axis helps you understand that the two roots are always equidistant from this line.
  • Y-Intercept — The point where the parabola crosses the vertical axis. Found by substituting x = 0: f(0) = c. The constant term c is always the y-intercept — one of the easiest properties to read directly from the equation.
  • X-Intercepts (Roots) — The points where the parabola crosses the horizontal axis — exactly the solutions x₁ and x₂ computed by the quadratic formula. When Δ < 0, there are no x-intercepts because the parabola does not touch the x-axis.
  • Direction of Opening — Determined by the sign of coefficient a. If a > 0, the parabola opens upward (∪ shape); if a < 0, it opens downward (∩ shape). Larger |a| produces a narrower parabola; smaller |a| a wider one.

All five of these properties are computed and displayed instantly by our quadratic equation calculator every time you click Solve — no manual working required.


How to Use This Quadratic Equation Solver

Our quadratic equation solver is designed to be straightforward for students at any level — from middle school to university — as well as professionals who need a quick, reliable calculation. Follow these four steps:

1

Enter Coefficients a, b, and c

Type your equation’s coefficients into the three input fields. You can enter any real number — integers, decimals, or negative values. Remember: coefficient a cannot be zero, or the equation becomes linear. The live equation display updates as you type so you can visually confirm your equation before solving.

2

Click “Solve Equation”

Press the blue Solve Equation button. The calculator instantly applies the quadratic formula, computes the discriminant, and determines both roots — whether real, repeated, or complex. The entire process takes less than a second, even for decimal or fractional coefficients.

3

View Results, Graph & Steps

Your solutions appear in the x₁ and x₂ boxes with the discriminant value highlighted. The interactive parabola graph renders automatically — showing the curve, roots (in red), and vertex (in green). Scroll to the Step-by-Step Solution section to see every arithmetic operation laid out clearly.

4

Analyze Parabola Properties

Review the Parabola Properties panel for vertex coordinates, axis of symmetry, y-intercept, and direction of opening. Use the “Understanding Your Solution” box for a plain-English interpretation of what your discriminant and roots mean mathematically. Click Reset at any time to clear all fields and start fresh.

Pro tip: Use the Common Examples section below to load pre-set equations with a single click — a great starting point if you want to explore how different coefficients affect the graph and roots before entering your own values.


Common Examples — Try Them Instantly

The four examples below cover every discriminant case you will encounter. Click Try This on any example to load it directly into the quadratic equation calculator above and see the full solution, graph, and steps in one click.

x² − 5x + 6 = 0
Δ = 1 > 0 · Two distinct real roots: x = 2, x = 3. Classic factoring example — the parabola cuts the x-axis at both roots.

x² − 4x + 4 = 0
Δ = 0 · One repeated root: x = 2. The vertex sits exactly on the x-axis — a perfect square trinomial.

x² + 4 = 0
Δ = −16 < 0 · Complex roots: x = ±2i. Use our complex roots calculator output to see the full imaginary solution.

2x² + 3x − 2 = 0
Δ = 25 > 0 · Two real roots: x = 0.5, x = −2. A non-monic quadratic — demonstrates how coefficient a ≠ 1 affects the formula.


Real-World Applications of Quadratic Equations

Quadratic equations are not just abstract algebra — they model real phenomena encountered every day across science, engineering, and business. Here are the most important application areas where a quadratic equation solver is an essential tool:

Projectile Motion (Physics)

When an object is thrown, kicked, or launched, its height h at time t follows: h = −½gt² + v₀t + h₀ — a quadratic in t. Solving for h = 0 (when the object hits the ground) is exactly the kind of calculation our quadratic formula calculator handles instantly. This applies to everything from basketball free throws to spacecraft re-entry modeling.

Business & Economics

Profit functions, revenue maximization, and break-even analysis frequently take quadratic form. If Revenue(x) = −2x² + 40x and Cost(x) = 5x + 50, setting Profit = 0 gives a quadratic equation whose roots are the break-even quantities. The vertex gives the production level that maximizes profit. For businesses that need to go further and calculate the actual financial impact — loan repayments, EMI structures, or investment returns on those profit figures — our investment calculator handles the financial modelling that follows once the break-even point is known.

Architecture & Engineering

Parabolic arches and suspension bridge cables follow quadratic curves. Structural engineers use quadratic equations to calculate load distribution, stress points, and deflection limits across beams and supports.

Chemistry & Biology

Equilibrium concentration problems (ICE tables) and population growth models regularly produce quadratic equations. Finding equilibrium concentrations in a dissociation reaction requires solving a quadratic whose solutions give the valid concentration value.

Signal Processing & Electronics

The characteristic equations of second-order circuits (RLC circuits) and control systems are quadratic. Engineers use the discriminant to determine whether a circuit is overdamped, critically damped, or underdamped — corresponding exactly to Δ > 0, Δ = 0, and Δ < 0.

Geometry & Area Problems

“A rectangle’s length is 3 more than its width, and its area is 28 square units — find the dimensions.” This classic problem reduces to x² + 3x − 28 = 0, solved in one step by our quadratic equation solver. For problems involving percentage-based area comparisons or ratio calculations on those dimensions, our percentage calculator pairs naturally with this solver.

Wherever you encounter a relationship between a squared variable and real-world quantities, a quadratic equation is almost certainly involved — and this calculator is built to handle all of them.


Quadratic Solving Methods: Which Should You Use?

Students and professionals encounter four main methods for solving quadratic equations. Each has its place, but knowing when to use which — and understanding their limitations — is what separates efficient problem-solving from frustrating trial and error.

1

Factoring

The fastest method when it works. You split ax² + bx + c into two binomials (x − r₁)(x − r₂). However, factoring over integers only works when the roots are rational — which is not guaranteed. Many real-world quadratics have irrational or complex roots that cannot be factored by hand.

Use when: coefficients are small integers and the discriminant is a perfect square.
2

Completing the Square

A systematic algebraic technique that always works but involves several steps. You rewrite ax² + bx + c = 0 into the form a(x + p)² = q, then take the square root of both sides. This method naturally produces the vertex form and is the foundation from which the quadratic formula is derived.

Use when: you need the vertex form, or when teaching the derivation of the quadratic formula.
3

The Quadratic Formula

The universal method. Works for every quadratic — factorable or not, real roots or complex. The formula x = (−b ± √(b²−4ac)) / (2a) is the most important tool in algebra for exactly this reason. Our quadratic formula calculator implements this with full precision, including complex number output when the discriminant is negative.

Use when: always — particularly when other methods fail or when speed matters.
4

Graphical Method

Plotting y = ax² + bx + c and reading the x-intercepts. Excellent for visual understanding and approximate answers but imprecise for irrational or complex roots. Our calculator’s built-in parabola graph makes this as accurate as algebraic methods by overlaying exact root positions on the curve.

Use when: you want to visualize the behavior of the function alongside its solutions.

For most practical purposes, the quadratic formula combined with a discriminant calculator — exactly what this tool provides — gives the fastest path from equation to answer, with full working shown.


Complex Roots: What They Mean & How to Interpret Them

When the discriminant Δ = b² − 4ac is negative, the quadratic equation has no real solutions. Instead, it produces two complex conjugate roots involving the imaginary unit i, defined as √(−1). Our complex roots calculator displays these in standard form:

x = (−b / 2a) ± (√|Δ| / 2a) · i

The two parts of a complex root have specific names and meanings:

  • Real Part (α = −b / 2a) — This is also the x-coordinate of the vertex and the axis of symmetry. Even when no real roots exist, the real part of the complex root tells you where the parabola is centered horizontally.
  • Imaginary Part (β = √|Δ| / 2a) — This measures how far the parabola’s vertex is from the x-axis. A larger imaginary part means the parabola sits further above (or below) the x-axis with no intersection.
  • Conjugate Pair — The two roots are always α + βi and α − βi. They are mirror images across the real number line. For any polynomial with real coefficients, complex roots always come in conjugate pairs.

Complex roots are not just an abstract mathematical curiosity. In electrical engineering, they describe oscillatory behavior in circuits — the imaginary part corresponds to oscillation frequency and the real part to damping. In control systems, complex eigenvalues indicate a system that oscillates rather than settling monotonically. In quantum mechanics, complex numbers are fundamental to wave functions.

Electrical Engineering

Complex roots in RLC circuit equations describe oscillatory behavior. The imaginary part gives the oscillation frequency; the real part gives the damping coefficient. Δ < 0 corresponds to an underdamped circuit that oscillates before settling.

Control Systems

Complex eigenvalues in a system’s characteristic equation indicate oscillatory response. Engineers deliberately design systems to have complex roots with negative real parts — ensuring the oscillations decay to stability over time.

Quantum Mechanics

Complex numbers are fundamental to wave functions and probability amplitudes. The Schrödinger equation solutions frequently involve complex exponentials — built directly on the same complex number structure as complex quadratic roots.

Our quadratic equation solver presents complex roots clearly, with the real and imaginary parts separated, so you can use them directly in further calculations.


Study Tips: Getting the Most from This Quadratic Equation Solver

This quadratic equation calculator is a learning tool as much as a computation tool. Here are expert-recommended strategies for using it to genuinely strengthen your algebra skills — not just get answers:

1

Predict Before You Solve

Before clicking “Solve Equation,” calculate the discriminant manually (b² − 4ac). Decide whether you expect two real roots, one repeated root, or complex roots. Then verify against the calculator. This habit builds deep intuition about quadratic behavior.

2

Work Through the Steps

Don’t just read the final roots — study every line in the Step-by-Step Solution panel. Each arithmetic operation corresponds to a specific part of the quadratic formula. Following this working helps you reproduce the method independently in exams.

3

Use the Graph Actively

After solving, look at the parabola. Confirm that the roots shown on the graph match the algebraic solutions. Notice how the vertex position relates to the axis of symmetry and the y-intercept. Connecting the algebra to the geometry is the most durable way to understand quadratics.

4

Experiment with Signs

Change the sign of coefficient a and observe how the parabola flips. Change c and watch the y-intercept move. Vary b and see how the axis of symmetry shifts. This interactive exploration builds pattern recognition that is invaluable in higher mathematics.

5

Check Your Factoring

If you factored an equation by hand, use this tool to verify. Enter the same coefficients and confirm that the roots match your factored solution. Discrepancies will immediately highlight arithmetic errors.

6

Practice with Non-Integer Coefficients

Most textbooks use integer coefficients, but real-world quadratics rarely do. Use the Common Examples or type in your own decimal-coefficient equations to build comfort with the messier cases that appear in physics, engineering, and statistics.

Frequently Asked Questions

What is a quadratic equation solver?

A quadratic equation solver is a calculator that finds the roots (solutions) of any equation in the form ax² + bx + c = 0. You input the three coefficients a, b, and c, and the solver returns x₁ and x₂ using the quadratic formula, along with the discriminant, parabola graph, and key properties like the vertex and axis of symmetry.

Can this calculator solve equations with decimal or fraction coefficients?

Yes. All three input fields accept any real number, including decimals (e.g., 1.5, −0.75, 3.14). For fractions, convert to decimal form first (e.g., 1/3 ≈ 0.3333). The calculator handles all of these with full floating-point precision.

What happens when the discriminant is negative?

When Δ < 0, the quadratic has no real roots. Our complex roots calculator automatically switches to complex number mode and displays the two conjugate roots in the form a ± bi. The parabola graph still renders — it will float above or below the x-axis with no intersection points.

What does it mean when x₁ = x₂?

When both roots are equal, the discriminant is exactly zero. This is called a repeated root or double root. Geometrically, the vertex of the parabola lies exactly on the x-axis. The repeated root is always x = −b / (2a).

Why can't coefficient 'a' be zero?

If a = 0, the x² term disappears and the equation becomes bx + c = 0, which is a linear equation with at most one solution. A quadratic equation, by definition, requires a ≠ 0 so that the parabolic (curved) behavior is preserved. Setting a = 0 in this solver will trigger a validation error.

Is this quadratic formula calculator free to use?

Yes, completely free. There are no sign-ups, no downloads, and no usage limits. Use this quadratic equation calculator as many times as you need — for homework, exam prep, teaching, or professional calculations.

How accurate are the results?

The calculator uses JavaScript’s native 64-bit floating-point arithmetic (IEEE 754 double precision), which provides approximately 15–17 significant decimal digits of accuracy — sufficient for all educational and most professional engineering applications.

Can I use this on mobile?

Yes. The solver is fully responsive and works on smartphones and tablets. The graph, step-by-step solution, and all property panels adapt automatically to smaller screens.