Quadratic Equation Calculator


Solve a real-coefficient quadratic, including complex roots, and locate its turning point. Useful for algebra, projectile models and optimization of quadratic expressions.

Each field is labelled with its meaning. Use consistent units within one calculation. Results are rounded for display.

Choose a mode, enter values and calculate. Use decimal points; lists accept commas or spaces.

Ange dina värden:
Resultat:

Formula and method

D = b²-4ac; x = (-b ± √D)/(2a). For D < 0, roots have real part -b/(2a) and imaginary magnitude √(-D)/(2|a|). Root sum = -b/a, product = c/a. Vertex = (-b/2a, c-b²/4a).

Worked example

x²-3x+2 = 0 has D = 1 and roots 1 and 2. Its vertex is (1.5,-0.25), a minimum.

Read the result

D determines real versus complex roots. The vertex gives a minimum when a is positive and a maximum when a is negative. Real-root computation uses a cancellation-resistant form.

Limits and edge cases

Coefficients must be finite with magnitudes at most 10^9; 10^-9 ≤ |a| ≤ 10^9. a = 0 is rejected. Results use floating-point arithmetic; nearly repeated roots can be sensitive to small coefficient changes.

Frequently asked questions

Does a negative discriminant mean no roots?

It means no real roots. The calculator displays the complex conjugate pair.

Can this solve a linear equation?

No. a must be nonzero; solve bx+c=0 separately when a=0.