Free Quadratic Formula Calculator
Stuck on ax² + bx + c = 0? Punch in a, b and c below and this quadratic formula calculator spits out both roots real numbers if there are any, complex numbers if there aren't along with every step it took to get there.
Also useful: Cubic Equation Calculator, FOIL Calculator, Percentage Difference Calculator or the full calculator list.
Quadratic Formula Calculator
ax2 + bx + c = 0
What the Discriminant Tells You
one repeated real root
two different real roots
two complex roots
Answer
Solution:
Share This Calculation
Opens with a, b, c and this result already filled in.
Enter a, b and c and both roots, worked out step by step, will appear here.
How to Use This Calculator
Three boxes. That's really all there is to it.
- Type your a, b and c values from ax² + bx + c = 0 into the matching boxes.
- Hit Calculate. You'll get both roots straight away the calculator figures out on its own whether they're real numbers or complex ones and formats them accordingly.
- Scroll down a little and you'll see the whole thing worked out, step by step, exactly the way you'd do it by hand.
- Copy the answer if you just need the numbers, print a clean version with just your equation and the working (no ads, no sidebar), or share a link that reopens with your exact values and result already there.
- Clear resets a, b and c if you want to try a different equation.
The Formula, Worked Through
x = (−b ± √(b² − 4ac)) ÷ 2a
That little symbol under the square root, b² − 4ac, is called the discriminant, and it's basically deciding your fate before you even finish the calculation. Positive, and you get two real answers. Zero, and both answers collapse into the same number. Negative, and you're headed into complex number territory.
Take 12x² + 28x + 15 = 0. Here a=12, b=28, c=15.
b² − 4ac = 28² − 4(12)(15) = 784 − 720 = 64
√64 = 8
x = (−28 ± 8) ÷ 24
x = −20/24 = −0.833333
x = −36/24 = −1.5
Discriminant came out positive, so two clean real answers, no surprises there.
Why Not Just Do It by Hand?
You absolutely can, and for something like x² − 5x + 6 = 0 you probably should, it's quick. But a few things get messy fast:
- Square roots of negative numbers trip people up constantly. Miss that the discriminant went negative and you'll end up trying to take the square root of a negative number the "normal" way, which just doesn't work.
- Simplifying the radical by hand (turning √44 into 2√11, say) is a step people skip or get wrong under time pressure.
- Bigger coefficients mean more room for a sign error somewhere in the middle, and one small slip changes the whole answer.
- Seeing the full working means you can actually check where you went wrong, instead of just knowing your answer doesn't match.
What a, b and c Actually Mean
- a - the coefficient on x². Can't be zero, or the equation stops being quadratic at all.
- b - the coefficient on x. Can be positive, negative, or zero.
- c - the constant term, with no x attached. Also fine as zero (in fact, if c is 0, x=0 is always one of your answers).
- The discriminant (b²−4ac) - not something you type in, but it's what the formula quietly checks first to decide whether your answers will be real or complex.
Frequently Asked Questions
Explore our advanced mathematical formulas and scientific calculation tools: