Everyday maths

Quadratic Equation Solver: Solve ax² + bx + c = 0 with Steps, Roots and a Graph

Type the three coefficients a, b and c of ax² + bx + c = 0. You get the discriminant, both roots (real or complex), the vertex, the factorised form when it exists and a graph, all with the quadratic formula worked out step by step.

✅ No login needed100% freeRuns in your browserNothing savedYour data stays on your device
Quadratic Equation Solver✅ Free · no login📚 Cite this tool
Your data never leaves your PC. Everything you type is calculated on your own computer or phone. Nothing is saved, not even in your browser, and it is gone when you close the page. Nothing is uploaded, stored or seen by Codanics, and no login is needed.

x² + x + = 0

  • PriceFree, no login or sign-up needed
  • Your dataCalculated in your browser; nothing is saved
  • Works onPhone, tablet or computer, any modern browser
  • Made byDr. Muhammad Aammar Tufail, Codanics
  • Published24 November 2026
  • Last updated24 November 2026

📚 How to cite this tool

This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.

Citation · APA 7th edition

Tufail, M. A. (2026). Quadratic equation solver [Online tool]. Codanics. Retrieved 24 November 2026, from https://codanics.com/tools/quadratic-equation-solver/

In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)

The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 24 November 2026.

🚀 Follow Codanics channel on WhatsApp for more updatesNew free tools, scholarships, PhD positions and research tips, straight to your phone. Free lessons on YouTube too.

How to use the quadratic equation solver

  1. Rearrange your equation so one side is 0, in the form ax² + bx + c = 0.
  2. Type a, b and c. Use a minus sign for negative values and 0 for a missing term (for x² − 9 = 0, b = 0).
  3. Read the roots, discriminant, vertex and factorised form. The graph shows where the curve crosses the x-axis.
  4. Follow the step-by-step quadratic formula working, or press Copy result.

The quadratic formula

A quadratic equation is an equation of the form ax² + bx + c = 0 with a ≠ 0, and its solutions are x = (−b ± √(b² − 4ac)) ÷ 2a. The part under the square root, D = b² − 4ac, is called the discriminant. It tells you what kind of roots to expect before you finish the working.

x = (−b ± √D) ÷ 2a, where D = b² − 4ac Vertex: h = −b ÷ 2a, k = c − b² ÷ 4a Sum of roots = −b ÷ a, product of roots = c ÷ a
DiscriminantRootsGraph
D > 0, perfect squareTwo different rational roots; it factorisesCrosses the x-axis twice
D > 0, not a perfect squareTwo different irrational rootsCrosses the x-axis twice
D = 0One repeated real rootTouches the x-axis at the vertex
D < 0Two complex roots p ± qiDoes not touch the x-axis

Worked example: 2x² − 4x − 6 = 0

  1. Read the coefficients: a = 2, b = −4, c = −6.
  2. Discriminant: D = (−4)² − 4 × 2 × (−6) = 16 + 48 = 64.
  3. √64 = 8, so x = (4 ± 8) ÷ 4.
  4. x₁ = 12 ÷ 4 = 3 and x₂ = −4 ÷ 4 = −1.
  5. Factorised form: 2(x − 3)(x + 1). Check: 2(x² − 2x − 3) = 2x² − 4x − 6.
  6. Vertex: h = 4 ÷ 4 = 1, k = 2 − 4 − 6 = −8, so the lowest point is (1, −8).

Vertex, axis and the shape of the parabola

The graph of y = ax² + bx + c is a parabola. If a > 0 it opens upwards and the vertex is the minimum. If a < 0 it opens downwards and the vertex is the maximum. The axis of symmetry is the vertical line x = −b ÷ 2a, exactly halfway between the two roots. The curve crosses the y-axis at (0, c).

Common mistakes

  • Forgetting brackets when b is negative: (−4)² is 16, not −16.
  • Dividing only √D by 2a. The whole top, −b ± √D, is divided by 2a.
  • Not moving every term to one side first. For x² = 5x − 6, rewrite as x² − 5x + 6 = 0.
  • Using the formula when a = 0. Then the equation is linear: x = −c ÷ b.
Need a square root or a power on its own? Use the power, root and log calculator. For mixed expressions with brackets, try the scientific calculator.
Learn the statistics behind these numbers. Codanics has free statistics, R and Python lessons on YouTube and full courses for researchers.

Frequently asked questions

What is the quadratic formula?

For ax² + bx + c = 0 with a ≠ 0, x = (−b ± √(b² − 4ac)) ÷ 2a. The ± gives the two roots.

What does the discriminant tell you?

D = b² − 4ac. If D > 0 there are two real roots, if D = 0 there is one repeated root, and if D < 0 there are two complex roots and the graph does not cross the x-axis.

How do I know if a quadratic can be factorised?

With whole-number coefficients, it factorises into whole-number brackets when the discriminant is a perfect square, such as 64 or 1. Then the roots are rational.

How do I find the vertex of a quadratic?

The x-coordinate is h = −b ÷ 2a. Put it back into the equation to get k. For 2x² − 4x − 6, h = 1 and k = −8, so the vertex is (1, −8).

What are complex roots?

When D < 0, the square root of a negative number appears. The roots are written p ± qi, where i = √−1. For x² + 2x + 5 = 0 the roots are −1 ± 2i.

Does this solver save my equations?

No. Everything is calculated in your browser and nothing is saved or uploaded. When you close the page, your numbers are gone.

Do I need to log in or create an account to use the quadratic equation solver?

No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.

How do I cite this tool in my thesis or paper?

Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Quadratic equation solver [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/quadratic-equation-solver/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.

Free guides and courses from Codanics

More free tools

See all free Codanics tools → · Codanics on YouTube · WhatsApp channel

Made by Dr. Muhammad Aammar Tufail, Codanics. First published 24 November 2026, last updated 24 November 2026. Found a bug or have an idea for a new tool? Tell us on the WhatsApp channel or in the comments on YouTube. Results are for learning and planning; check important analyses with a statistician or your supervisor.