THE IDEA BEHIND THE ANSWER
A formula you can follow.
x = (−b ± √(b² − 4ac)) / (2a)
Enter coefficients for ax² + bx + c = 0. Coefficient a cannot be zero. Results are approximate, including complex roots.
ALGEBRA / ONE CLEAR STEP AT A TIME
Find two real roots, a repeated root or a complex pair.
Start with the example below, or enter your values.
⌘ Your inputs stay in this browser.
Enter your numbers and we’ll work through the calculation together.
YOUR RESULT
THE IDEA BEHIND THE ANSWER
x = (−b ± √(b² − 4ac)) / (2a)
Enter coefficients for ax² + bx + c = 0. Coefficient a cannot be zero. Results are approximate, including complex roots.
GOOD TO KNOW
Enter coefficient a, coefficient b, constant c. Choose any available mode, then select Calculate. The example numbers are a starting point you can change.
A message explains what to change. Previous results are cleared when you edit an input, so the answer always matches the values you calculated.
No. These tools calculate locally in your browser, without an account. Displayed numeric results are rounded; these tools do not provide arbitrary-precision arithmetic.