Quadratic formula

Enter the coefficients a, b and c.

Result
No result yet.

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

Example

Solve a quadratic equation ax² + bx + c = 0 and get both roots.

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

Processed locally in your browser.

Methodology

x = (−b ± √(b² − 4ac)) / 2a.