Linear Equation System Solver

Solve a bounded linear system and report a unique solution, inconsistency or an underdetermined numerical result.

On-device No sign-up Free to use

Calculate result controls

Showing an example. Edit to see your own.

?

Coefficient rows take numbers only. Typed equations take a form such as 2x + 3y = 8.

?

One equation per line, with coefficients of x1, x2 and so on separated by commas. Up to 6 rows and 6 unknowns. Enter coefficients only, not expressions.

?

One number per equation, in the same row order. Plain decimals; magnitude at most 10^12.

?

Used by the typed-equations form. One equation per line, up to 6 lines and 6 variables, for example 2x + 3y = 8. Constants belong on the right of the equals sign.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Solve x1 + x2 = 5 and x1 − x2 = 1 using coefficient rows, giving x1 = 3 and x2 = 2.

Unique numerical solution: x1 = 3 and x2 = 2. Both original-equation residuals are 0 for this example. Nearly dependent systems remain subject to the stated numerical tolerance.

https://usefreetools.net/linear-equation-system-solver · 20 November 2026

Was this helpful?

How to use Linear Equation System Solver

  1. Choose Coefficient rows or Typed equations. Only that form is used for the calculation.
  2. For coefficient rows, enter one comma-separated row per equation and one matching right-hand constant per line. Columns keep the same unknown order in every row.
  3. For typed equations, use one linear equation per line, such as 2x + 3y = 8. Put constants on the right; use terms such as 2x or -y rather than general expressions.
  4. Calculate and read the classification, numerical rank and stated tolerance. For a unique solution, inspect every residual from the original equations and review the bounded row-operation working.

Example: Linear Equation System Solver

Solve x1 + x2 = 5 and x1 − x2 = 1 using coefficient rows, giving x1 = 3 and x2 = 2.

You add
Input form: Coefficient rows Coefficient rows: 1,1 1,-1 Right-hand constants: 5 1 Typed equations: 2x + 3y = 8 x - y = -1
You get
Unique numerical solution: x1 = 3 and x2 = 2. Both original-equation residuals are 0 for this example. Nearly dependent systems remain subject to the stated numerical tolerance.

Options

Coefficient rows
Each row represents one equation and each column one unknown. Enter one matching right-hand constant for every row.
Numerical classification
The solver uses row scaling and a pivot tolerance to classify unique, inconsistent or underdetermined results.

Supported inputs and limits

  • From 1 to 6 equations and 1 to 6 unknowns; rectangular systems are accepted.
  • Coefficient input is at most 6,000 characters and constants at most 1,000.
  • Typed equations are at most 6,000 characters.
  • Numeric magnitudes are at most 10¹², with up to 25 digits and 12 fractional places.
  • Row-scaled pivots at or below 10⁻¹² count as zero.
More details

The right-hand consistency tolerance is scaled and propagated through row operations.

Nearly dependent equations can change classification after rounding.

Working lists at most 60 row operations plus an omission notice.

Results are finite numerical approximations; an underdetermined classification does not provide a symbolic family of all exact solutions.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Near dependence deserves a precision check

An almost redundant equation can behave differently after rounding its coefficients. Keep the entered matrix and stated tolerance with the result. This is a bounded numerical calculation, so an underdetermined classification is not a symbolic description of every possible exact solution.

Questions about Linear Equation System Solver

What does underdetermined mean?

The numerical rank does not determine every unknown and no inconsistency was detected within the tolerance.

Why show residuals?

Substituting the computed solution back into Ax-b checks how closely it satisfies each entered equation.

Can tiny coefficients be treated as zero?

Yes, relative to the documented tolerance and row scale. Inspect near-singular results rather than treating their rank as exact.

Page updated · Project managed by Tony Hines · Report a problem with Linear Equation System Solver