Your files stay on your device

# Quadratic equation solver

Enter a, b, and c to solve ax² + bx + c = 0 and get the discriminant, real or complex roots, the vertex, and the axis of symmetry.

Enter a, b, and c to solve the equation.

The discriminant b² − 4ac picks the branch: positive gives two real roots, zero gives one repeated root, and negative gives a complex conjugate pair. The vertex sits at x = −b/2a and the axis of symmetry is the vertical line through it. A zero discriminant is decided exactly; when it instead lands within twelve significant digits of zero, both roots are still reported with a warning that they nearly coincide, because floating-point arithmetic can blur that line. This tool refuses a = 0 rather than quietly solving a straight line, and it does not draw the parabola or factor higher-degree polynomials.
Options

## More unit & math tools

- [Primes, GCD, and LCM](/converters/primes)
- [Fraction calculator](/converters/fractions)
- [Average and median](/converters/statistics)
[All unit & math tools](/converters)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/converters/quadratic-equation-solver
Markdown version: https://nutter.tools/converters/quadratic-equation-solver.md
Plain-text version: https://nutter.tools/converters/quadratic-equation-solver.txt
Agent index: https://nutter.tools/llms.txt

