Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

Quadratic Formula Calculator — Free Online Equation Solver

Solve any quadratic equation ax² + bx + c = 0 instantly with discriminant analysis, vertex form, complex root support, and parabola direction indicators.

Equation

x² - 5x + 6 = 0

Quadratic Formula

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

Solutions

Two Distinct Real Roots

x₁ = 3.0000000000

x₂ = 2.0000000000

Discriminant (b² - 4ac)

1.0000(Positive — two real roots)

Vertex (h, k)

(2.5000, -0.2500)

Axis of Symmetry

x = 2.5000

Vertex Form

y = (x - 2.5000)² + -0.2500

Parabola Direction

Opens upward (minimum)

Discriminant Analysis Reference Table

Equation a, b, c Discriminant Root Type Solutions
x² - 5x + 6 = 01, -5, 61Two real2, 3
x² - 6x + 9 = 01, -6, 90One repeated3
x² + x + 1 = 01, 1, 1-3Complex-0.5 ± 0.866i
2x² + 3x - 5 = 02, 3, -549Two real1, -2.5
x² - 2x + 1 = 01, -2, 10One repeated1
-x² + 4x - 5 = 0-1, 4, -5-4Complex2 ± i
3x² - 12 = 03, 0, -12144Two real2, -2

Related Calculators

About this calculator

The Quadratic Formula

Standard Quadratic Formula

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

Discriminant

D = b² - 4ac

Vertex Coordinates

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

Vertex Form

y = a(x - h)² + k

Variables Explained

  • a (Leading Coefficient): Controls the width and direction of the parabola. Larger |a| means a narrower parabola. The sign of a determines whether the parabola opens upward (a > 0, minimum vertex) or downward (a < 0, maximum vertex).
  • b (Linear Coefficient): Together with a, determines the axis of symmetry at x = -b/(2a). Changing b shifts the vertex horizontally and affects which direction the parabola is shifted from the y-axis.
  • c (Constant Term): The y-intercept of the parabola. When x = 0, y = c. Increasing c shifts the parabola upward; decreasing c shifts it downward.
  • D (Discriminant): The value b² - 4ac determines root nature. D > 0 means two distinct real roots, D = 0 means one repeated root, D < 0 means complex conjugate roots.

Step-by-Step Example

Solve 2x² + 3x - 5 = 0:

  1. Identify coefficients: a = 2, b = 3, c = -5
  2. Calculate the discriminant: D = 3² - 4(2)(-5) = 9 + 40 = 49
  3. Since D > 0, there are two distinct real roots
  4. x = (-3 ± sqrt(49)) / (2 x 2) = (-3 ± 7) / 4
  5. x₁ = (-3 + 7) / 4 = 4/4 = 1
  6. x₂ = (-3 - 7) / 4 = -10/4 = -2.5

Verify: 2(1)² + 3(1) - 5 = 2 + 3 - 5 = 0. Also: 2(-2.5)² + 3(-2.5) - 5 = 12.5 - 7.5 - 5 = 0. Both roots check out.

Sources

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: November 3, 2026