Simultaneous Equations Calculator (2 Variables)
Enter coefficients for equations in the form a₁x + b₁y = c₁ and a₂x + b₂y = c₂.
Equation 1
Equation 2
Tip: This solver uses Cramer's Rule and handles unique, infinite, or no-solution cases.
What is a simultaneous equations calculator?
A simultaneous equations calculator helps you solve two or more equations that share the same unknown variables. In this page, the calculator solves a system of two linear equations with two unknowns (x and y). This is one of the most common algebra tasks in school math, physics, economics, and engineering.
When we solve a system, we are looking for values of x and y that satisfy both equations at the same time. If those values exist, they represent the intersection point of two straight lines on a graph.
Equation format used here
This calculator works with the standard linear format:
- a₁x + b₁y = c₁
- a₂x + b₂y = c₂
You provide six numbers: a₁, b₁, c₁, a₂, b₂, and c₂. The calculator then determines whether the system has one solution, no solution, or infinitely many solutions.
How the solver works (Cramer's Rule)
Step 1: Compute the determinant
The key quantity is:
D = a₁b₂ − a₂b₁
If D ≠ 0, there is exactly one solution.
Step 2: Compute x and y determinants
Dx = c₁b₂ − c₂b₁
Dy = a₁c₂ − a₂c₁
Step 3: Solve
x = Dx / D and y = Dy / D
If D = 0, we inspect Dx and Dy:
- If D = 0, Dx = 0, and Dy = 0: infinitely many solutions (same line).
- If D = 0 but at least one of Dx or Dy is non-zero: no solution (parallel lines).
Worked example
Suppose your system is:
- 2x + 3y = 13
- x − y = 1
Then:
- D = (2)(-1) − (1)(3) = -5
- Dx = (13)(-1) − (1)(3) = -16
- Dy = (2)(1) − (1)(13) = -11
So:
- x = -16 / -5 = 3.2
- y = -11 / -5 = 2.2
You can verify by substitution: both equations are satisfied.
Common mistakes to avoid
- Sign errors: negative coefficients are the most common source of wrong answers.
- Wrong equation form: rewrite equations so variables are on the left and constants on the right.
- Mixing variable order: keep x and y in the same order across both equations.
- Ignoring special cases: if determinant is zero, do not divide; check whether the system is dependent or inconsistent.
Where simultaneous equations are used
Finance and budgeting
Modeling two unknown costs from two known purchase totals.
Physics
Solving force components, current loops, or motion constraints often creates linear systems.
Data fitting and optimization
Small linear systems appear as building blocks in larger matrix-based methods.
Quick practice set
Try these in the calculator:
- 3x + 2y = 12 and 2x − y = 3
- 4x + 6y = 18 and 2x + 3y = 9 (infinite solutions)
- 2x + y = 5 and 4x + 2y = 12 (no solution)
Final thoughts
A good simultaneous equations calculator saves time, but understanding the method helps you trust the result. Use this tool to check homework, verify hand calculations, and build intuition for linear systems.