Equation Solver

The equation solver handles the equations students and engineers meet most: linear (ax + b = c), quadratic, cubic, and systems of two or three linear equations. Enter the coefficients and get exact real or complex roots, with the discriminant, vertex and working for quadratics. It's numerically careful and runs in your browser.

Methods

EquationMethod
ax + b = cRearrangement
ax² + bx + c = 0Stable quadratic formula
CubicCardano / trigonometric + Newton
Linear systemGaussian elimination with pivoting

When to use it

  1. Check algebra homework answers.
  2. Find where two lines intersect.
  3. Solve a cubic from a physics or engineering problem.
  4. Find the roots and vertex of a parabola.

How to Use

  1. Choose the type of equation.
  2. Enter the coefficients.
  3. Read the roots or solution.

Features

  1. Linear, quadratic and cubic
  2. 2×2 and 3×3 systems
  3. Real and complex roots
  4. Discriminant and vertex
  5. Numerically stable methods
  6. 100% client-side

FAQs

How do I solve a system of equations?

Choose 2 or 3 equations, enter the coefficients of x, y (and z) and the constant on the right of each, and read the solution.

Can it find complex roots?

Yes. Quadratics and cubics with no real roots show complex ones as a ± bi.

What does the discriminant tell me?

Positive: two real roots. Zero: one repeated root. Negative: two complex roots.

What if the system has no unique solution?

The solver tells you the equations are dependent or inconsistent.

Is anything uploaded?

No. It runs in your browser.

Technical Details

Linear equations ax + b = c are rearranged to x = (c − b) ÷ a, with the special cases of no solution or infinitely many when a is 0. Quadratics use the discriminant b² − 4ac to classify the roots and the numerically stable form of the quadratic formula — q = −½(b + sign(b)√disc), x₁ = q ÷ a, x₂ = c ÷ q — which avoids the loss of precision the textbook formula suffers when b² is much larger than 4ac; complex roots are shown as a ± bi, along with the vertex and axis of symmetry. Cubics are reduced to a depressed cubic and solved with Cardano's formula when there's one real root or the trigonometric method when there are three, then each real root is polished with Newton's method. Systems of two or three linear equations are solved by Gaussian elimination with partial pivoting, and dependent or inconsistent systems are reported instead of a wrong answer.

Calculators & Converters

Calculators & Converters

  • Quadratic Equation Solver
  • Exponent & Logarithm Calculator
  • Fraction Calculator
  • GCD & LCM Calculator
  • Matrix Calculator
  • Prime Number Checker
  • Ratio & Proportion Calculator
  • Roman Numeral Converter