Skip to main content

Quadratic Equation Solver — Discriminant, Roots, Vertex, Parabola

Quadratic equation solver — ax² + bx + c = 0, discriminant analysis, real + complex roots, vertex/intercepts, parabola visualization.

  • Runs locally
  • Category Calculator
  • Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
ax² + bx + c = 0

Accepts integers, decimals (0.5), fractions (1/2), negatives (−3).

Try a textbook example
Discriminant Δ = b² − 4ac
Δ = 1
Two distinct real roots (Δ > 0)
Roots
x₁ = 2
x₂ = 3
Vertex
(2.5, -0.25)
Axis of symmetry
x = 2.5
y-intercept
(0, 6)
x-intercepts
(2, 0), (3, 0)
Opens
upward (a > 0)
Parabola
Vertex marked ◆, real roots marked ●, y-intercept marked ◌.
Three ways to see the solution
Quadratic formula

Plug a=1, b=-5, c=6 into x = (−b ± √Δ) / 2a. With Δ=1, the roots are x = 2, 3.

Completing the square

Rewrite as 1(x − h)² + k = 0 with h=2.5, k=-0.25. Then x = h ± √(−k/a).

Vieta's formulas (verify)

For ax² + bx + c = 0, the sum of roots = −b/a = 5 and product = c/a = 6. Check this against the roots above.

10 classic exercises (with answers)
Click any row to load it into the solver and see the full breakdown.
All math runs locally — your numbers never leave this tab.

What this tool does

A complete solver for ax² + bx + c = 0 that returns every number a student or teacher actually needs in one pass, not just "the answer". Plug in any a, b, c (accepts integers, decimals like 0.5, fractions like 1/2, and negatives) and the page returns: the discriminant Δ = b² − 4ac, the kind of solution (two distinct real roots, one repeated real root, or a conjugate complex pair with the i), the vertex at (−b/2a, (4ac−b²)/4a), the axis of symmetry x = −b/2a, the y-intercept (0, c), the x-intercepts (which coincide with the real roots when they exist), and the opening direction. The solution is shown three different ways side by side: the quadratic formula, completing the square, and Vieta's formulas (so you can cross-check sum and product of roots). A dynamic SVG draws the parabola with axis labelled — the viewport auto-fits the vertex and roots so the curve always frames the interesting region. Ten classic textbook exercises with answers are included and one-click load into the solver. All math runs in your browser; no input is ever uploaded.

Tool details

Input
Text + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Preview
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Local preference storage
Preferences, history, or drafts are saved in this browser without an account.
Performance budget
Initial JS <= 18 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Calculator · Student
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Quadratic Equation Solver fits into your work

Use it for fast estimates, comparisons, and planning numbers before you make the final call.

Calculation jobs

  • Getting a realistic range before a purchase, plan, workout, or schedule decision.
  • Comparing scenarios by changing one input at a time.
  • Turning rough assumptions into a number you can discuss.

Calculation checks

  • Double-check units, dates, rates, and rounding assumptions.
  • Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
  • Save the inputs that produced an important result so you can reproduce it later.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Age Calculator Calculate your exact age — years, months, days, hours. Compare two dates or count to a future date. Open
  2. 2 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
  3. 3 Math Formula Reference Math formula reference — algebra, geometry, trigonometry, calculus, statistics, all in one place. Open

Real-world use cases

  • Verify a homework answer before turning it in

    You factored x² − 5x + 6 by hand and got x = 2, 3 — but you're not 100% sure of the signs. Plug a=1, b=−5, c=6 into the solver. It returns Δ = 1, two distinct real roots 2 and 3, vertex at (2.5, −0.25). The discriminant being a perfect square confirms the equation factors over the integers, and the three-method panel shows the quadratic formula, completing the square, and a Vieta's check (sum = 5, product = 6) all in one screen.

  • Understand why a parabola "doesn't have roots"

    A textbook problem asks you to solve x² + 2x + 5 = 0 and the answer key says "no real solutions". Plug it in: Δ = −16, the solver shows the complex conjugate pair −1 + 2i and −1 − 2i, and the parabola visualisation sits entirely above the x-axis with its minimum at (−1, 4). You can see, not just be told, why the curve never touches y = 0.

  • Find the vertex of a projectile motion problem

    Physics homework: a ball's height is h(t) = −5t² + 20t + 1. What's the maximum height and when does it happen? Enter a=−5, b=20, c=1. The vertex is (2, 21) — the ball reaches 21 metres at t = 2 seconds. The parabola opens downward (a < 0) as expected, and you don't need calculus to derive it; the vertex formula does the work.

  • Compare three solution methods side by side when learning

    Students typically meet the quadratic formula first and never quite understand where −b/2a comes from. Enter any equation and read the three method panels: the formula gives the mechanical answer, completing-the-square explains the geometry (the vertex jumps out as −b/2a), and Vieta's formulas show the sum-and-product structure that becomes the basis of polynomial root theory in later years.

  • Spot whether an equation has integer roots

    Before reaching for the formula, students often try to factor. The discriminant tells you instantly whether factoring will give nice numbers: Δ a perfect square ⇒ rational roots, otherwise you'll need the formula or completing the square. The solver returns Δ directly, so you can decide your strategy in one second before committing to a method.

Common pitfalls

  • Treating a = 0 as a valid input. If a = 0 the equation is no longer quadratic; the solver returns an explicit error rather than silently dividing by zero. Pull the linear case (bx + c = 0) into a separate calculation.

  • Confusing the discriminant's sign with the parabola's opening direction. Δ tells you how many real roots, a's sign tells you which way it opens — they are independent. A downward parabola can still have two real roots, and an upward one can have none.

  • Forgetting the ± in the quadratic formula. Both signs of √Δ are roots; if you only carry one, you're missing the other. The solver always lists both x₁ and x₂ even when they coincide, so the structure stays explicit.

Privacy

a, b, c and every derived number (discriminant, roots, vertex, intercepts) are computed locally in JavaScript. No coefficient you type and no result is ever sent to a server, logged, or analyzed. The solver works offline once the page is loaded — open it on a phone in airplane mode and it still works.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-06-13