SVD Calculator

A = UΣVᵀ decomposition

CalculatorsFreeNo Signup
4.8(881 reviews)
All Tools

Loading tool...

About SVD Calculator

A Singular Value Decomposition (SVD) calculator that factors any m×n matrix as A = UΣVᵀ. U and V are orthogonal, Σ is diagonal with singular values σ₁ ≥ σ₂ ≥ ... ≥ 0. Shows rank, condition number, and pseudoinverse. Select from preset matrices. All calculations are client-side via eigendecomposition of AᵀA.

SVD Calculator Features

  • U Σ Vᵀ
  • Singular values
  • Rank
  • Condition #
  • Presets
SVD: A = UΣVᵀ. Every matrix has an SVD. σᵢ = singular values (always ≥ 0). rank(A) = number of nonzero σᵢ. ||A||₂ = σ₁ (largest). ||A||F = √(Σσᵢ²). Computed via eigendecomposition of AᵀA (eigenvalues = σᵢ²). The most important matrix factorization.

How to Use

Enter a matrix:

  • A: Any m×n matrix
  • Output: U, Σ, Vᵀ
  • Also: Rank, norms, κ

Applications

  • PCA (Principal Component Analysis)
  • Image compression (low-rank approximation)
  • Pseudoinverse: A⁺ = VΣ⁺Uᵀ
  • Recommender systems

Low-Rank Approximation

Best rank-k approximation: keep top k singular values, zero the rest. Error = σₖ₊₁. This is the Eckart-Young theorem. Used in image compression and dimensionality reduction.

Step-by-Step Instructions

  1. 1Select a matrix.
  2. 2View singular values.
  3. 3See U and Vᵀ.
  4. 4Check rank.
  5. 5Analyze condition.

SVD Calculator — Frequently Asked Questions

What do singular values represent?+

Geometrically, a matrix maps the unit sphere to an ellipsoid. Singular values are the semi-axis lengths. σ₁ = maximum stretching, σₙ = minimum stretching. The ratio σ₁/σₙ is the condition number.

How does SVD relate to eigenvalues?+

σᵢ² = eigenvalues of AᵀA. Left singular vectors = eigenvectors of AAᵀ. Right singular vectors = eigenvectors of AᵀA. For symmetric A: σᵢ = |λᵢ|.

Why is SVD called the most important factorization?+

It works for ANY matrix (any shape, any rank). It reveals rank, norms, condition number, orthogonal bases for all four fundamental subspaces, best low-rank approximation, and the pseudoinverse. No other factorization does all of this.

Share this tool: