📐

Quadratic Equation Solver

Solve quadratic equations ax² + bx + c = 0, including complex roots, with step-by-step working.

Built and maintained by Abdur Rehman · Free, no sign-up

Loading Quadratic Equation Solver…
🔒PrivateRuns in your browser — nothing is uploaded.
⚡FastInstant results, no waiting in queues.
💸FreeNo sign-up, no watermark, no limits.
📱AnywhereWorks on phone, tablet and desktop.
</> Embed this tool on your website — free

Paste this code into any web page or blog post (WordPress: use a “Custom HTML” block). It's free for personal, school and business sites — just keep the credit link.

How to use the Quadratic Equation Solver

  1. Enter coefficients a, b and c
  2. See the discriminant and roots
  3. Follow the step-by-step solution

Roots with full working

Enter the coefficients a, b and c of ax² + bx + c = 0 to get both roots, the discriminant and a step-by-step solution. Real and complex roots are both handled.

The quadratic formula

x = (−b ± √(b² − 4ac)) ÷ 2a. The discriminant b² − 4ac tells you what to expect: positive → two real roots; zero → one repeated root; negative → two complex roots.

Example

x² − 5x + 6 = 0 → a = 1, b = −5, c = 6 → discriminant = 25 − 24 = 1 → x = (5 ± 1) ÷ 2 → x = 3 or x = 2.

By factoring

The same equation factors as (x − 2)(x − 3) = 0. Factoring is quicker when the roots are whole numbers; the formula always works. Use the solver to check that your factors give the same roots.

On a calculator, in Excel or Python

On a TI-84, use the PlySmlt2 app. In Excel, one root is =(-B1+SQRT(B1^2-4*A1*C1))/(2*A1). In Python, use cmath.sqrt so complex roots work too.

Frequently asked questions

How accurate is the Quadratic Equation Solver?

Quadratic Equation Solver uses standard, widely accepted formulas and calculates instantly as you type. Results are for general information — for important academic decisions, please confirm with a qualified professional or your institution.

🧮 Keep exploring Math & Converters

See all Math & Converters