EN
My tools

System of Equations Solver (2×2, 3×3, n×n)

Solve 2×2, 3×3 or larger systems of linear equations exactly: unique, none or infinitely many solutions, fractions, determinant, Cramer's rule and RREF.

Write terms like 3x, -y, 1/2z, 0.5w or x/4 on either side of "=". Variables are letters, optionally with a number (x1, x_2). You can also enter augmented-matrix rows of numbers, the last one being the constant: 2 3 -1 5.
Solution type
One unique solution
x
23/5 ≈ 4.6
y
-2
z
-9/5 ≈ -1.8
Determinant of the coefficient matrix
5
non-zero: exactly one solution
Cramer's rule
Reduced row echelon form [A | b]
xyz= b
10023/5
010-2
001-9/5
My tools →
Advertisement

A system of linear equations is a set of equations that must all be true at once, such as 2x + 3y − z = 5 together with two more. This solver eliminates variables in exact fractions, so 23/5 stays 23/5 instead of turning into a rounded decimal. It tells you whether the system has one solution, none, or infinitely many (with the general solution in terms of the free variables), and shows the determinant, Cramer's rule for 2×2 and 3×3 systems and the reduced row echelon form.

How to use this tool

  1. Type one equation per line, with variables such as x, y, z or x1, x2 (terms may be on both sides).
  2. Alternatively paste augmented-matrix rows: the coefficients, then the constant.
  3. Read the solution type and each variable's value as a fraction and a decimal.
  4. Use the determinant, Cramer's rule and the RREF table to check the working.

Formula

Gauss–Jordan elimination on [A | b] · Cramer: xᵢ = det(Aᵢ) ÷ det(A)

Elimination swaps rows, scales a row so its pivot is 1 and subtracts multiples of it from every other row. A row 0 = c (c ≠ 0) means no solution; fewer pivots than variables means free variables and infinitely many solutions. Aᵢ is the coefficient matrix with column i replaced by the constants; Cramer's rule only applies when det(A) ≠ 0.

Example

For 2x + 3y − z = 5, x − y + 2z = 3 and 3x + y + z = 10, the determinant is 5 and D_x = 23, D_y = −10, D_z = −9, so x = 23/5 = 4.6, y = −2 and z = −9/5 = −1.8. Check the second equation: 4.6 + 2 − 3.6 = 3.

Frequently asked questions

What does "infinitely many solutions" look like?

At least one variable is free. For x + y = 2 and 2x + 2y = 4 (the same line twice), the solver gives x = 2 − y with y free: every point on that line solves both.

Why fractions instead of decimals?

Elimination with decimals accumulates rounding error, which can make a singular system look solvable. Exact fractions avoid that, and the decimal is shown beside each value.

Can it solve non-linear systems?

No. Products of variables (xy), powers (x²) or functions such as sin x make a system non-linear, and the solver says so. For a single quadratic, use the quadratic equation solver.

Sources

Last updated:

Cite or embed this tool
APA

kakaoCalc. (2026, November 9). System of Equations Solver (2×2, 3×3, n×n). https://kakao.mobile/tools/system-of-linear-equations-solver/

MLA

“System of Equations Solver (2×2, 3×3, n×n).” kakaoCalc, 9 Nov. 2026, kakao.mobile/tools/system-of-linear-equations-solver/.

Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms

Advertisement