Cholesky Decomposition Calculator screenshot

Cholesky Decomposition Calculator

Work out the lower-triangular factor L with A = L × Lᵀ from symmetric matrix (rows on separate lines). Lᵢᵢ = √(aᵢᵢ − Σ Lᵢₖ²); Lᵢⱼ = (aᵢⱼ − Σ LᵢₖLⱼₖ) ÷ Lⱼⱼ, and the page prints the substitution so the result can be checked by hand.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula printed with the answer

Cholesky Decomposition Calculator

Work out the lower-triangular factor L with A = L × Lᵀ from symmetric matrix (rows on separate lines). Lᵢᵢ = √(aᵢᵢ − Σ Lᵢₖ²); Lᵢⱼ = (aᵢⱼ − Σ LᵢₖLⱼₖ) ÷ Lⱼⱼ, and the page prints the substitution so the result can be checked by hand.

How this page computes

Lᵢᵢ = √(aᵢᵢ − Σ Lᵢₖ²); Lᵢⱼ = (aᵢⱼ − Σ LᵢₖLⱼₖ) ÷ Lⱼⱼ

When a pivot is a perfect square of a rational the factor prints exactly; from the first irrational pivot the entries print as decimals and the page says which row that was.

The page multiplies L by Lᵀ and compares, so the factor is checked rather than assumed to be right.

The calculation runs entirely in this browser tab; nothing is uploaded.

Cholesky Decomposition Calculator computes the lower-triangular factor L with A = L × Lᵀ. Lᵢᵢ = √(aᵢᵢ − Σ Lᵢₖ²); Lᵢⱼ = (aᵢⱼ − Σ LᵢₖLⱼₖ) ÷ Lⱼⱼ. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.

When a pivot is a perfect square of a rational the factor prints exactly; from the first irrational pivot the entries print as decimals and the page says which row that was. Pressed with symmetric matrix 4 2; 2 2, it answers: [ 2 0 ]

How to use Cholesky Decomposition Calculator

Enter symmetric matrix 4 2; 2 2, then press Run: the page evaluates the lower-triangular factor L with A = L × Lᵀ and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.

Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.

With symmetric matrix 4 2; 2 2, the answer is [ 2 0 ].

Exact where the roots are

When a pivot is a perfect square of a rational the factor prints exactly; from the first irrational pivot the entries print as decimals and the page says which row that was.

The page multiplies L by Lᵀ and compares, so the factor is checked rather than assumed to be right.

What to Expect

Best for

  • Working out the lower-triangular factor L with A = L × Lᵀ without a spreadsheet
  • Checking a figure someone else quoted
  • Seeing the formula behind an answer

Not ideal for

  • A non-symmetric matrix is refused, and so is a matrix with a non-positive pivot, which is not positive definite.
  • A quantity the page cannot compute, which it refuses instead of estimating
  • Rounding an answer that has an exact form

What this tool keeps

  • Lᵢᵢ = √(aᵢᵢ − Σ Lᵢₖ²); Lᵢⱼ = (aᵢⱼ − Σ LᵢₖLⱼₖ) ÷ Lⱼⱼ
  • Every input exactly as typed

What may need cleanup

  • Nothing: the printed answer is the final output
  • A unit conversion, if the inputs were entered in different units

Common errors

  • A non-symmetric matrix is refused, and so is a matrix with a non-positive pivot, which is not positive definite.
  • An empty field is refused with the field's name

Example use cases

  • Work out the lower-triangular factor L with A = L × Lᵀ for one set of inputs
  • Check the result against the formula by hand
  • See which input the answer is most sensitive to

Sample input

Cholesky Decomposition Calculator: symmetric matrix 4 2; 2 2

Sample output

[ 2 0 ] — [ 1 1 ]

Who this is for

  • Students checking a formula
  • Anyone who needs the number and the working

Frequently asked questions

What formula does this page use?

Lᵢᵢ = √(aᵢᵢ − Σ Lᵢₖ²); Lᵢⱼ = (aᵢⱼ − Σ LᵢₖLⱼₖ) ÷ Lⱼⱼ. The page prints the substitution as well, so the answer can be checked against the rule.

What does Cholesky Decomposition Calculator refuse?

A non-symmetric matrix is refused, and so is a matrix with a non-positive pivot, which is not positive definite.

What does the default example give?

Symmetric matrix 4 2; 2 2 gives [ 2 0 ]. Every line below that restates the same arithmetic.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.