This free eigenvalue calculator finds the eigenvalues and eigenvectors of any 2×2 or 3×3 matrix. Enter your matrix and it solves the characteristic equation for you — handling real and complex eigenvalues.

How to use the eigenvalue calculator
- Pick a size — 2×2 or 3×3.
- Type your matrix entries.
- Press “Find eigenvalues.” You get each eigenvalue and, for real eigenvalues, an eigenvector.
What is an eigenvalue?
For a square matrix $A$, a non-zero vector $v$ is an eigenvector and $\lambda$ its eigenvalue when multiplying by $A$ only scales the vector:
$$A\,v = \lambda\, v$$In words: $A$ does not rotate $v$, it just stretches or shrinks it by the factor $\lambda$. Those special directions and their scale factors reveal the deepest structure of the matrix.
How eigenvalues are found
The eigenvalues are the roots of the characteristic equation, formed by subtracting $\lambda$ down the diagonal and setting the determinant to zero:
$$\det(A – \lambda I) = 0$$For a 2×2 matrix this is a quadratic; for a 3×3 it is a cubic. The calculator builds this polynomial from your entries and solves it exactly, then finds each eigenvector by solving $(A – \lambda I)v = 0$.
Worked example (2×2)
For $A = \begin{bmatrix}2 & 1\\ 1 & 2\end{bmatrix}$ the trace is 4 and the determinant is 3, so the characteristic equation is $\lambda^2 – 4\lambda + 3 = 0$, giving $\lambda = 3$ and $\lambda = 1$. Their eigenvectors are $[1, 1]$ and $[1, -1]$ — exactly what the calculator returns for the default matrix.
🤖 Why eigenvalues matter in machine learning
Eigenvalues are the engine of Principal Component Analysis (PCA): the eigenvectors of the covariance matrix are the principal directions, and their eigenvalues measure how much variance each captures. They also drive spectral clustering and PageRank. Build up to it with the determinant calculator and the eigenvalues of a 2×2 matrix guide.
Frequently asked questions
What does the eigenvalue calculator do?
How do you find eigenvalues by hand?
Can a matrix have complex eigenvalues?
What is an eigenvector?
Do eigenvalues relate to the trace and determinant?
Repeated and complex eigenvalues
Not every matrix has neat, distinct real eigenvalues. A repeated eigenvalue occurs when the characteristic polynomial has a double (or triple) root — the matrix may then have fewer independent eigenvectors than its size, which matters for whether it can be diagonalized. Complex eigenvalues appear for matrices that rotate, such as $\begin{bmatrix}0 & -1\\ 1 & 0\end{bmatrix}$, whose eigenvalues are $+i$ and $-i$; they always come in conjugate pairs for a real matrix. This calculator reports both cases: repeated roots are listed with their multiplicity, and complex eigenvalues are shown in $a + bi$ form. For hand calculation, remember that a 3×3 matrix always has at least one real eigenvalue, because a real cubic always has at least one real root.
Related tools
Keep exploring: Determinant Calculator, Matrix Inverse Calculator, Eigenvalues of a 2×2 Matrix, or the formal reference on Wikipedia.