Math calculator

Quadratic Formula Calculator

Solve a quadratic equation and inspect its discriminant and real roots.

✓ Tested formula✓ Instant result✓ Private by design
01
Enter your valuesResults update instantly as you type.

Your numbers stay on this device.

Understand the answer

Formula and method

Formulax = (−b ± √(b² − 4ac)) ÷ 2a.

The discriminant determines whether the equation has two, one or no real roots.

Worked example

x² − 5x + 6 = 0 has roots 2 and 3.

How to use this calculator

  1. Enter the values using the labels and units shown.
  2. Review the live result and supporting details.
  3. Check the formula, example and assumptions before using the answer.

Assumptions and limits

  • Coefficient a must not be zero.
  • This page reports real roots only.

Reference

Formula reviewed 2026-07-15

↑↓ Navigate · Enter Open · Esc Close