Quadratic Equation Solver

Solve ax² + bx + c = 0 for real or complex roots.

Private in your browserFree · No sign-up
Runs in your browser

Your details

Start with the example values below, then enter your own. Results update as you edit.

Your result

Your result will appear here

Enter valid details, or run the tool with the example values.

Method & assumptions

Computes the discriminant b² − 4ac, then applies the quadratic formula x = (−b ± √discriminant) / (2a); a negative discriminant gives a complex conjugate pair instead of real roots.

Limits to keep in mind

Coefficient a must not be zero — an equation with a=0 is linear, not quadratic. Coefficients are limited to ±1,000,000,000, and complex-root values are rounded to 4 decimal places.

Your input stays on this device. No uploads, no account.
FROM INPUT TO ANSWER

How to use the quadratic equation solver

  1. 01

    Enter your input

    Enter your own values or use an example to explore quadratic equation solver.

  2. 02

    Review the result

    The discriminant determines whether the roots are distinct real, repeated real or complex. Substitute the displayed roots into the original equation to check them.

  3. 03

    Compare or copy

    Adjust one input to compare outcomes. Copy the result when ready, or reset for a new calculation.

A LITTLE CONTEXT

About this quadratic equation solver

Solve a quadratic equation in the form ax² + bx + c = 0 for its roots, whether they're two real numbers, one repeated real root, or a complex conjugate pair. Enter the three coefficients a, b, and c, and this tool computes the discriminant b² − 4ac and applies the quadratic formula, showing complex roots in a + bi form when the discriminant is negative. Use this workspace to prepare a result you can review before putting it to use. All processing takes place on your device, without an account or an upload of your inputs. Check the examples to understand the expected output, read the limitations for the supported scope, and reset the form when you want to start a separate task.

How the quadratic equation solver works

Computes the discriminant b² − 4ac, then applies the quadratic formula x = (−b ± √discriminant) / (2a); a negative discriminant gives a complex conjugate pair instead of real roots.

Quadratic Equation Solver examples

01

a=1, b=-3, c=2

Roots 2 and 1
02

a=1, b=2, c=5

Roots −1 + 2i and −1 − 2i

Limitations & privacy

Coefficient a must not be zero — an equation with a=0 is linear, not quadratic. Coefficients are limited to ±1,000,000,000, and complex-root values are rounded to 4 decimal places.

Inputs and results stay in this browser. Only tool identifiers are stored for your recently used tools. You can clear that history from the directory.

Quadratic Equation Solver: frequently asked questions

How does the quadratic equation solver work?

Computes the discriminant b² − 4ac, then applies the quadratic formula x = (−b ± √discriminant) / (2a); a negative discriminant gives a complex conjugate pair instead of real roots.

What can I inspect in the quadratic equation solver result?

The quadratic solution steps helps you check the result before using it. Coefficient a must not be zero — an equation with a=0 is linear, not quadratic. Coefficients are limited to ±1,000,000,000, and complex-root values are rounded to 4 decimal places.

Does the quadratic equation solver upload my input?

Processing happens in your browser. No tool input or output is uploaded to a server. Use Reset to clear the current workspace before starting a separate task.

Updated September 20, 2026

Related tools for your next step

All tools