FREE TOOLS. ZERO LIMITS.
No Signup RequiredNo Watermarks
ToolzNova · Math calculators

System of Equations Calculator Online

Solve two linear equations with two unknowns, x and y, in one step. Enter the coefficients of a₁x + b₁y = c₁ and a₂x + b₂y = c₂ and get both answers.

System of Equations Calculator

Free system of equations calculator that runs in your browser. Nothing is uploaded.

2 × 2 solver

Solve a₁x+b₁y=c₁ and a₂x+b₂y=c₂

Uses Cramer’s rule. If the determinant is zero, the lines are parallel or the same and there is no single answer.

How to solve a system of two equations

1Write both equations in standard form

Arrange each as a·x + b·y = c, with x and y on the left.

2Enter the six numbers

Type a₁, b₁, c₁ for the first equation and a₂, b₂, c₂ for the second.

3Read x and y

The calculator shows both values and the determinant.

Example systems

The determinant a₁b₂ − b₁a₂ tells you whether there is a single solution. If it is zero, the two lines never cross or are the same line.

Enter missing terms as 0: x = 4 becomes 1x + 0y = 4.

EquationsSolution
x + y = 5, x − y = 1x = 3, y = 2
2x + 3y = 13, x − y = −1x = 2, y = 3
x + y = 5, 12x + 7y = 45x = 2, y = 3
x + y = 2, 2x + 2y = 4No unique solution

Solving simultaneous equations

This short guide explains what the system of equations calculator does, how to get the best result and when another tool is a better fit.

What a system of equations is

A system of two linear equations, also called simultaneous equations, describes two straight lines. The solution is the point where they cross, which gives one value of x and one value of y that satisfy both equations at once. Most real problems with two unknown quantities can be written this way.

System of Equations Calculator – 2 eq. to x, y
How the system of equations calculator works: 2 eq. in, x, y out.

This calculator uses Cramer’s rule, which works out x and y directly from the six coefficients using determinants.

Getting the equations into shape

Each equation must be in the form a·x + b·y = c. If you have y = 2x + 1, rearrange it to −2x + y = 1, so a = −2, b = 1 and c = 1. If an equation has no y term, its b is 0; if it has no x term, its a is 0. Careful signs make all the difference.

Fractions can be entered as decimals, or multiply the whole equation through to clear them first.

A worked example

Five tickets cost 45 in total. Adult tickets cost 12 and child tickets cost 7. How many of each? Let x be adults and y children. The equations are x + y = 5 and 12x + 7y = 45. Enter 1, 1, 5 and 12, 7, 45. The calculator gives x = 2 and y = 3: two adults and three children. Check: 2 × 12 + 3 × 7 = 24 + 21 = 45.

Mixtures, prices and speeds are other classic uses.

When there is no single answer

If the determinant is zero, the two lines are parallel or identical. Parallel lines never meet, so there is no solution, as with x + y = 2 and x + y = 5. Identical lines meet everywhere, so there are infinitely many solutions, as with x + y = 2 and 2x + 2y = 4. In both cases the calculator explains that there is no unique solution.

In a word problem, this usually means a piece of information is missing or repeated.

Other ways to solve

By hand, you can use substitution, where you rearrange one equation for x and put it into the other, or elimination, where you add or subtract the equations to remove one variable. Both give the same answer as this calculator. For three or more unknowns, you need matrix methods or a spreadsheet.

  • Write each equation as ax + by = c
  • Use 0 for missing terms
  • Determinant 0 means no unique solution

Further reading: How Cramer’s rule works. It explains the format behind this system of equations calculator in more detail.

Common uses

Ticket problems

Adults and children from totals.

Mixtures

Blend two products to a target.

Break-even

Where two cost lines meet.

Homework

Check simultaneous equation answers.

Quick fixes

“No unique solution because the determinant is zero”

The lines are parallel or the same. Check the equations and coefficients.

Answers look wrong

Rearrange each equation to ax + by = c and check minus signs.

Equation has no y term

Enter 0 for b in that equation.

“Enter valid coefficients”

All six boxes need a number. Use 0 for missing terms.

Frequently asked questions

How many equations can it solve?

Two linear equations with two unknowns.

Which method does it use?

Cramer’s rule, based on determinants.

What does a zero determinant mean?

The lines are parallel or identical, so there is no unique solution.

How do I enter y = 2x + 1?

Rearrange to −2x + y = 1: a = −2, b = 1, c = 1.

What if a term is missing?

Enter 0 for its coefficient.

Can I use decimals?

Yes.

Is my data uploaded?

No. The system of equations calculator works entirely in your browser, so your file stays on your device.

Can it solve three equations?

No, it handles two only.

Does it show steps?

It shows the determinant; the article explains the method.

How do I check the answer?

Put x and y back into both equations.