Home · Everyday · Matrices · Cholesky Decomposition Calculator

Cholesky Decomposition Calculator

The Cholesky factor L of a symmetric positive-definite matrix, with A = L·Lᵀ — half the work of LU, twice the insight.

Your figures

Example result — edit the figures to make it yours

[2, 0; 1, 1.4142]

Cholesky factor L

Cholesky factor L (A = L·Lᵀ) — a 2 × 2 matrix. The headline figure for the correctness record is its top-left entry, 2.

Cholesky factor L (A = L·Lᵀ)
C1C2
R120
R211.4142

What this calculator does

The Cholesky factor L of a symmetric positive-definite matrix, with A = L·Lᵀ — half the work of LU, twice the insight. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

Cholesky–Banachiewicz: Lᵢᵢ = √(Aᵢᵢ − Σ Lᵢₖ²), Lᵢⱼ = (Aᵢⱼ − Σ LᵢₖLⱼₖ) / Lⱼⱼ

Enter matrices with rows separated by semicolons and entries by commas or spaces.

The operation is applied with the standard rules of matrix arithmetic; sizes must be compatible.

Results are rounded for display; exact fractions are kept internally where the method allows.

Worked example

With the example inputs this page opens with, the result is [2, 0; 1, 1.4142] — cholesky factor l. Cholesky factor L (A = L·Lᵀ) — a 2 × 2 matrix. The headline figure for the correctness record is its top-left entry, 2.

Quick reference

Cholesky factor L (A = L·Lᵀ)
C1C2
R120
R211.4142

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Cholesky Decomposition Calculator work?

The Cholesky factor L of a symmetric positive-definite matrix, with A = L·Lᵀ — half the work of LU, twice the insight. Symmetric positive-definite A → L. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Cholesky Decomposition Calculator need?

Symmetric positive-definite A → L. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Cholesky Decomposition Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.