Home · Everyday · Matrices · Cramer's Rule Calculator

Cramer's Rule Calculator

Solve a square linear system with Cramer's rule — each unknown as a ratio of two determinants.

Your figures

Example result — edit the figures to make it yours

1

x₁

Cramer's rule: each unknown is a ratio of determinants — replace one column of A with the right-hand side, take the determinant, divide by det(A).

x11
x23

det(A) = 5. Elegant for small systems; Gaussian elimination is faster for large ones.

What this calculator does

Solve a square linear system with Cramer's rule — each unknown as a ratio of two determinants. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

xⱼ = det(A with column j replaced by b) ÷ det(A)

Enter matrices with rows separated by semicolons and entries by commas or spaces.

The operation is applied with the standard rules of matrix arithmetic; sizes must be compatible.

Results are rounded for display; exact fractions are kept internally where the method allows.

Worked example

With the example inputs this page opens with, the result is 1 — x₁. Cramer's rule: each unknown is a ratio of determinants — replace one column of A with the right-hand side, take the determinant, divide by det(A).

Quick reference

Quick reference — the worked example in full
FigureValue
x₁1
x11
x23

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

Common questions

How does the Cramer's Rule Calculator work?

Solve a square linear system with Cramer's rule — each unknown as a ratio of two determinants. Coefficient matrix · Right-hand side → Solution. 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 Cramer's Rule Calculator need?

Coefficient matrix · Right-hand side → Solution. 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 Cramer's Rule 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.