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.
A quadratic equation is a second-degree polynomial equation written in a single variable. It always takes the standard form:
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:
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 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:
This formula is derived by completing the square on the general form ax² + bx + c = 0. Here is exactly what each part means:
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.
While the quadratic formula works for every equation, mathematicians also use three other approaches depending on the equation’s structure:
For all non-trivial equations, the quadratic formula — powered by our calculator — remains the fastest and most reliable path to the correct roots.
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.
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.
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.
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.
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:
All five of these properties are computed and displayed instantly by our quadratic equation calculator every time you click Solve — no manual working required.
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:
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.
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.
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.
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.
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.
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:
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.
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.
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.
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.
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.
“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.
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.
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.
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.
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.
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.
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.
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:
The two parts of a complex root have specific names and meanings:
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.
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.
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.
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.
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:
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.