Home · Math · Algebra · System of Equations Calculator

System of Equations Calculator

Solve a system of two linear equations in x and y with Cramer's rule.

Your figures

Example result — edit the figures to make it yours

2.2

x

y1.20
Determinant D-5.00

What this calculator does

Solve a system of two linear equations in x and y with Cramer's rule. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

x = (c1b2 − c2b1) ÷ D; y = (a1c2 − a2c1) ÷ D; D = a1b2 − a2b1

Cramer's rule divides two determinants by the coefficient determinant D. If D = 0 the lines are parallel — the system has no solution or infinitely many — and the formulas here do not apply.

Worked example

With the example inputs this page opens with (eq 1: x coefficient a1 2, eq 1: y coefficient b1 3, eq 1: constant c1 8, eq 2: x coefficient a2 1), the result is 2.20 — x. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying eq 1: x coefficient a1
Eq 1: x coefficient a1x
12.75
1.62.39
22.20
2.52.00
31.83
41.57

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the System of Equations Calculator work?

Solve a system of two linear equations in x and y with Cramer's rule. Coefficients of a1x + b1y = c1 and a2x + b2y = c2 → x, y, determinant. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the System of Equations Calculator need?

Coefficients of a1x + b1y = c1 and a2x + b2y = c2 → x, y, determinant. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the System of Equations Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.