System of Equations Calculator (2×2 & 3×3, Free)
AlgebraFreeNo sign-up
A system of equations calculator finds the values that make every equation true at the same time. For 2x + 3y = 8 and x − y = −1, multiply the second equation by 2 and subtract it from the first: 5y = 10, so y = 2. Then x − 2 = −1 gives x = 1. The solution is (1, 2), where the two lines cross.
The system has exactly one solution: x = 1, y = 2.
The solution is the point where the two lines cross.
Show steps
- Label the equations: E1: 2x + 3y = 8; E2: x − y = −1.
- Eliminate x (multiply first, 2·E2: 2x − 2y = −2): E3 = E1 − 2·E2 gives 5y = 10, and dividing by 5 gives y = 2.
- E3 gives y = 2 directly.
- Substitute into E2: x − (2) = −1, so x = 1.
- Check in every original equation: 2(1) + 3(2) = 8 ✓; (1) − (2) = −1 ✓.
How to use the system of equations calculator
- Choose 2 × 2 (two equations, two unknowns) or 3 × 3 (three equations, three unknowns).
- Type each equation, such as 2x + 3y = 8 or y = 2x − 1, or switch to Coefficients and fill in the grid.
- Pick the method you want to see: elimination, substitution, Cramer’s rule or the matrix (Gauss-Jordan) method. Every method gives the same answer; only the steps change.
- Read the solution, the type of system and the determinant. For 2 × 2 systems the graph shows both lines and the point where they cross. Open Show steps for the full working and the check.
What is a system of equations?
A system of equations is two or more equations that share the same unknowns. A solution is a set of values that satisfies all of them at once. For x + y = 10 and x − y = 4, the solution is x = 7 and y = 3, because 7 + 3 = 10 and 7 − 3 = 4.
Graphically, each linear equation in two variables is a line, and the solution is the point the lines share. With three variables, each equation is a plane, and the solution is the point where all three planes meet.
One solution, no solution or infinitely many
- One solution (consistent and independent): the lines cross at exactly one point. The determinant D of the coefficients is not 0.
- No solution (inconsistent): the lines are parallel, with the same slope and different intercepts. Solving leads to a false statement such as 0 = −3. Example: x + 2y = 4 and 2x + 4y = 5.
- Infinitely many solutions (dependent): both equations describe the same line, and solving leads to 0 = 0. Example: x − y = 2 and 3x − 3y = 6, whose solutions are x = 2 + t, y = t for any number t.
When D = 0 the system has either no solution or infinitely many, and the calculator tells you which.
Substitution method
Solve one equation for one variable, then put that expression into the other equation.
Example: y = 2x and y = x + 3. The first equation already gives y, so substitute it into the second: 2x = x + 3, so x = 3. Then y = 2(3) = 6. The solution is (3, 6). Check: 6 = 2 × 3 and 6 = 3 + 3.
Substitution is quickest when a variable already has a coefficient of 1 or −1.
Elimination method
Add or subtract the equations so that one variable cancels. Multiply an equation first if the coefficients do not match.
Example: 2x + y = 7 and x − y = 2. The y terms are opposites, so add the equations: 3x = 9, which gives x = 3. Substitute back: 3 − y = 2, so y = 1. The solution is (3, 1).
For 3x + 2y = 7 and 5x − 4y = 19, multiply the first equation by 2 to get 6x + 4y = 14, then add: 11x = 33, so x = 3 and y = −1.
Cramer’s rule
Cramer’s rule uses determinants. For ax + by = e and cx + dy = f:
D = ad − bc, Dx = ed − bf, Dy = af − ec, and then x = Dx/D and y = Dy/D.
For 2x + 3y = 8 and x − y = −1: D = 2(−1) − 3(1) = −5, Dx = 8(−1) − 3(−1) = −5 and Dy = 2(−1) − 8(1) = −10. So x = −5/−5 = 1 and y = −10/−5 = 2. Cramer’s rule needs D ≠ 0. The Cramer’s rule calculator goes deeper into determinants.
Matrix method (Gauss-Jordan elimination)
Write the system as an augmented matrix, one row per equation, then use row operations (swap rows, multiply a row by a nonzero number, add a multiple of one row to another) until the left part is the identity matrix. The last column is then the solution.
For 2x + 3y = 8 and x − y = −1, the augmented matrix [[2, 3, 8], [1, −1, −1]] reduces to [[1, 0, 1], [0, 1, 2]], so x = 1 and y = 2. The same method scales to larger systems; the matrix calculator handles bigger matrices.
Solving a 3 × 3 system
Use elimination twice to reduce three equations to two, then to one. Example:
x + y + z = 6, 2x − y + z = 3, x + 2y − z = 2.
- Subtract the first equation from the third: y − 2z = −4.
- Subtract 2 times the first equation from the second: −3y − z = −9, or 3y + z = 9.
- Eliminate y: (3y + z) − 3(y − 2z) = 9 − 3(−4), so 7z = 21 and z = 3.
- Back-substitute: y − 2(3) = −4 gives y = 2, and x + 2 + 3 = 6 gives x = 1.
The solution is (1, 2, 3).
Which method should you use?
| Method | Best when |
|---|---|
| Substitution | a variable has coefficient 1 or −1, or an equation is already solved (y = …) |
| Elimination | coefficients line up or are easy to match; most 2 × 2 and 3 × 3 homework |
| Graphing | you want to see the answer or estimate it; exact values can be hard to read |
| Cramer’s rule | you need a formula for each variable, and D ≠ 0 |
| Matrix (Gauss-Jordan) | larger systems, or when you also need to know if there are no or infinitely many solutions |
A word problem
A school sells 20 tickets: adult tickets cost 8 dollars, child tickets cost 5 dollars, and the total is 130 dollars. With a adult tickets and c child tickets, a + c = 20 and 8a + 5c = 130. Multiply the first equation by 5 and subtract: 3a = 30, so a = 10 and c = 10.
Common mistakes with systems of equations
- Multiplying only one side of an equation (or only some terms) before eliminating.
- Sign errors when subtracting equations: subtract every term, including the constant.
- Stopping after one variable. Substitute back to find the other one.
- Not lining up like terms. Rewrite each equation as ax + by = c first.
- Calling 0 = 0 “no solution”. A true statement like 0 = 0 means infinitely many solutions; a false one like 0 = 5 means none.
Checking homework by hand
Solve the system on paper first, then enter it here and compare. Always check the answer by substituting it into every original equation; the calculator’s last step does exactly this. If your answer is different, choose the same method in the calculator and find the first step that differs.
Systems of equations practice quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
Substitute y = 3x: x + 3x = 12, so 4x = 12 and x = 3. Then y = 3 × 3 = 9.
3(4x − y) = 12x − 3y, and −3y cancels +3y when the equations are added: 14x = 28, so x = 2 and y = 3.
Doubling the second equation gives 2x + 4y = 10, which contradicts 2x + 4y = 6. The lines are parallel.
The second equation is 3 times the first, so both describe the same line. Every point on it is a solution.
R2 − 2R1 gives [0, −3 | −9], so y = 3; then R1 − R2 gives x = 2. The reduced matrix shows x = 2, y = 3.
Back-substitute: z = 2, then y + 2 = 5 gives y = 3, then x + 3 + 2 = 6 gives x = 1.
p + n = 10 and 2p + 3n = 24. Subtract 2 times the first: n = 4, so p = 6.
Quiz complete
Frequently asked questions
What is a system of equations?
It is a set of equations with the same unknowns that must all be true together. For example, x + y = 10 and x − y = 4 form a system whose solution is x = 7, y = 3.
What is the solution to a system of equations?
The solution is the set of values that satisfies every equation. For y = 2x and y = x + 3, the solution is (3, 6), since 6 = 2 × 3 and 6 = 3 + 3. On a graph it is the point where the lines cross.
How do you solve a system of equations?
Use substitution, elimination, a graph, Cramer's rule or matrices. For 2x + y = 7 and x − y = 2, add the equations to get 3x = 9, so x = 3; substituting gives y = 1. Check (3, 1) in both equations.
How do you solve a system of equations on a graphing calculator?
Solve each equation for y and enter them as Y1 and Y2. For x + y = 5 and x − y = 1, enter Y1 = −X + 5 and Y2 = X − 1, press GRAPH, then use CALC (2nd, TRACE) and choose "intersect". On a TI-84, press ENTER three times to select both curves and a guess. The intersection is (3, 2).
How do you solve systems of equations with a calculator matrix?
Enter the augmented matrix and use the rref function. For 2x + 3y = 8 and x − y = −1, the matrix [[2, 3, 8], [1, −1, −1]] reduces to [[1, 0, 1], [0, 1, 2]], so x = 1 and y = 2.
Is simultaneous equations a calculator paper topic?
"Simultaneous equations" is the UK name for systems of equations, and they can appear on both calculator and non-calculator GCSE papers. Learn to solve them by hand with elimination and substitution, and use a calculator to check.
Related calculators
- Cramer's rule calculator
- Matrix calculator
- Linear equation calculator
- Equation of a line calculator
- Slope calculator
- Graphing calculator
More algebra calculators
Related to This Article
More math articles
- Validity and Logical Fallacies
- Metabolic Scaling: How to Compare Animal Energy Needs
- Utah RISE Grade 5 Math at Home — 49 Free Single-Skill PDF Worksheets with Friendly Keys
- Special Right Triangles Calculator — 45-45-90 & 30-60-90 (Free)
- How to Add and Subtract Integers? (+FREE Worksheet!)
- How to use Intercepts
- The Best Algebra 1 Book for Connecticut Students
- Multiples and Common Multiples for 4th Grade
- SHSAT 2026 Changes: The New Adaptive Test, Explained
- The Ultimate 6th Grade M-STEP Math Course (+FREE Worksheets)








What people say about "System of Equations Calculator: Free 2x2 & 3x3 Solver"?
No one replied yet.