Equation solver
Solve common algebra equations by entering their coefficients. For a linear equation ax + b = c you get x, or a note that every value or no value works. For a quadratic ax² + bx + c = 0 you get both roots, real or complex, the discriminant and the vertex of the parabola, computed in a way that stays accurate even when the roots are very different in size. For systems of two or three linear equations you get each unknown, or a message when there is no solution or infinitely many.
Equation
ax² + bx + c = 0
Enter all the coefficients.
How to use the Equation Solver
- 1
Choose the equation type
Linear, quadratic, or a system of 2 or 3 equations.
- 2
Enter the coefficients
Use 0 for missing terms and negative numbers for subtraction.
- 3
Read the solution
Roots, discriminant and vertex, or the values of x, y and z.
How the equations are solved
Quadratics use q = −(b + sign(b)√D) ÷ 2, x₁ = q ÷ a, x₂ = c ÷ q, which avoids losing precision when b² is much larger than 4ac. Systems use Gaussian elimination with partial pivoting.
- x = (c − b) ÷ a
- D = b² − 4ac
- x = (−b ± √D) ÷ 2a
When to use it
- Check homework answers.
- Find where two lines cross.
- Solve for unknowns in physics or finance problems.
Limits
- Coefficients only: the tool does not read typed expressions.
- Results are rounded to 6 decimal places for display.
Privacy
Everything is calculated in your browser. Nothing you enter is sent anywhere or stored.
Frequently asked questions
What does the discriminant tell me?
If it is positive there are two real roots, if zero one repeated root, and if negative two complex roots.
How do I enter x² − 5x + 6 = 0?
a = 1, b = −5, c = 6.
What does no solution mean for a system?
The equations contradict each other, like two parallel lines that never meet.
What does infinitely many solutions mean?
At least one equation repeats the information of the others, so there is a whole line or plane of answers.
Can it solve cubic equations?
Not yet; it covers linear and quadratic equations and linear systems.
Related tools
People also use
- Age CalculatorExact age in years, months and days, and days to your next birthday.
- Unit ConverterLength, weight, temperature, land area, data and more.
- Date CalculatorDays between two dates, or a date plus or minus days, months, years or working days.
- Time Zone ConverterConvert a date and time between time zones, with daylight saving time and UTC offsets.
Last updated November 22, 2026 · How we build and test our tools