Simultaneous Equations Calculator

Solve two linear equations in x and y from their coefficients and constants.

Inputs

Result

Formula and assumptions

Use Cramer’s rule. Compute the determinant of the coefficient matrix, then divide each variable’s replacement determinant by it.

Worked example

First x coefficient = 1, First y coefficient = 1, First constant = 7, Second x coefficient = 1, Second y coefficient = -1, Second constant = 3. Result = x = 5, y = 2.

Related tool Slope Calculator.

What assumptions affect this result?

The result is rounded to 10 significant digits. Singular systems are reported as having no unique solution.