Free Online Calculator

Quadratic Formula Calculator

Solve quadratic equations with full steps.

Last updated: Free, no sign-up Private — runs in your browser

Quick answer: the quadratic formula

x = (−b ± √(b² − 4ac)) ÷ 2a. For x² − 3x − 4 = 0 the roots are 4 and -1.

Overview of the Quadratic Formula Calculator

A quadratic equation has the form ax² + bx + c = 0. Enter the coefficients a, b and c and the calculator solves it with the quadratic formula, shows the discriminant and the type of roots (two real, one repeated or two complex), the vertex and axis of symmetry of the parabola, the sum and product of the roots and a step-by-step working table.

The discriminant b² − 4ac tells you the kind of roots before solving. See also the Root Calculator, Exponent Calculator, Slope Calculator and the Scientific Calculator.

How We Calculate

The calculator applies the standard method step by step.

  1. Write the equation as ax² + bx + c = 0 and read off a, b and c (a cannot be 0).
  2. Compute the discriminant D = b² − 4ac.
  3. If D > 0: two real roots; D = 0: one repeated root; D < 0: two complex roots.
  4. Apply x = (−b ± √D) ÷ 2a.
  5. The vertex is at x = −b ÷ 2a, with y found by substituting back.
x = (−b ± √(b² − 4ac)) ÷ 2a   vertex = (−b ÷ 2a, f(−b ÷ 2a))
Worked example — quadratic formula calculator
ItemValue
Equation1x² − 3x − 4 = 0
Discriminant (b² − 4ac)25
Type of rootsTwo distinct real roots
x₁4
x₂-1
Vertex of the parabola(1.5, -6.25)
Axis of symmetryx = 1.5
OpensUpward (minimum at the vertex)
y-intercept-4
Sum of roots (−b/a)3
Product of roots (c/a)-4
Steps using x = (−b ± √(b² − 4ac)) ÷ 2a
StepWorking
1. Identifya = 1, b = -3, c = -4
2. Discriminantb² − 4ac = 9 − -16 = 25
3. Square root√25 = 5
4. Roots4 and -1
Roots of different quadratics
Equation (= 0)Roots
x² − 3x − 44 and -1
x² + 2x + 1-1
x² + 2x + 5-1 ± 2i
2x² − 4x − 63 and -1
−x² + 4-2 and 2

Quadratic Formula Calculator — Frequently Asked Questions

What is the quadratic formula?

x = (−b ± √(b² − 4ac)) ÷ 2a — it gives the solutions of ax² + bx + c = 0.

What is the discriminant?

b² − 4ac. Positive means two real roots, zero means one repeated root, negative means two complex roots.

What does it mean if the roots are complex?

The parabola never crosses the x-axis; the solutions involve i, the square root of −1.

How do I find the vertex of a parabola?

x = −b ÷ 2a; substitute that x into the equation to find y.

Why can't a be zero?

Then the x² term vanishes and the equation is linear, not quadratic.

What are the sum and product of the roots?

Sum = −b ÷ a and product = c ÷ a — useful to check your answers.

How is the quadratic formula calculator calculated?

It uses the standard method: x = (−b ± √(b² − 4ac)) ÷ 2a   vertex = (−b ÷ 2a, f(−b ÷ 2a)) The full working and a worked example are shown on this page.

How accurate is this calculator?

Decimal results use standard double-precision arithmetic (about 15–16 significant digits). Tools that work with whole numbers — big numbers, factors, bases, combinations — use exact integer arithmetic, so no digits are lost.

Can I use it for homework or exams?

Yes for checking your work and learning the method. The steps and formula are shown so you can understand the answer, but follow your teacher's rules about calculators in exams.

Is my data stored?

No. Everything is calculated in your browser and nothing you enter is uploaded or saved.

More Free Calculators You May Need

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

9 + 7 =
Call WhatsApp