Singular Value Decomposition (SVD)
Compute the Singular Value Decomposition1
of a matrix \(A = U\Sigma V^T\).
Matrix entries can be real numbers or fractions.
For an \(m \times n\) matrix \(A\), the SVD is a factorization:
\[ A = U\Sigma V^T \]
Components:
- \(U\) is an \(m \times m\) orthogonal matrix (left singular vectors)2
- \(\Sigma\) is an \(m \times n\) diagonal matrix (singular values \(\sigma_1 \geq \sigma_2 \geq \cdots \geq 0\))
- \(V^T\) is an \(n \times n\) orthogonal matrix (right singular vectors)
Key Properties:
- Singular values are the square roots of eigenvalues of \(A^TA\) (or \(AA^T\))3
- The rank of \(A\) equals the number of non-zero singular values
- SVD works for any matrix (square or rectangular)
This calculator uses Jacobi eigendecomposition4 of \(A^TA\) to compute the SVD, with Gram-Schmidt orthogonalization to complete the \(U\) matrix columns, and follows the MATLAB sign convention.
To see the rotation–scaling–rotation geometry of \(A = U\Sigma V^T\) animated on the unit circle, open the 2D SVD Visualization.
Enter dimensions and click Generate Matrix to create the input grid.
Compute
Computes the full singular value decomposition A = UΣVᵀ.
Resets all dimensions, matrix entries, and results.
Cite this tool
Kapita, S. (2026). Singular Value Decomposition (SVD). Math Tools. https://doi.org/10.5281/zenodo.20981387
Kapita, Shelvean. "Singular Value Decomposition (SVD)." Math Tools, 2026, doi.org/10.5281/zenodo.20981387.
@online{kapita2026svdcompute,
author = {Shelvean Kapita},
title = {{Singular Value Decomposition (SVD)}},
year = {2026},
organization = {Math Tools},
doi = {10.5281/zenodo.20981387},
url = {https://doi.org/10.5281/zenodo.20981387}
}