Quadratic Formula Calculator (Equation Solver)

Our free online quadratic function formula calculator delivers verified step-by-step solutions with BigInt precision in under a millisecond. Enter numbers or algebraic expressions below for transparent intermediate working.

Instant Solutions
Step-by-Step Breakdown
100% Free & Private

Interactive Calculator
Solve any quadratic equation ax² + bx + c = 0 with exact radical and complex roots.
Try an example:
Two Real Roots (Δ = 36)
x1 = 5,   x2 = −1
Show step-by-step solution
Discriminant & Quadratic Formula:
Δ = (−4)2 − 4(1)(−5) = 16 + 20 = 36
x = [−(−4) ± √36] ÷ (2 × 1) = (4 ± 6) ÷ 2
x1 = 5,   x2 = −1

Last reviewed: October 2026 Reviewed by the FactorCalc editorial teamHow we test this calculator →

On This Page (Table of Contents)

How to Use This Quadratic Formula Calculator (Equation Solver)

Solving second-degree equations with the quadratic formula is fast and exact. Follow these three steps to evaluate real or complex roots:

  1. Enter Coefficients a, b, c: Type the numerical coefficients for the quadratic equation ax² + bx + c = 0.
  2. Evaluate the Discriminant: Click ‘Solve with Formula’ to calculate Δ = b² − 4ac and determine real vs complex root status.
  3. Derive Exact & Decimal Roots: Inspect radical simplifications, exact fractional answers, and decimal approximations.

The Universal Solver for Quadratic Equations

A quadratic equation is a second-order polynomial equation of the canonical form ax2 + bx + c = 0, where a, b, and c are real numerical constants and a != 0. While factoring works cleanly when roots are rational integers, many quadratic equations in physics, engineering, and advanced algebra possess irrational or complex roots that defy simple factoring.

The quadratic formula is the universal mathematical master key that solves every quadratic equation without exception:
x = [-b ± √(b2 − 4ac)] / (2a)

Our quadratic function formula calculator executes this formula with exact symbolic radical simplification, computes the numerical decimal approximations, and evaluates complex conjugate roots when the discriminant is negative.

The Discriminant and Nature of Roots

The algebraic quantity inside the radical symbol is called the discriminant, denoted by the Greek letter Delta or D:
D = b2 − 4ac

The value of the discriminant determines the number and nature of the solutions before you finish computing the formula: − D > 0 and D is a Perfect Square: Two distinct real rational roots. (The equation could have been solved by factoring). − D > 0 and D is NOT a Perfect Square: Two distinct real irrational roots containing simplified square root radicals. − D = 0: Exactly one real rational root (a double root of multiplicity 2: x = -b / (2a)). The graph’s vertex touches the x-axis. − D < 0: Two complex conjugate roots involving the imaginary unit i (where i = √(-1)): x = [-b ± i*√(|D|)] / (2a). The parabola never touches or crosses the x-axis.

Derivation of the Quadratic Formula

The quadratic formula is not an arbitrary rule; it is derived directly by applying the technique of completing the square to the general equation ax2 + bx + c = 0:
1. Divide the entire equation by a: x2 + (b/a)x + c/a = 0.
2. Subtract c/a from both sides: x2 + (b/a)x = -c/a.
3. Add [b / (2a)]^2 = b2 / (4a2) to both sides to complete the square on the left:
x2 + (b/a)x + b2 / (4a2) = -c/a + b2 / (4a2).
4. Factor the left side as a perfect square trinomial and combine right-side fractions:
[x + b / (2a)]^2 = (b2 − 4ac) / (4a2).
5. Take the square root of both sides, remembering the plus-or-minus symbol:
x + b / (2a) = ±√(b2 − 4ac) / (2a).
6. Subtract b / (2a) from both sides to isolate x:
x = [-b ± √(b2 − 4ac)] / (2a). This completes the derivation.

Worked Step-by-Step Examples

Examine these examples illustrating different discriminant outcomes: − Example 1: Irrational Real Roots (2x2 − 4x − 3 = 0): − Coefficients: a = 2, b = -4, c = -3. − Discriminant: D = (-4)2 − 4(2)(-3) = 16 + 24 = 40. − Since D > 0 and 40 is not a square, roots are irrational. − Simplify radical: √(40) = √(4 × 10) = 2*√(10). − Formula: x = [-(-4) ± 2*√(10)] / (2 × 2) = [4 ± 2*√(10)] / 4. − Divide numerator and denominator by 2: x = [2 ± √(10)] / 2. − Decimal values: x1 approximately 2.581, x2 approximately -0.581. − Example 2: Complex Conjugate Roots (x2 + 2x + 5 = 0): − a = 1, b = 2, c = 5. − Discriminant: D = 22 − 4(1)(5) = 4 − 20 = -16. − Since D < 0, roots are complex: √(-16) = 4i. − Formula: x = [-2 ± 4i] / (2 × 1) = -1 ± 2i. − Solutions: x1 = -1 + 2i, x2 = -1 − 2i.

Authoritative Standards and References

The quadratic formula has been used since antiquity, formalized by Indian mathematician Brahmagupta in the 7th century and later popularized by Al-Khwarizmi. For further theoretical foundations, refer to Wolfram MathWorld Quadratic Equation.

Common Mathematical Results & Factor Patterns

Compare discriminant values and resulting root characteristics across sample quadratic equations:

Equation ax² + bx + c = 0Discriminant Δ = b² − 4acNature of RootsExact Roots x
x² − 4x + 3 = 0(−4)² − 4(1)(3) = 4Two Distinct Realx = 3, x = 1
x² − 6x + 9 = 0(−6)² − 4(1)(9) = 0One Repeated Realx = 3
2x² + 3x − 5 = 0(3)² − 4(2)(−5) = 49Two Rational Rootsx = 1, x = −2.5
x² + 2x + 5 = 0(2)² − 4(1)(5) = −16Two Complex Rootsx = −1 ± 2i
x² − 2x − 1 = 0(−2)² − 4(1)(−1) = 8Two Irrational Rootsx = 1 ± √2

Real-World Practical Applications

In audio acoustics and electronic RLC circuits, the quadratic formula determines the resonant frequency and damping factor (underdamped, critically damped, or overdamped) based on whether the discriminant is positive, zero, or negative.

Common Pitfalls & Mistakes to Avoid

❌ Common Mistake

Miscalculating −b when b is negative, or omitting parentheses when computing (−b)².

✓ Correct Approach

If b = −6, then −b = −(−6) = +6, and b² = (−6)² = +36. Never calculate −6² as −36 inside the discriminant.

For authoritative curriculum guidelines, proofs, and academic definitions, consult Wolfram MathWorld Quadratic Equation.

Frequently Asked Questions

What is the difference between a quadratic function and a quadratic equation?

A quadratic function is a relation y = f(x) = ax2 + bx + c that graphs as a parabola in the Cartesian plane. A quadratic equation sets that function equal to zero (ax2 + bx + c = 0) to solve for the specific x-values where the graph intersects the x-axis.

Can ‘a’ ever be equal to zero?

No. If a = 0, the x2 term vanishes, reducing the equation to bx + c = 0, which is a linear equation, not a quadratic.

How do you handle negative values of ‘b’ in the formula?

Be careful with signs: -b means the opposite of b. If b = -6, then -b = -(-6) = +6.

What does it mean if the roots are complex?

Complex roots mean the parabola does not cross the x-axis in the real coordinate plane. The graph opens upward above the x-axis (if a > 0) or downward below it (if a < 0).