Free online tools

System of Equations Calculator

Enter one row of coefficients and its right-hand side for each equation. Solve a two- or three-variable system with exact rational arithmetic.

Enter your values

Use a b c for ax + by = c, or a b c d for ax + by + cz = d. Separate numbers with spaces or commas and use decimal points. Use 0 for missing coefficients.

This tool processes your input in your browser.

Result

Write one row per equation

For 2x + y = 7, enter 2 1 7. For x − y = 2, enter 1 -1 2 on the next line. The last value on each row is the right-hand side. Write the variables in the same order on every row.

Read the reduced augmented matrix

Row operations leave the solution set unchanged. In the example, reducing the left side to the identity matrix leaves x = 3 and y = 1 in the right-hand column. Fractions and decimal coefficients are kept exact.

Distinguish free variables from a contradiction

A row that reduces to 0 = 0 adds no constraint. If a variable remains free and there is no contradiction, there are infinitely many solutions. If any row says zero equals a nonzero value, the system has no solution.

Frequently asked questions

Can I enter fractions or decimals?

Yes. Enter values such as -3/2, 0.25 or 1e-3 with a decimal point. Results use reduced fractions.

How do I enter a missing variable?

Use 0 for its coefficient. For x + 3z = 7, enter 1 0 3 7.

Can I enter the equations as text?

Enter only the coefficients and right-hand side for each linear equation. The calculator infers a 2×2 or 3×3 system from the rows.