Quadratic formula calculator
Solve ax² + bx + c = 0 with real or complex roots, including fractional coefficients.
Get started
- Use the example values or enter your own measurements.
- Calculate, then copy the result or download the available details.
Example
Input
a=1, b=−5, c=6Expected result
x₁=2, x₂=3Good to know
The calculation runs in your browser. Use consistent units in fields with no explicit unit.
Calculation method
Use the discriminant b²−4ac. A zero quadratic coefficient reduces the expression to a linear equation.