Quadratic Formula Calculator
Last updated:
How to Use This Calculator
Step 1: Identify a, b, c from ax² + bx + c = 0.
Step 2: Enter a (cannot be zero), b, and c.
Step 3: Click Calculate for roots, discriminant, vertex, and step-by-step solution.
What Is a Quadratic Equation?
A quadratic equation has the form ax² + bx + c = 0 where a is not zero. Every quadratic has exactly two roots: two real, one repeated, or two complex.
The discriminant (b²-4ac) determines root type: positive = two real, zero = one repeated, negative = complex.
The graph is a parabola. Opens up if a>0, down if a<0. Vertex at x = -b/(2a).
The Quadratic Formula
x = (-b ± √(b²-4ac)) / (2a)
Discriminant:
- Positive: Two real roots
- Zero: One repeated root
- Negative: Two complex roots
Example: x²-5x+6=0 (a=1,b=-5,c=6)
D = 25-24 = 1
x = (5±1)/2, x1=3, x2=2
Discriminant Reference
| Discriminant | Root Type | Graph |
|---|---|---|
| Positive (>0) | Two real roots | Crosses x-axis twice |
| Zero (=0) | One repeated root | Touches x-axis once |
| Negative (<0) | Two complex roots | Does not cross x-axis |
Examples
Example 1: x²-5x+6=0: D=1, x=3 and x=2
Example 2: x²-6x+9=0: D=0, x=3 (double root)
Example 3: x²+2x+5=0: D=-16, x=-1±2i (complex)
Tips
Try factoring first. x²-5x+6 = (x-2)(x-3) is faster.
a cannot be zero. That makes it linear, not quadratic.
Negative discriminant = complex roots. Always in conjugate pairs.
Vertex for optimization. x=-b/(2a) gives max/min.
Frequently Asked Questions
Can the calculator handle complex and imaginary roots?
What happens if the coefficient a is zero?
What is the vertex of a parabola and why is it shown?
How can I verify that the calculator gave the correct roots?
What is the difference between roots, zeros, and solutions?
Can I use this calculator for cubic or higher-degree equations?
Related Calculators
Standard Deviation Calculator
Free standard deviation calculator. Enter your data to calculate ...
Percentage Calculator
Free percentage calculator. Calculate what percent of any number ...
Ratio Calculator
Free ratio calculator. Solve proportions by finding the missing v...
Random Number Generator
Free random number generator. Generate one or multiple random int...