Canonical: https://toolipedia.app/matrix-decomposition-calculator

# Matrix decomposition calculator (LU, QR, Cholesky, SVD)

Factorizes a matrix with LU (with or without pivoting), QR by Gram-Schmidt, Cholesky or singular value decomposition and shows every factor together with a check of the product.

Breadcrumbs: Toolipedia > Online calculators > Maths and school calculators > Matrix decomposition calculator (LU, QR, Cholesky, SVD)

## About Matrix decomposition calculator (LU, QR, Cholesky, SVD)

A decomposition rewrites a matrix as a product of simpler ones. LU splits a square matrix into a unit lower and an upper triangular factor (with row swaps, PA = LU). QR by Gram-Schmidt gives orthonormal columns Q and an upper triangular R. Cholesky writes a symmetric positive definite matrix as L L^T. SVD gives singular values and orthogonal factors for any matrix. For [[4, 12, −16], [12, 37, −43], [−16, −43, 98]] the Cholesky factor is [[2, 0, 0], [6, 1, 0], [−8, 5, 3]].

## How to use Matrix decomposition calculator (LU, QR, Cholesky, SVD)
1. Choose LU, QR, Cholesky or SVD, and tick partial pivoting if you want PA = LU.
2. Type the matrix, one row per line (up to 6 by 6).
3. Read the factors and the error line, which shows how closely the product reproduces your matrix.

## 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.
- Free to embed on your own website, with a ready-made code to copy.

## Also known as
- matrix decomposition calculator
- lu decomposition calculator
- qr decomposition calculator
- cholesky decomposition
- svd calculator
- singular value decomposition online

## Frequently asked questions

### When does an LU decomposition exist without row swaps?

Only when no zero pivot appears during elimination, for example when all leading minors are non-zero. Partial pivoting avoids this and works for every invertible matrix.

### What does Cholesky need from my matrix?

It must be symmetric and positive definite, so all pivots in the factorization are positive. The page tells you which condition failed if it is not.

### What are singular values used for?

They measure how much a matrix stretches space. The ratio of largest to smallest gives the condition number, and the number of non-zero ones is the rank.

### Is Matrix decomposition calculator (LU, QR, Cholesky, SVD) free?

Yes. Matrix decomposition calculator (LU, QR, Cholesky, SVD) 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.

### Can I put Matrix decomposition calculator (LU, QR, Cholesky, SVD) on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

## Related tools

More free tools that go well with Matrix decomposition calculator (LU, QR, Cholesky, SVD):
- [Matrix calculator](https://toolipedia.app/matrix-calculator)
- [Partial Fractions Calculator](https://toolipedia.app/partial-fractions-calculator)
- [Game theory solver](https://toolipedia.app/game-theory-solver)
- [Confusion Matrix and Diagnostic Test Metrics](https://toolipedia.app/confusion-matrix-and-diagnostic-test-metrics)
- [Markov Chain and Random Walk Calculator](https://toolipedia.app/markov-chain-and-random-walk-calculator)
