Skip to content

Menu

Quadratic Equation Solver

Solve quadratic equations step by step

Runs entirely in your browserMath & FinanceFree, no sign-up
Loading tool

01What is Quadratic Equation Solver?

A quadratic looks simple until the numbers get awkward. This solver takes the three coefficients of ax² + bx + c = 0, and when you press Solve Equation it returns the roots, the vertex, the axis of symmetry and every line of working in between. It follows the textbook route. First it computes the discriminant, Δ = b² − 4ac, and shows each substitution. A positive Δ means two distinct real roots. Zero means one repeated root at −b/2a. A negative Δ gives a complex conjugate pair, written as real part plus or minus an imaginary part times i. The imaginary part uses √|Δ| / |2a|, so it stays positive even when a is negative. Where it differs from a naive script is floating point. For real roots it uses the numerically stable form found in numerical analysis texts. It computes q = −(b ± √Δ)/2 with the sign matching b, then takes q/a and c/q as the two roots. That keeps the tiny root of x² + 100000000x + 1 at about −1e-8 instead of collapsing to zero. It also catches a discriminant that should be zero but isn't, thanks to binary rounding. With 0.1x² + 0.6x + 0.9, the raw value is about −5.551e-17. The tool treats anything within 1e-12 of the larger term as zero and prints that fact in the steps. A quick example: enter a = 2, b = −7, c = 3. The discriminant is 49 − 24 = 25, so √Δ = 5. You get x₁ = 3.000000 and x₂ = 0.500000, with the vertex at (1.7500, −3.1250) and the axis of symmetry at x = 1.7500. Roots show six decimal places, or six significant digits for values below 1e-4. The vertex and axis show four decimals. Some limits are worth knowing. Coefficients go through standard double-precision numbers, so huge or extremely mixed magnitudes can still lose digits in the vertex. Setting a to 0 is refused, because the equation is then linear. Any field that isn't a number triggers a validation message. The tool does not draw a graph or factor the expression into brackets. If you need exact fractions or surds like √2 instead of 1.414214, use a computer algebra system. All the arithmetic happens in your browser tab, and the coefficients you type are never sent to a server.

Students checking algebra, tutors preparing worked examples, and developers who need a quick reference answer for a parabola, projectile or ray-sphere test. The tool runs entirely in your browser, so your data never leaves your device.

02How to use Quadratic Equation Solver

  1. Type the coefficient of x² into the a field, the coefficient of x into b, and the constant into c
  2. Or pick one of the built-in examples: Two Real Roots, One Repeated Root or Complex Roots
  3. Click Solve Equation
  4. Read the Discriminant (Δ) card to see if you have two real, one repeated or two complex roots
  5. Check the Roots, Vertex and Axis of Symmetry cards
  6. Follow the Step-by-Step Solution to see how each value was worked out

03Worked examples

Input: a = 2, b = -7, c = 3
Result: Δ = 25; x₁ = 3.000000, x₂ = 0.500000; vertex (1.7500, -3.1250)
A perfect-square discriminant gives rational roots.
Input: a = -1, b = 2, c = 3
Result: Δ = 16; x₁ = -1.000000, x₂ = 3.000000; vertex (1.0000, 4.0000)
With a negative, x₁ is the smaller root and the vertex is a maximum.
Input: a = 1, b = 2, c = 5
Result: Δ = -16; x₁ = -1.000000 + 2.000000i, x₂ = -1.000000 − 2.000000i
Complex pair: real part −b/2a, imaginary part √|Δ| / |2a|.
Input: a = 0.1, b = 0.6, c = 0.9
Result: Δ = 0 (raw floating-point result -5.551e-17 treated as 0); x = -3.000000
Shortened from the steps. Rounding noise in the discriminant is recognised and reported.
Input: a = 1, b = 100000000, c = 1
Result: x₁ = -1.00000e-8, x₂ = -100000000.000000
The stable c/q form keeps the small root accurate, shown in significant digits.
Input: a = -4.9, b = 20, c = 1.5
Result: Δ = 429.4; x₁ = -0.073670, x₂ = 4.155303; vertex (2.0408, 21.9082)
A projectile launched at 20 m/s from 1.5 m lands after about 4.155 s and peaks near 21.9 m.

04Common use cases

  • Checking a homework answer line by line against the discriminant and formula steps the solver prints
  • Finding when a ball thrown upward lands, using h(t) = −4.9t² + v₀t + h₀ and reading the positive root
  • Locating the maximum of a profit or area function from its vertex when a is negative
  • Solving a ray and sphere intersection in a graphics prototype, where Δ < 0 tells you the ray misses
  • Testing your own quadratic routine against tricky inputs like x² + 100000000x + 1
  • Building worked examples for a tutoring session, including a repeated root and a complex pair

05Tips

  • Check the result with Vieta's formulas: the roots should add up to −b/a and multiply to c/a.
  • When a is negative, x₁ (the formula's plus root) is the smaller of the two, so don't assume x₁ is always on the right.
  • If the steps mention a raw floating-point result treated as 0, your decimal coefficients describe a perfect square. Scaling them to integers (x² + 6x + 9 instead of 0.1x² + 0.6x + 0.9) gives the same roots.
  • For projectile problems, ignore the negative time root. It is where the parabola crosses zero before the throw.
  • Roots below 1e-4 switch to significant digits, so −1.00000e-8 is a real answer, not a display glitch.

06Related concepts

quadratic formula, discriminant, complex roots, parabola vertex, Vieta's formulas, catastrophic cancellation.

Frequently Asked Questions

What is Quadratic Equation Solver?

Quadratic Equation Solver is a free, browser-based developer tool on AIDToolStack. Solve quadratic equations step by step It requires no installation or sign-up and works entirely in your browser.

Is Quadratic Equation Solver free to use?

Yes. No sign-up, no fees and no usage cap.

Does Quadratic Equation Solver store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe