Quadratic Equation Solver
Everyday
A quadratic equation ax² + bx + c = 0 is solved by the quadratic formula x = (−b ± √(b² − 4ac)) / 2a. The part under the root, the discriminant b² − 4ac, decides what the roots look like: positive gives two distinct real roots, zero gives one repeated real root, and negative gives a complex-conjugate pair. Enter the three coefficients and this tool returns the roots (real or complex), the discriminant and what it means, the parabola's vertex and axis of symmetry, and the sum (−b/a) and product (c/a) of the roots. If a = 0 it falls back to the linear case bx + c = 0, and it flags the degenerate no-solution and all-numbers cases too.
Equation: x² −5x + 6 = 0
Roots
x₁ = 3, x₂ = 2
Two distinct real roots
Discriminant
1
Axis of symmetry
x = 2.5
Vertex
(2.5, -0.25)
Sum / product
5 / 6
x = (−b ± √(b² − 4ac)) / 2a. The discriminant b² − 4ac decides real vs. complex roots. Set a = 0 for a linear equation.
How to use
- Enter coefficients a, b and c from ax² + bx + c = 0 (a may be negative or fractional).
- Read the roots — two real, one repeated, or a complex conjugate pair.
- Check the discriminant, vertex, axis of symmetry, and the sum and product of the roots.
Frequently asked questions
- What is the quadratic formula?
- x = (−b ± √(b² − 4ac)) / 2a. It gives both roots of ax² + bx + c = 0; the ± produces the two solutions.
- What does the discriminant tell me?
- The discriminant is b² − 4ac. If it is positive there are two real roots, if zero there is one repeated real root, and if negative there are two complex-conjugate roots.
- What happens if a = 0?
- Then it is not quadratic but linear: bx + c = 0 with the single solution x = −c/b. The tool detects this and solves the linear case instead.
- What are the vertex and axis of symmetry?
- The parabola y = ax² + bx + c has its turning point (vertex) at x = −b/2a, and that vertical line is the axis of symmetry. The vertex y-value is the minimum or maximum of the parabola.
Related tools
Tile Calculator
Work out how many floor or wall tiles you need for a room — from its length and width and the tile size, with an adjustable waste allowance and boxes required.
Compound Interest Calculator
Project how a starting balance grows with regular contributions, your interest rate, and your compounding frequency.
Age Calculator
Calculate exact age in years, months, days — and find your next birthday.
BMI Calculator
Calculate Body Mass Index from height and weight, with a healthy range.
Tip Calculator
Calculate the tip and split the total bill between people.
Percentage Calculator
Work out percentages, what-percent, and percent change in one place.