Quadratic Equation Solver

Find exact and decimal roots, formula steps, vertex forms, and a graph for ax² + bx + c = 0.

Solve ax² + bx + c = 0

Solve ax² + bx + c = 0 for exact and decimal roots. Review the discriminant, formula steps, vertex, equation forms, and a scaled parabola graph. Everything is calculated in your browser.

Enter the coefficients

Use signed numbers, decimals, scientific notation, or integer fractions such as 3/4. Coefficients range from 0 or 1e-12 through 1e12; decimal precision is limited to 12 places.

Coefficients for ax squared plus bx plus c equals zero
Must not be zero
Multiplies x
Constant term

Try an example

Enter coefficients and solve to see exact roots, steps, and the parabola graph.

How to solve a quadratic equation

A quadratic equation has the form ax² + bx + c = 0, where a is non-zero. The quadratic formula is x = (−b ± √(b² − 4ac))/(2a). The expression under the square root is the discriminant, and its sign determines whether the roots are distinct real values, one repeated real value, or a complex conjugate pair.

How to use this solver

  1. Enter a, b, and c from the equation in standard form.
  2. Choose Solve equation to see exact and decimal solutions.
  3. Review the worked steps, vertex, forms, and graph.

Example: for x² − 3x + 2 = 0, the discriminant is 1 and the roots are 2 and 1, so the equation factors as (x − 2)(x − 1) = 0. Rearrange equations into standard form before entering their coefficients.

Related tools: Pythagorean theorem calculator and prime factorization calculator.

Quadratic Equation Solver features

Solve quadratic equations in your browser with exact and decimal roots, formula steps, vertex information, and a graph.

  • Solve two-real-root, repeated-root, and complex-root equations.
  • Enter integer, decimal, scientific-notation, or fraction coefficients.
  • See exact roots alongside decimal approximations and the discriminant.
  • Review substituted formula steps, vertex, axis, and equation forms.
  • Explore a responsive parabola graph with real roots and vertex marked.
  • Load examples, reset values, copy a result, or share coefficients in a link.
  • Calculate locally in your browser without sending coefficients to a server.

Quadratic Equation Solver FAQ

What is the discriminant of a quadratic equation?

For ax² + bx + c = 0, the discriminant is Δ = b² − 4ac. A positive value gives two distinct real roots, zero gives one repeated real root, and a negative value gives a complex conjugate pair with no real x-intercepts.

Can I enter fractions as coefficients?

Yes. Enter an integer fraction such as 3/4, a decimal, a signed number, or scientific notation. Fraction denominators cannot be zero. Coefficients must be zero or have an absolute value from 1e-12 through 1e12.

Why must coefficient a be non-zero?

If a is zero, the x² term disappears and the equation is linear or degenerate rather than quadratic. This calculator asks for a genuine quadratic equation, so it reports an error instead of switching equation types.

Are the decimal roots exact?

No. Decimal roots are rounded for display. The separate exact form is a reduced rational root when the discriminant is a perfect square, or an exact radical formula otherwise.

Does the calculator send my coefficients to a server?

No. The equation is calculated in this page in your browser. Coefficients are only placed in the share link if you choose Copy share link.

Infinio Tools
© 2026 Infinio Labs