Zero Signup ToolsFree browser tools

Calculator Tools

Quadratic Formula Calculator

Solve any quadratic equation with the quadratic formula. Real or complex roots, discriminant, vertex, axis of symmetry, factored form, and a parabola preview.

Coefficients of a x² + b x + c = 0

Accepts integers (5), decimals (1.5), comma-decimals (1,5), and simple fractions (3/4). Use a sign for negatives.

Quick examples

Result

x^2 - 5x + 6 = 0

Roots

x1

2

x2

3

Discriminant D = b² - 4ac

D > 0, two distinct real roots

1

Vertex (h, k)

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

(2.5, -0.25)

Axis of symmetry

The vertical line through the vertex

x = 2.5

Y-intercept

The point where x = 0

(0, 6)

Direction

The parabola opens up when a > 0 and down when a < 0

Opens up

Sum of roots (Vieta)

r1 + r2 = -b/a

5

Product of roots (Vieta)

r1 * r2 = c/a

6

Factored form

Over the real numbers

(x - 2)(x - 3) = 0

Integer factorization

Over the integers, when factors exist

(x - 2)(x - 3) = 0

Parabola preview with axis of symmetry, vertex, roots, and y-interceptx = 2x = 3V (2.5, -0.25)y-int (0, 6)
ParabolaReal rootVertexAxis of symmetry

Step by step derivation

  1. 1.Equation: x^2 - 5x + 6 = 0
  2. 2.Identify coefficients: a = 1, b = -5, c = 6
  3. 3.Apply the quadratic formula: x = ( -b +/- sqrt(b^2 - 4ac) ) / (2a)
  4. 4.Substitute: x = ( -(-5) +/- sqrt((-5)^2 - 4*(1)*(6)) ) / (2*1)
  5. 5.Discriminant D = b^2 - 4ac = 25 - 24 = 1
  6. 6.D > 0, so the equation has two distinct real roots: x1 = 2, x2 = 3.

Formulas used

Quadratic formula

  • x = ( -b ± √(b² - 4ac) ) / (2a)
  • Discriminant D = b² - 4ac
  • D > 0: two distinct real roots
  • D = 0: one repeated real root x = -b/(2a)
  • D < 0: complex roots p ± q i

Parabola geometry

  • Vertex (h, k) where h = -b/(2a), k = c - b²/(4a)
  • Axis of symmetry x = -b/(2a)
  • Y-intercept (0, c)
  • Sum of roots: -b/a
  • Product of roots: c/a

How to use

  1. Enter the three coefficients a, b, and c from your equation a x^2 + b x + c = 0. a cannot be zero, otherwise the equation is not quadratic.
  2. Read the discriminant D = b^2 - 4ac at the top of the Result panel and the classification: two distinct real, one repeated, or two complex conjugate roots.
  3. Copy the individual roots, the vertex (h, k), the axis of symmetry, the y-intercept, the factored form, or the integer factorization if it exists, with the Copy buttons next to each card.
  4. Look at the parabola preview to confirm the shape, the roots where the curve crosses the x-axis, and the location of the vertex and y-intercept.
  5. Open the step-by-step derivation to copy the working into a homework write-up or a code review. Tap any preset to load a textbook example.
  6. Pick a decimal-places setting in the top-right to control how irrational roots and the vertex are rounded in the display.

About this tool

Quadratic Formula Calculator solves any equation of the form a x^2 + b x + c = 0 in your browser and shows the full analytic picture a student or engineer expects to see. Enter the three coefficients (integers, decimals, comma-decimals, or simple fractions like 3/4), and the tool returns the discriminant D = b^2 - 4ac, classifies the roots (two distinct real, one repeated real, or two complex conjugate), and computes them with the quadratic formula x = (-b plus or minus the square root of b^2 - 4ac) divided by 2a. When the discriminant is negative the roots are displayed in p plus or minus q i form with the real and imaginary parts split out so they read clearly. Alongside the roots you get the vertex (h, k) where h = -b/(2a) and k = c - b^2/(4a), the axis of symmetry x = h, the y-intercept (0, c), the direction the parabola opens (up when a is positive, down when a is negative), the sum of roots -b/a, and the product of roots c/a from Vieta's formulas. When the roots are real the tool prints the factored form a(x - r1)(x - r2), and when the coefficients are integers and the roots are rational it also prints an integer factorization like (2x - 1)(x + 2) = 0 by searching divisor pairs of a and c. A step-by-step derivation lists every line a teacher expects in a homework write-up: identify the coefficients, write the formula, substitute the values, compute the discriminant, and read off the roots. An SVG parabola preview centered on the vertex marks the real roots, the vertex, the axis of symmetry, and the y-intercept, so the geometric picture sits next to the algebra. Built-in presets cover the canonical cases that appear on every algebra worksheet: two distinct real roots, a perfect square trinomial with a repeated root, a negative discriminant with complex roots, a leading coefficient other than 1, irrational roots involving square roots of 2, and fractional coefficients. Useful for algebra 1 and algebra 2 homework, pre-calculus and physics problem sets (projectile motion, free-fall time, intersections of conic sections), trigonometry identities that reduce to a quadratic in sine or cosine, statistics regressions, engineering and economics break-even analysis, and quick sanity checks before plugging the answer into a graphing calculator. Coefficients and computed values stay in your browser.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsCalculator Tools