Skip to content
Allin

Cholesky decomposition calculator

Factor a symmetric positive-definite matrix A into L·Lᵀ, where L is lower triangular — the Cholesky decomposition. Enter A on an editable square grid and it returns L, Lᵀ and the product L·Lᵀ; if the matrix is not symmetric or not positive-definite, it tells you which condition failed. Twice as fast as LU, Cholesky is used in optimization, Kalman filters and Monte-Carlo simulation.

LU Decomposition CalculatorFactor a square matrix into a lower L and upper U triangular matrix (Doolittle method).QR decomposition calculatorFactor a matrix A into Q·R, where Q has orthonormal columns and R is upper triangular, using the modified Gram-Schmidt process. Enter A on an editable grid (rows ≥ columns), and it returns Q, R and the product Q·R so you can check the factorization at a glance. QR is the workhorse behind least-squares regression and eigenvalue algorithms.SVD calculator (singular value decomposition)Compute the singular value decomposition A = U·Σ·Vᵀ of any matrix. The singular values are the square roots of the eigenvalues of AᵀA, found with the Jacobi eigenvalue algorithm; U and V are orthogonal. Enter A on an editable grid (up to 6×6) and it returns the singular values, U, Σ, Vᵀ and the reconstruction U·Σ·Vᵀ. SVD underpins PCA, image compression, recommender systems and the pseudo-inverse.Partial Fraction Decomposition CalculatorBreaks a rational function into simple fractions, covering distinct linear factors, repeated factors and irreducible quadratics. The setup and the linear system solved for the coefficients are both shown, since that is the part being learned.Adjacency matrix calculatorTurn any graph into its adjacency matrix. Paste an edge list (A-B), an adjacency list (A: B C D) or a binary matrix — the tool auto-detects the format, builds the labelled adjacency matrix, and reports the degree sequence, in/out-degrees for directed graphs, and the vertex and edge counts.Angle Between Two Vectors Calculatorθ = arccos(a·b / (|a||b|)) in 2D or 3D, in degrees and radians, with the dot product, both magnitudes, the projections and a parallel / perpendicular / acute / obtuse verdict.Column Space Calculator (basis of Col(A), rank, pivot columns)A basis of the column space of any matrix up to 6×6, taken from the ORIGINAL pivot columns rather than the reduced ones — with the rank, the free columns, the full RREF and every row operation.Cramer's Rule CalculatorSolves a 2×2 or 3×3 system with exact fractions, shows every determinant expanded term by term, and when D = 0 separates the two cases most calculators merge: dependent with infinitely many solutions, or inconsistent with none.

Cholesky decomposition calculator is free to use as often as you like, directly from this page. Its place is under Matrices & vectors; LU Decomposition Calculator and QR decomposition calculator answer the questions closest to this one.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What does Cholesky decomposition calculator do?

Factor a symmetric positive-definite matrix A into L·Lᵀ, where L is lower triangular — the Cholesky decomposition. Enter A on an editable square grid and it returns L, Lᵀ and the product L·Lᵀ; if the matrix is not symmetric or not positive-definite, it tells you which condition failed. Twice as fast as LU, Cholesky is used in optimization, Kalman filters and Monte-Carlo simulation.

What does a concrete case look like?

[[4, 2], [2, 3]] → L = [[2, 0], [1, √2]] — the tool shows every step in between, not just the final figure.

When would I actually use this?

Checking a decomposition done by hand, solving a linear system, and finding the eigenvalues that describe how a transformation stretches space.

What is the most common mistake?

Inverting a matrix to solve a system. Elimination or a factorisation is both faster and far more stable numerically; an explicit inverse amplifies rounding error, especially when the matrix is close to singular.

How is Cholesky decomposition calculator different from LU Decomposition Calculator?

They sit next to each other but answer different questions: LU Decomposition Calculator is the one to open when you need it to factor a square matrix into a lower L and upper U triangular matrix (Doolittle method). Pick whichever matches what you're starting from — both are free.

Is there a tool for the next step?

QR decomposition calculator is the closest one after this: Factor a matrix A into Q·R, where Q has orthonormal columns and R is upper triangular, using the modified Gram-Schmidt process. Enter A on an editable grid (rows ≥ columns), and it returns Q, R and the product Q·R so you can check the factorization at a glance. QR is the workhorse behind least-squares regression and eigenvalue algorithms.

What else is worth having open alongside it?

SVD calculator (singular value decomposition) and Partial Fraction Decomposition Calculator — they come up in the same task often enough to be worth a second tab.

Where do the figures come from?

The decompositions follow their textbook definitions with partial pivoting where it applies. Results are exact for small integer matrices and subject to floating-point rounding otherwise.

Further reading

All guides