How to use the calculator
- Rewrite each equation in the form ax + by = c.
- Enter all six coefficients, including zero or negative coefficients where appropriate.
- Read x and y, or the explanation when the equations do not determine a unique solution.
- Select Calculate to update the answer and breakdown. Select Reset to bring back the example.
Formula
For ax + by = c and dx + ey = f, determinant D = ae − bd. When D ≠ 0, x = (ce − bf) ÷ D and y = (af − cd) ÷ D.
Worked example
2x + y = 5 and x − y = 1 have the unique solution x = 2 and y = 1.
Understanding your result
Parallel distinct lines have no solution. Two equations describing the same line have infinitely many solutions. A unique solution is their intersection.
Assumptions and limits
Supports two equations with real coefficients. Calculations use floating-point arithmetic. Very small determinants relative to coefficient size are reported as numerically sensitive rather than a reliable unique answer.
Common questions
What should I enter when a term is missing?
Enter zero for its coefficient. For x = 3, use 1 for x, 0 for y, and 3 on the right.
Why can a tiny determinant be a problem?
Nearly parallel equations magnify small input or rounding errors. Use higher precision methods when the calculator reports sensitivity.
Method and references
Formula and examples checked 2026-12-04. How we check calculations.