Skip to main content

System of Equations Calculator

This system of equations calculator solves simultaneous linear equations and shows exact answers, elimination steps and checks of every equation. Enter up to five equations and five real unknowns, including systems with different numbers of equations and variables.

How to solve simultaneous linear equations

A solution must make every original equation true at the same time. The calculator moves variable terms to the left and constants to the right, then uses exact Gauss-Jordan elimination. Swapping rows, multiplying a row by a nonzero constant, and adding a multiple of another row preserve the solution set. Georgia Tech's Row Reduction chapter explains why these operations work. For a word problem, assign a variable to each unknown quantity and write the relationships as equations before entering them. The calculator solves the entered system; it does not translate prose or decide whether the equations model the situation.

Read the whole system

Substitution checks a proposed solution against every original equation. An identity obtained by substituting an equation into itself proves nothing about the other constraints. Georgia Tech: Systems of Linear Equations defines a solution by satisfying all equations simultaneously.

Open the working and checks

The working shows the actual row operations and transformed equations. Checks confirm a unique solution or a complete solution family; an inconsistent system instead shows a contradiction. Substitution is a check here, not a separate selectable solving method. Georgia Tech: Row Reduction describes the operations used.

Entering equations or coefficient rows

Enter one equality per line. Keep negative signs and both sides of each equation. Two-variable and three-variable systems use the same field; add lines and variable names as needed. Variable names are case-sensitive ASCII letters with up to two following digits. In More options, leave Variable order blank to infer names by first appearance, or list every variable in the intended order. An explicit list also preserves a column whose coefficients are all zero.

To enter an augmented matrix, open More options and choose Coefficients. List the variable names in column order. Enter one row per line, separating coefficients with spaces or commas and putting the right-hand side last. Keep a zero wherever a variable is absent. For the worked example below, the rows are 1 1 5 and 1 -1 1, with variable order x1, x2.

Equation entry accepts integers, finite decimals, fractions, addition, subtraction, multiplication, division and parentheses. Use an asterisk to make multiplication explicit. A product may contain variables in only one factor, and a divisor must be a nonzero expression containing no variable. In coefficient rows, each value must be an integer, a finite decimal or an integer fraction without internal spaces. The Fraction Calculator can help with fraction arithmetic before entering a system.

Both input formats preserve entered decimals as exact rational values. Exact answers, ranks and checks never use display rounding. Decimal places offers 3, 6 or 10, with 6 selected initially. Approximate unique solutions round to the nearest value, with ties away from zero and trailing zeros removed. Values that would round to zero, and very large values, use scientific notation with the selected number of decimal places in the mantissa. Approximate values are not shown for a solution family or an inconsistent system. These are this calculator's display rules, not uncertainty estimates.

A worked system with every equation checked

Enter x1 + x2 = 5 and x1 - x2 = 1 on separate lines, with variable order x1, x2. The equation preset uses this same system.

Normalize: R1: (1)x1 + (1)x2 = 5 R2: (1)x1 + (-1)x2 = 1. Move variable terms left and constants right, preserving every declared column.

R2 − (1)R1: R1: (1)x1 + (1)x2 = 5 R2: (0)x1 + (-2)x2 = -4. Eliminate x1 from this row.

R2 ÷ (-2): R1: (1)x1 + (1)x2 = 5 R2: (0)x1 + (1)x2 = 2. Make the x2 pivot equal to 1.

R1 − (1)R2: R1: (1)x1 + (0)x2 = 3 R2: (0)x1 + (1)x2 = 2. Eliminate x2 from this row.

The exact solution is x1 = 3, x2 = 2.

Equation 1: 5 = 5. Substitution into the original constraint agrees exactly.

Equation 2: 1 = 1. Substitution into the original constraint agrees exactly.

One solution, no solution or infinitely many solutions

Rank counts the pivots after row reduction. If the augmented matrix has greater rank than the coefficient matrix, a row asserts that zero equals a nonzero constant. The system is inconsistent and has no solution. Otherwise, equal ranks with a pivot for every variable give a unique solution. Equal ranks with a missing variable pivot give free variables and infinitely many solutions. Georgia Tech: Parametric Form explains how free variables describe every solution.

A free parameter can take any real value. The displayed family expresses the dependent variables in terms of those parameters; choosing a single point would leave out other valid solutions. A zero row imposes no extra condition, but it does not by itself prove that the whole system has infinitely many solutions. Check the remaining rows and all variable columns.

For a square coefficient matrix, a nonzero determinant guarantees a unique solution. A zero determinant alone cannot distinguish an inconsistent system from a dependent one. The calculator uses rank and contradiction checks rather than that shortcut. See Georgia Tech: Determinants.

With two variables, a unique solution is a shared point. A consistent family can describe a shared line or the whole plane. An inconsistent system has no point satisfying every constraint. With more than two equations, that does not mean all lines are parallel: lines can intersect in pairs without sharing a common point. The geometry result explains the constraints; it does not draw an interactive graph.

Supported systems and input limits

This calculator accepts one to five equations and one to five real unknowns. The number of equations may differ from the number of variables. Systems with six or more equations or variables need another solver.

Nonlinear products, powers, functions, variable denominators, complex coefficients, inequalities, mixed-number notation, recurring decimals and scientific input notation are unsupported. A variable product or denominator is rejected even if its variable terms would later cancel. This is a bounded linear solver, not a general symbolic algebra system.

The active input is limited to 8,192 characters in total and 2,048 per line. Each number accepts at most 64 digit characters, including leading zeros; the numerator and denominator of an integer fraction each have that limit. Parentheses may nest to 16 levels. Additional token, arithmetic-growth and output-size limits can reject an unusually complex input. These are software limits, not mathematical limits.

When only one unknown appears in one equation, the Linear Equation Calculator provides a focused rearrangement and check. For roots of a single equation with a squared unknown, the Quadratic Equation Calculator accepts coefficients. It does not solve a nonlinear simultaneous system.

To inspect the slope and equation of one line before comparing a system, use the Slope Calculator with coordinate points or standard-form coefficients. Equal slopes can describe distinct parallel lines or the same line; the full equations distinguish them.

References

(4)
  1. Interactive Linear Algebra: Row Reduction, section 1.2

    Georgia Institute of Technology · accessed 2026-11-16

  2. Interactive Linear Algebra: Parametric Form, section 1.3

    Georgia Institute of Technology · accessed 2026-11-16

  3. Interactive Linear Algebra: Systems of Linear Equations, section 1.1

    Georgia Institute of Technology · accessed 2026-11-16

  4. Interactive Linear Algebra: Determinants: Definition and Properties, section 4.1

    Georgia Institute of Technology · accessed 2026-11-16