Math calculators

System of Equations Calculator

Updated Dec 2, 2026 By Infinity Calculator Formulas Sources
Rate
System Size
Solving a system of 2 equations
Equations
Enter equations like 2x + 3y = 8 or x^2 + y^2 = 4. Click a field, then use the keypad below to insert symbols.
Math Keypad
Inserts into the last focused equation field.
Solving Method
Cramer's Rule and Gaussian Elimination apply to linear systems. Nonlinear systems automatically use the numerical solver.

Solution
Roots / Solution Set
Step-by-Step Solution
Graphical Visualization
Graph available for 2-variable systems.

Introduction

A system of equations is a set of two or more equations that share the same variables. To solve the system, you need to find the values of each variable that make all the equations true at the same time.1 This comes up often in math class, science, and everyday problem solving.

Our System of Equations Calculator solves systems of 2, 3, or 4 variables instantly. Just type in your equations, pick a solving method, and get the answer with step-by-step work shown. The calculator handles both linear equations (like 2x + 3y = 8) and nonlinear equations (like x^2 + y^2 = 4). You can choose from Gaussian Elimination, Cramer's Rule, or a numerical solver. For 2-variable systems, it also draws a graph so you can see where the lines or curves cross.

Whether you need to check your homework, study for a test, or solve a real-world problem, this tool gives you fast results with the working shown.

How to Use Our System of Equations Calculator

Enter your equations and choose how many variables you have. The calculator will find the values of each variable that make all equations true at the same time. It also shows step-by-step work and a graph for 2-variable systems.

System Size: Pick how many variables your system has: 2, 3, or 4. The calculator will show that many equation fields for you to fill in.

Equations: Type each equation into its own field. Use the format 2x + 3y = 8 for linear equations or x^2 + y^2 = 4 for nonlinear ones. Every equation must have an equals sign.

Math Keypad: Click on any equation field, then use the keypad buttons to insert variables, numbers, and math symbols like ^, √, or π.

Solving Method: Choose how the calculator solves your system. Pick "Auto" to let it decide the best method. You can also pick Gaussian Elimination, Cramer's Rule, or Numerical for nonlinear equations.

Calculate: Press the Calculate button to solve your system. The calculator will display each variable's value, a summary table, step-by-step solution work, and a graph for 2-variable systems.

Reset: Press the Reset button to start over with the default 2-variable example system, which the calculator solves again right away.

What Is a System of Equations?

A system of equations is a set of two or more equations that share the same variables. The goal is to find the values of those variables that make every equation true at the same time.1 For example, if you have two equations with x and y, you look for the pairs of numbers that work in both equations. There may be one such pair, none, or more than one.

How Many Solutions Can a System Have?

A system of linear equations can have one solution, no solution, or infinitely many solutions.1 When the equations cross at exactly one point, there is one solution.1 When the equations are parallel and never cross, there is no solution.1 Lines with the same slope but different y-intercepts are parallel.1 Lines with the same slope and the same y-intercept are the same line.1 When the equations describe the same line or plane, there are infinitely many solutions.2

Methods for Solving Systems of Equations

Gaussian Elimination turns the equations into a simpler form by swapping rows, multiplying a row by a constant, and adding a multiple of one row to another row in a matrix.3 You keep simplifying until each variable is isolated. This method works well for any size of linear system.

Cramer's Rule uses determinants to find each variable.4 A determinant is a special number calculated from a square matrix. You divide one determinant by another to get each answer. This method only works when the system has exactly one solution.4

Numerical methods like Newton-Raphson are used for nonlinear systems.9 Newton's method starts with a guess and keeps improving it until it finds an answer that fits all the equations.9 Each step uses the derivatives of the equations, arranged in a matrix called the Jacobian, to move toward the solution.9

Linear vs. Nonlinear Systems

A linear system is made of linear equations. With two variables, a linear equation can be written in the form Ax + By + C = 0.8 For example, 2x + 3y = 7 is the same as 2x + 3y - 7 = 0. A nonlinear system has at least one equation that is not linear.8 Examples are a variable raised to a higher power, like x² + y² = 25, a variable inside a function such as a square root, or two variables multiplied together, like xy = 2. Any linear system can be solved by Gaussian elimination.3 A nonlinear system can have more than one solution: a line can cross a circle at two points, and a circle and an ellipse can meet at up to four points.8 Newton's method, used for nonlinear systems, may not converge when its starting guess is not good enough.9


Formulas used

Linear System (Matrix Form) 5
A\mathbf{x} = \mathbf{b}
Cramer's Rule for Variable x_i 4
x_i = \frac{\det(A_i)}{\det(A)}
Determinant (2×2) 7
\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc
Gaussian Elimination (Row Reduction) 6
R_j \leftarrow R_j - \frac{a_{jk}}{a_{kk}} R_k
Newton-Raphson Iteration (Nonlinear Systems) 9
\mathbf{x}_{n+1} = \mathbf{x}_n - J(\mathbf{x}_n)^{-1} \mathbf{F}(\mathbf{x}_n)
Jacobian Matrix Entry 9
J_{ij} = \frac{\partial F_i}{\partial x_j} \approx \frac{F_i(\mathbf{x} + h\,\mathbf{e}_j) - F_i(\mathbf{x})}{h}

Frequently asked questions

Which solving method should I pick?

Pick Auto (Best) and the calculator will choose the right method for you. Use Gaussian Elimination or Cramer's Rule if you want to see a specific method for linear systems. Use Numerical (Nonlinear) if your equations have powers like x^2 or square roots.

What does infinitely many solutions mean?

It means the equations share a whole line or plane of points. With two variables, both equations describe the same line, and every point on that line is a solution.1 With three variables, the planes can be the same, or different planes can meet along one line.2 Elimination then turns an equation into a statement that is always true, such as 0 = 0.2 One way this happens is when one equation is a multiple of another. For example, x + y = 2 and 2x + 2y = 4 are really the same equation, because the second is the first multiplied by 2.

What is the difference between Gaussian Elimination and Cramer's Rule?

Both solve linear systems, but they work differently. Gaussian Elimination simplifies the equations step by step using row operations. Cramer's Rule calculates special numbers called determinants to find each variable directly. Gaussian Elimination works even when there is no unique solution, while Cramer's Rule only works when exactly one solution exists.4

Sources

  1. Abramson J. College Algebra 2e, 7.1 Systems of Linear Equations: Two Variables. OpenStax. 2021;section 7.1. Accessed September 28, 2026.
  2. Abramson J. College Algebra 2e, 7.2 Systems of Linear Equations: Three Variables. OpenStax. 2021;section 7.2. Accessed September 28, 2026.
  3. Abramson J. College Algebra 2e, 7.6 Solving Systems with Gaussian Elimination. OpenStax. 2021;section 7.6, row operations. Accessed September 28, 2026.
  4. Abramson J. College Algebra 2e, 7.8 Solving Systems with Cramer's Rule. OpenStax. 2021;section 7.8. Accessed September 28, 2026.
  5. Beezer RA. A First Course in Linear Algebra: Matrix Multiplication. University of Puget Sound. 2021;Theorem SLEMM. Accessed October 8, 2026.
  6. Beezer RA. A First Course in Linear Algebra: Reduced Row-Echelon Form. University of Puget Sound. 2021;Definition RO. Accessed October 8, 2026.
  7. Hefferon J. Linear Algebra, 4th edition. Orthogonal Publishing. 2020;Chapter Four, Section I.1. Accessed October 8, 2026.
  8. Abramson J. College Algebra 2e, 7.3 Systems of Nonlinear Equations and Inequalities: Two Variables. OpenStax. 2021;section 7.3. Accessed November 22, 2026.
  9. Green WH. Solving Systems of Nonlinear Algebraic Equations using Newton's Method. 10.001 Course Notes. Massachusetts Institute of Technology. 2000;Newton's algorithm, steps 0 to 5. Accessed November 22, 2026.