CalcPlatformPro
HomeFinanceHealthMathConstructionConvertersDateOtherFeedback
Feedback
CalcPlatform

Free, fast, and precise financial, mathematical, health, and engineering calculators.

Financial Suite

  • Mortgage Calculator
  • Auto Loan Calculator
  • Personal Loan Calculator
  • EMI Installment
  • SIP Wealth Growth
  • Compound Interest

Categories & Tools

  • Finance Hub
  • BMI Health Calculator
  • Percentage Calculator
  • Age Calculator
  • Math Category

Company & Legal

  • About Us
  • Privacy Policy
  • Terms & Conditions
  • Feedback & Contact
© 2026 CalcPlatform. All calculations run client-side for total privacy.
HomeMathQuadratic Formula Calculator

Quadratic Formula Calculator

Solve ax² + bx + c = 0 with our quadratic formula calculator. Find real or complex roots, discriminant, vertex, axis of symmetry, focus, directrix and see every algebra step with an interactive parabola graph.

Quadratic Formula & Equation Solver(ax² + bx + c = 0)

Standard Form: ax² + bx + c = 0

Dynamic Quadratic Expression
1x² - 5x + 6 = 0
Evaluated Roots & Analytics
x₁ = 3.0000,   x₂ = 2.0000
Discriminant Δ = 1 (Two Distinct Real Roots)Vertex: (2.5000, -0.2500) [Global Min]
Axis of Symmetryx = 2.5000
Y-Intercept(0, 6)
Vertex Formy = (x - 2.5000)² - 0.2500
Interactive 2D Parabola Coordinate PlotVertex (2.50, -0.25)
Multi-Method Algebraic Solution
1.Standard Form Equation: 1x² - 5x + 6 = 0
2.Identify Coefficients: a = 1, b = -5, c = 6
3.Discriminant (Δ = b² - 4ac): (-5)² - 4(1)(6) = 25 - 24 = 1
4.Substitute into Quadratic Formula: x = [-(-5) ± √(1)] / (2 × 1)
5.Simplify Radical: √1
6.Root 1 (x₁): [-(-5) + 1.0000] / 2 = 3.0000
7.Root 2 (x₂): [-(-5) - 1.0000] / 2 = 2.0000
Quadratic Vertex & Parabola Geometry Analyzer Live Bidirectional Sync with Equation Above

Parabola Inputs

Active Coefficients
Vertex Point (h, k)
(2.5000, -0.2500)
Parabola OrientationOpens Upwards (Min)
Axis of Symmetryx = 2.5000
Focus Coordinate(2.5000, 0.0000)
Directrix Liney = -0.5000
Y-Intercept(0, 6)
Converted Vertex Formy = (x - 2.5000)² - 0.2500
RELATED CALCULATORS:
Exponent Calculator|Root Calculator & Radical Simplifier|Scientific Calculator

Solve quadratic equations quickly and see exactly how the answer is obtained. This quadratic formula calculator solves equations in the form ax² + bx + c = 0 and shows the discriminant, roots, vertex, axis of symmetry, y-intercept and vertex form of the corresponding parabola.

Unlike a result-only calculator, this tool also provides a step-by-step quadratic formula solution and alternative methods where applicable, including completing the square and factoring. An interactive parabola graph connects the algebraic result to the geometry of the quadratic function.

The calculator supports positive, zero and negative discriminants, so it can handle equations with two real roots, one repeated real root, and two complex conjugate roots. It also identifies the special case where a = 0 and the equation is no longer quadratic.

What Is the Quadratic Formula?

For a quadratic equation in standard form,

ax² + bx + c = 0

with a ≠ 0, the quadratic formula is:

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

The expression b² - 4ac is called the discriminant.

The quadratic formula provides the solutions of any quadratic equation whose leading coefficient is nonzero. The discriminant also tells you what type of solutions to expect before the equation is fully solved.

How to Use This Quadratic Formula Calculator

Enter the three coefficients:

  • a: Quadratic coefficient (must be nonzero for quadratic behavior)
  • b: Linear coefficient
  • c: Constant term

The calculator automatically forms the equation: ax² + bx + c = 0.

It then evaluates the discriminant and determines whether the equation has:

  • two distinct real roots
  • one repeated real root
  • two complex conjugate roots

The result area also provides geometric information about the corresponding parabola. Depending on the equation, you can inspect:

Roots (x₁, x₂)
Discriminant (Δ)
Vertex Point (h, k)
Axis of Symmetry
Y-Intercept (0, c)
Vertex Form Equation
Focus Coordinate
Directrix Line
Parabola Orientation

The step-by-step section shows how the quadratic formula is applied rather than only displaying the final answer.

What Is the Standard Form of a Quadratic Equation?

A quadratic equation is commonly written as:

ax² + bx + c = 0

where a, b and c are constants and: a ≠ 0.

The coefficient a controls the quadratic term, b controls the linear term, and c is the constant term.

The condition a ≠ 0 matters because setting a = 0 removes the x² term. The equation then becomes linear:

bx + c = 0

The calculator explicitly handles this degenerate case instead of incorrectly applying the quadratic formula to a linear equation.

What Does the Discriminant Tell You?

The discriminant is:

Δ = b² - 4ac

Its sign determines the nature of the roots:

Δ > 0

There are two distinct real roots. The parabola intersects the x-axis at two different points.

Δ = 0

There is one repeated real root. The parabola touches the x-axis at exactly one point.

Δ < 0

There are no real roots. For a quadratic with real coefficients, the two roots are a complex-conjugate pair.

The calculator uses the discriminant both to classify the roots and to select the appropriate result and graph behavior.

Table 1: Discriminant Root Classification & Parabola Geometry

DiscriminantRoot TypeGraph Behavior
Δ > 0Two distinct real rootsCrosses x-axis twice
Δ = 0One repeated real rootTouches x-axis once (tangent vertex)
Δ < 0Two complex conjugate rootsNo real x-axis intersections

If you need to simplify radicals that appear inside quadratic solutions, the Root Calculator & Radical Simplifier can help with exact radical expressions separately.

How to Solve a Quadratic Equation Step-by-Step

The quadratic formula can be applied systematically. Consider:

x² - 5x + 6 = 0
Step 1: Identify the coefficients
a = 1, b = -5, c = 6
Step 2: Calculate the discriminant
Δ = b² - 4ac = (-5)² - 4(1)(6) = 25 - 24 = 1
Step 3: Substitute into the quadratic formula
x = [-(-5) ± √1] / [2(1)]
Step 4: Simplify
√1 = 1 → x = (5 ± 1) / 2
Step 5: Evaluate both solutions
x₁ = (5 + 1) / 2 = 3
x₂ = (5 - 1) / 2 = 2

The calculator displays these transformations as individual steps so that the calculation can be checked line by line.

Quadratic Formula Example: x² − 5x + 6 = 0

Take the equation:

x² - 5x + 6 = 0

The coefficients are: a = 1, b = -5, c = 6.

Discriminant: Δ = (-5)² - 4(1)(6) = 1. Since Δ > 0, the equation has two distinct real roots.

Using the quadratic formula: x = [5 ± 1] / 2 → x₁ = 3, x₂ = 2.

The corresponding parabola is: y = x² - 5x + 6.

Vertex: (2.5, -0.25)
Axis: x = 2.5
Y-Intercept: (0, 6)
Focus: (2.5, 0)

Vertex form: y = (x - 2.5)² - 0.25

Because a = 1 > 0, the parabola opens upward and the vertex is the global minimum.

Example With Complex Roots: 16x² − 5x + 6 = 0

Consider:

16x² - 5x + 6 = 0

Here: a = 16, b = -5, c = 6.

The discriminant is: Δ = (-5)² - 4(16)(6) = 25 - 384 = -359.

Because the discriminant is negative, there are no real roots. The complex roots are:

x = 0.15625 ± 0.5921i  (0.1563 ± 0.5921i)

The calculator displays the conjugate pair rather than incorrectly showing only one complex root.

The corresponding parabola opens upward because a is positive, but it does not cross the real x-axis because the quadratic has no real x-intercepts.

What Happens When the Discriminant Is Zero?

Take:

x² - 6x + 9 = 0

The discriminant is: Δ = (-6)² - 4(1)(9) = 36 - 36 = 0.

The two algebraic roots coincide: x₁ = x₂ = 3. This is a repeated root.

The parabola: y = x² - 6x + 9 has vertex: (3, 0) and touches the x-axis at that point.

The calculator treats this as one geometric point of contact rather than drawing two duplicate root markers on top of each other.

Ways to Solve a Quadratic Equation

The quadratic formula is universal for quadratic equations with a ≠ 0, but it is not the only method. This calculator also explains two important alternatives:

Factoring

When a quadratic can be factored conveniently, the equation can be written as a product of linear factors.

x² - 5x + 6 = 0 → (x - 2)(x - 3) = 0 → x = 2 or x = 3

Factoring is often the quickest method when the factors are easy to identify.

Completing the Square

Completing the square rewrites a quadratic into a perfect-square expression.

x² - 5x = -6 → x² - 5x + 25/4 = 1/4 → (x - 5/2)² = 1/4

Taking square roots produces the same two solutions: x = 3 or x = 2.

These are mathematically equivalent methods; the best choice depends on the equation and the goal of the calculation.

For broader numerical and scientific calculations beyond quadratic equations, see the Scientific Calculator.

How Do You Find the Vertex of a Quadratic?

For y = ax² + bx + c, the x-coordinate of the vertex is:

h = -b / (2a)

The y-coordinate is obtained by evaluating the function at h:

k = f(h) = c - b² / (4a)

Therefore the vertex is (h, k).

For x² - 5x + 6: h = 5/2 = 2.5, k = -0.25, so Vertex = (2.5, -0.25).

The vertex is especially useful because it identifies the minimum when a > 0 and the maximum when a < 0.

If you need to analyze exponents more generally, including exponential rather than quadratic expressions, use the Exponent Calculator.

What Is the Axis of Symmetry?

Every parabola is symmetric about a vertical line through its vertex. The equation of that line is:

x = -b / (2a)

which is the same as the x-coordinate of the vertex. For x² - 5x + 6, the axis is x = 2.5.

The interactive graph displays this symmetry visually. Changing any coefficient updates the axis automatically because it is calculated from the active equation.

How Do You Find the Y-Intercept?

The y-intercept occurs where x = 0. For y = ax² + bx + c, substituting x = 0 gives:

y = c → Y-Intercept = (0, c)

For x² - 5x + 6, the y-intercept is (0, 6). The calculator displays this coordinate and uses the same value when plotting the parabola.

What Is Vertex Form?

A quadratic can also be written as:

y = a(x - h)² + k

where (h, k) is the vertex. Vertex form makes the geometry of the parabola easier to read:

  • a > 0: opens upward, vertex gives global minimum
  • a < 0: opens downward, vertex gives global maximum

This is one reason vertex form is especially useful for optimization problems. The calculator converts the standard quadratic into vertex form automatically.

What Are the Focus and Directrix of a Parabola?

A parabola can be defined geometrically as the set of points that are equidistant from a fixed point called the focus and a fixed line called the directrix.

For y = a(x - h)² + k, rewrite as: (x - h)² = 4p(y - k), which gives:

p = 1 / (4a)
Focus Point: (h, k + p)
Directrix Line: y = k - p

For y = (x - 2.5)² - 0.25, we have p = 0.25, so the focus is (2.5, 0) and the directrix is y = -0.5.

How Does the Coefficient a Affect the Parabola?

The coefficient a controls whether the parabola opens upward or downward:

  • If a > 0: the parabola opens upward and the vertex is a minimum.
  • If a < 0: the parabola opens downward and the vertex is a maximum.

The magnitude of a also affects how narrow or wide the parabola appears relative to y = x². A larger |a| produces a tighter curve, while a smaller |a| produces a wider curve.

How Does the Interactive Parabola Graph Work?

The graph plots the quadratic function: y = ax² + bx + c using the currently entered coefficients.

It visually connects the algebraic solution with the geometry of the function by showing features such as the parabola curve, vertex marker, dashed axis of symmetry, x-intercepts when real roots exist, and y-intercept.

When the discriminant is negative, the graph does not show imaginary roots as real x-axis intersections. When the discriminant is zero, the graph touches the x-axis at one point. When positive, it crosses at two real root locations.

What Is the Difference Between a Root and an X-Intercept?

A root is a value of x that makes f(x) = 0. For a real root, the corresponding graph point is (x, 0), which is an x-intercept.

For example, x² - 5x + 6 = 0 has roots 2 and 3, and the graph has x-intercepts at (2, 0) and (3, 0).

Complex roots are different. They solve the algebraic equation but are not points on the real xy-plane.

How Do Complex Roots Appear in a Quadratic Equation?

If Δ < 0, the square root of the discriminant involves a negative number. Using i = √(-1), the roots can be written in the form:

p ± qi

where p and q are real numbers. The two roots form a complex-conjugate pair. For 16x² - 5x + 6 = 0, the roots are approximately:

0.1563 + 0.5921i  and  0.1563 - 0.5921i

The real parabola does not cross the x-axis because neither root is real.

What Happens If a Is Zero?

A quadratic requires a ≠ 0. If a = 0, the x² term disappears and the equation becomes bx + c = 0.

If b ≠ 0, this is a linear equation with: x = -c / b.

The calculator detects this situation instead of forcing the quadratic formula onto a linear equation.

a = 0, b = 0, c = 0:
0 = 0 (Identity, infinitely many solutions)
a = 0, b = 0, c ≠ 0:
c = 0 (Contradiction, no solution)

How Many Solutions Can a Quadratic Have?

A degree-two polynomial has exactly two complex roots when multiplicity is counted. That can appear in three common ways for a quadratic with real coefficients:

  • two distinct real roots
  • one repeated real root
  • two non-real complex conjugate roots

So saying that a quadratic always has "two real answers" is incorrect. The discriminant distinguishes these cases directly.

How Can You Check Quadratic Roots?

Vieta's relationships provide a powerful consistency check for ax² + bx + c = 0 with roots x₁ and x₂:

Sum of Roots: x₁ + x₂ = -b / a
Product of Roots: x₁x₂ = c / a

For x² - 5x + 6 = 0, the roots are 2 and 3. Their sum is 2 + 3 = 5 (-b/a = 5), and their product is 2 × 3 = 6 (c/a = 6).

The calculator's automated audit engine uses these relationships as regression checks.

Why Might My Quadratic Answer Have Decimals?

Some quadratic equations produce irrational roots that cannot be represented exactly as terminating decimals.

For example: 2x² + 4x - 3 = 0 has Δ = 40, and √40 = 2√10.

The exact roots can be written as: (-2 ± √10) / 2. A decimal approximation is about 0.5811 and about -2.5811.

The exact radical form preserves more mathematical information than a rounded decimal.

Quadratic Formula vs Factoring vs Completing the Square

Use factoring: when the quadratic breaks naturally into simple linear factors.

Use completing the square: when you want to derive vertex form or understand the structure of the quadratic.

Use the quadratic formula: when you need a universal algebraic method that works for any quadratic with a ≠ 0.

For teaching and verification, seeing all available methods can be especially useful because equivalent methods provide independent confirmation of the same roots.

How Can a Quadratic Find a Maximum or Minimum?

The vertex gives the extremum of a quadratic function:

  • If a > 0: the parabola opens upward and the vertex is the global minimum.
  • If a < 0: the parabola opens downward and the vertex is the global maximum.

For y = ax² + bx + c, the vertex x-coordinate is x = -b / (2a). Then evaluate the function at that x-value to obtain the extremum.

This makes quadratic functions useful in optimization problems involving area, revenue, projectile height and similar modeled relationships.

Where Are Quadratic Equations Used?

Projectile Motion

Under simplified constant-gravity assumptions, vertical position can be modeled as a quadratic function of time. The vertex corresponds to maximum height.

Business and Revenue Models

Simplified models of revenue, cost or profit can sometimes produce quadratic functions where the vertex identifies maximum profit.

Geometry & Area

Area and dimension problems often produce quadratic equations when one dimension depends linearly on another.

Engineering and Physics

Quadratic relationships arise in acceleration, structural suspension cables, optics (parabolic reflectors) and energy equations.

Common Quadratic Formula Mistakes

Forgetting that b can be negative: If b = -5, then b² = (-5)² = 25. Do not treat b² as -25.

Losing the ± sign: The quadratic formula contains ±√Δ, which represents the two branches that generate the two roots.

Using the wrong denominator: The denominator is 2a, not 2b.

Forgetting the discriminant: Calculate b² - 4ac before classifying the roots.

Applying the quadratic formula when a = 0: If a = 0, the equation is linear or degenerate, not quadratic.

Rounding too early: Premature rounding can change the final roots. Keep full precision until the final displayed result.

Assuming negative discriminant means "no solutions": A negative discriminant means no REAL roots, but there are two complex roots for a real-coefficient quadratic.

How the Calculator Keeps the Equation and Parabola in Sync

The calculator's quadratic solver and Parabola Geometry Analyzer use the same active coefficients. Changing a, b or c updates the equation, roots, discriminant, graph, vertex and geometric properties together.

The geometry analyzer also provides a visible live-sync status badge so users know it is analyzing the same equation rather than a separate hidden example.

This matters because changing only one section while leaving another section unchanged can produce misleading results.

How Can I Save a Quadratic Calculation?

The calculator includes several ways to preserve or reuse your result:

Save: stores the calculation for later review.
Copy LaTeX: copies mathematical syntax for notes/docs.
Copy Summary: copies a clean text summary of all properties.
Share Link: encodes calculation state in URL parameters.
CSV: exports structured numerical rows for spreadsheets.
PDF / Print: creates a clean, page-break-free report.
Reset Defaults: reverts inputs to starting values (1, -5, 6).

All exportable values correspond strictly to the current active equation.

Quadratic Formula Reference

Table 2: Core Quantities, Formulas, and Geometric Meanings

QuantityFormulaMeaning
Standard Formax² + bx + c = 0Fundamental quadratic polynomial
Quadratic Formulax = (-b ± √Δ) / 2aUniversal algebraic root solutions
DiscriminantΔ = b² - 4acRoot classification and real x-intercept count
Axis of Symmetryx = -b / (2a)Vertical axis dividing parabola symmetrically
Vertex Point(h, k) = (-b/2a, c - b²/4a)Global minimum (a > 0) or maximum (a < 0)
Vertex Formy = a(x - h)² + kTransformation and geometry form
Focus Coordinate(h, k + 1/(4a))Geometric reflection focus point
Directrix Liney = k - 1/(4a)Geometric reference directrix line
Y-Intercept(0, c)Coordinate point where curve crosses y-axis

These formulas describe the same quadratic from complementary algebraic and geometric perspectives.

From Coefficients to Parabola

a, b, cStandard Formax²+bx+c=0DiscriminantΔ = b²−4acRoot NatureΔ>0, Δ=0, Δ<0Roots x₁, x₂Formula / ProofVertex (h, k)Axis, Focus, DirectrixParabola GraphInteractive 2D Plot

"The coefficients define both the algebraic solutions and the geometry of the corresponding quadratic function."

Mathematical References

The explanations and formulas on this page are based on standard algebra and quadratic-function concepts. For further study, use authoritative educational references such as OpenStax College Algebra, OpenStax Algebra 1 and OpenStax Precalculus:

  • OpenStax College Algebra (2e) — Section 2.5: Quadratic EquationsCovers the quadratic formula, discriminant root classification, completing the square, and complex solutions.
  • OpenStax College Algebra (2e) — Section 5.1: Quadratic Functions & ParabolasExplains standard form, vertex form, axis of symmetry, finding extrema (minima and maxima), and graphing.
  • OpenStax Precalculus (2e) — Conic Sections: The ParabolaGeometric definitions of the parabola, focal distance p = 1/(4a), focus coordinates, and directrix lines.

Quadratic Formula Calculator FAQ

32 Answers
The quadratic formula is x = (-b ± √(b² - 4ac))/(2a), where a ≠ 0. It gives the solutions of a quadratic equation in standard form ax² + bx + c = 0.
The discriminant is b² − 4ac. Its sign tells you whether a quadratic has two distinct real roots, one repeated real root, or two complex conjugate roots.
A positive discriminant gives two distinct real roots. The corresponding parabola crosses the real x-axis at two points.
A zero discriminant gives one repeated real root. Geometrically, the parabola touches the x-axis at one point.
A negative discriminant means there are no real roots. For a quadratic with real coefficients, the two roots are complex conjugates.
Yes. When the discriminant is negative, the quadratic has two non-real complex conjugate roots.
If a = 0, the equation is no longer quadratic. If b ≠ 0 it becomes the linear equation bx + c = 0. If both a and b are zero, the equation is either an identity or a contradiction depending on c.
The roots are x = 2 and x = 3 because the equation factors as (x − 2)(x − 3) = 0.
For y = ax² + bx + c, the vertex has x-coordinate h = −b/(2a) and y-coordinate k = f(h). The vertex is a minimum when a > 0 and a maximum when a < 0.
The axis of symmetry is the vertical line x = −b/(2a). It passes through the vertex and divides the parabola into two mirror-image halves.
Set x = 0. For y = ax² + bx + c, this gives y = c, so the y-intercept is (0,c).
Vertex form is y = a(x − h)² + k, where (h,k) is the vertex. It makes the parabola's vertex and direction of opening easy to identify.
For y = a(x − h)² + k, use p = 1/(4a). The focus is (h,k+p).
For y = a(x − h)² + k, with p = 1/(4a), the directrix is y = k − p.
A root is a value of x that makes the equation equal zero. A real root corresponds to an x-intercept at (x,0). Complex roots are algebraic solutions but are not points on the real graph.
Yes. Factoring and completing the square are two important alternatives. They are particularly useful when the quadratic has simple factors or when you want to derive vertex form.
There is no single best method for every equation. Factoring can be fastest for simple factorable quadratics, completing the square is useful for deriving vertex form, and the quadratic formula works for every quadratic with a ≠ 0.
The ± represents the two square-root possibilities. For a positive discriminant, the two choices produce the two real roots. For a negative discriminant, they produce the two complex-conjugate roots.
No. A quadratic can have two distinct real roots, one repeated real root, or two complex conjugate roots. The discriminant determines which case occurs.
A negative discriminant means the quadratic has no real x-intercepts. The parabola remains entirely above or below the x-axis depending on its orientation and vertex.
The coefficient a controls the opening direction and vertical scaling of the parabola. If a > 0 it opens upward; if a < 0 it opens downward.
Real roots correspond to the x-values where the parabola crosses or touches the x-axis. Two distinct real roots create two intersections, while a repeated root creates one tangency point.
Use Vieta's relationships: x₁ + x₂ = −b/a and x₁x₂ = c/a. Substituting the roots back into the original equation is another direct check.
When a = 0, the calculator recognizes that the equation is no longer quadratic. It can handle the resulting linear or degenerate cases according to their mathematical classification.
Yes. When the discriminant is negative, the calculator displays the complex conjugate roots rather than reporting only that no real roots exist.
Yes. The calculator provides a step-by-step solution showing coefficient identification, discriminant calculation, substitution into the quadratic formula, simplification and the resulting roots.
Yes. The calculator provides an interactive graph based on the active coefficients and updates the parabola as the equation changes.
Yes. The Parabola Geometry Analyzer calculates the vertex, axis of symmetry, focus, directrix, orientation and vertex-form equation from the same quadratic coefficients.
Yes. The calculator provides available PDF/Print, CSV, Copy, Save and Share tools so the current calculation can be preserved or reused.
The difference may come from rounding, exact-versus-decimal representation, or a different display precision. Compare the underlying formula and coefficients rather than only the final rounded digits.
The discriminant is −359, so there are no real roots. The complex roots are approximately 0.1563 ± 0.5921i.
A degree-2 polynomial has exactly two complex roots when multiplicity is counted. They may be two distinct real roots, a repeated real root, or a pair of non-real complex conjugates when the coefficients are real.

Related Calculators

Exponent Calculator

Calculate powers and exponent-based expressions.

Open Calculator

Root Calculator & Radical Simplifier

Simplify radicals and work with square-root expressions.

Open Calculator

Scientific Calculator

Handle broader scientific and numerical calculations.

Open Calculator

Mathematical Disclaimer:

This calculator is an educational mathematical tool. It applies standard algebraic formulas to the coefficients you enter and presents the resulting solutions, graph and related quadratic properties.

For coursework, research or professional applications, verify important results independently when the consequences of an error are significant. The calculator does not determine which mathematical model is appropriate for a real-world problem. A correct algebraic solution can still be inappropriate if the underlying equation, assumptions or domain are incorrect.