Simultaneous Equations Calculator (2 and 3 variables)

Enter the coefficients and get x, y and z right away.

x +y +z =
x +y +z =
x +y +z =

🔒 Your input is never sent to a server.

How to use

For 2 variables enter the coefficients of two equations ax + by = c; for 3 variables, of three equations ax + by + cz = d. Enter 0 for a missing term. The result updates as you change a value, and Show solution shows the working with determinants.

What is Cramer's rule?

Let D be the determinant of the coefficient matrix. If D ≠ 0 the solution is unique and x = Dx / D, y = Dy / D, z = Dz / D. Dx is the determinant obtained from D by replacing the x column with the right-hand-side (constant) column.

2 variables: D = a₁b₂ − a₂b₁, Dx = c₁b₂ − c₂b₁, Dy = a₁c₂ − a₂c₁

If D = 0, there are either infinitely many solutions (the equations overlap) or none (the equations contradict each other). This calculator compares the ranks of the matrices to tell them apart.

FAQ

The answer is a fraction.

When a value can be written as a fraction with a small denominator, both are shown, for example 7/3 ≈ 2.3333.

What does "infinitely many solutions" mean?

The two equations are effectively the same, so every point (x, y) on the line satisfies them.

Results are for reference only and accuracy is not guaranteed. Terms & disclaimer