Canonical: https://toolipedia.app/jacobi-iteration-calculator

# Iterative Linear System Solver

Solve Ax = b with Jacobi, Gauss-Seidel or conjugate gradient iterations, see every iterate and residual, and check diagonal dominance and convergence.

Breadcrumbs: Toolipedia > Online calculators > Maths and school calculators > Iterative Linear System Solver

## About Iterative Linear System Solver

Solve a square system Ax = b by Jacobi, Gauss–Seidel or conjugate gradient iterations. The page lists every iterate with its residual ‖b − Ax‖, stops at your tolerance and compares the final answer with a direct solution. It tests strict diagonal dominance (sufficient for Jacobi and Gauss–Seidel), symmetry and positive definiteness (needed for conjugate gradient). For [[4, 1], [1, 3]] with b = (1, 2) the solution is (1/11, 7/11) ≈ (0.0909, 0.6364).

## How to use Iterative Linear System Solver
1. Choose a method and type the matrix A, one row per line.
2. Enter b, an optional starting vector, the tolerance and the maximum number of iterations.
3. Read the solution, the convergence checks and the iteration table.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- iterative linear system solver
- jacobi method calculator
- gauss seidel calculator
- conjugate gradient calculator
- diagonal dominance check
- solve ax = b iteratively

## Frequently asked questions

### When does the Jacobi method converge?

It converges for every starting vector when the spectral radius of its iteration matrix is below 1. Strict diagonal dominance is an easy sufficient test, but not a necessary one.

### Why does conjugate gradient finish in so few steps?

In exact arithmetic it needs at most n steps for an n × n symmetric positive definite matrix, so a 2 × 2 example is solved in 2 iterations.

### What if a diagonal entry is zero?

Jacobi and Gauss–Seidel divide by the diagonal entries, so reorder the equations until none is zero. Conjugate gradient does not divide by them.

### Is Iterative Linear System Solver free?

Yes. Iterative Linear System Solver on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Iterative Linear System Solver:
- [Linear equation system solver](https://toolipedia.app/linear-equation-system-solver)
- [Diagonal calculator](https://toolipedia.app/diagonal-calculator)
- [Rationalize Denominator Calculator](https://toolipedia.app/rationalize-denominator-calculator)
- [Numerical Root Finder](https://toolipedia.app/numerical-root-finder)
- [Linear programming and operations research solver](https://toolipedia.app/linear-programming-and-operations-research-solver)
