Calculators

Quadratic Equation Solver

Solve quadratic equations ax squared plus bx plus c equals 0 locally in your browser.

Enter a, b, and c for ax² + bx + c = 0 with a non-zero a from -1000000 to 1000000. For example, 1, -3, and 2 gives x1 = 2 and x2 = 1. The calculation runs locally in your browser; your values are not uploaded or stored.

Your solutions will appear here.

Find real or complex roots without uploading anything.

Enter coefficients a, b, and c with a non-zero a to solve ax squared plus bx plus c equals 0 using the quadratic formula. Everything runs locally in your browser, so your values are not uploaded or stored.

Frequently Asked Questions

Everything you need to know about this tool, how it works, and privacy.

What does the quadratic equation solver show?

Enter coefficients a, b, and c with a non-zero a for ax squared plus bx plus c equals 0. The solver returns the two real roots, the repeated root, or the complex conjugate pair, plus the discriminant b squared minus 4ac.

How are quadratic roots calculated?

The solver uses the quadratic formula x equals minus b plus or minus the square root of the discriminant, divided by 2a. A positive discriminant gives two real roots, zero gives one repeated root, and a negative discriminant gives two complex roots.

Which inputs are accepted?

Enter numbers for a, b, and c from -1000000 to 1000000. The coefficient a cannot be zero because that makes the equation linear rather than quadratic. Values outside the limit show a clear error instead of a result.

Do my numbers stay private?

Yes. The calculation and copy action run locally in your browser. CodeASystem does not upload or store the values you enter.