Eigenvalue and Eigenvector Calculator
Find the directions a square matrix only stretches, and by how much, exactly wherever possible. Follow the algebra, then spin a vector until it lines up.
Matrix
Enter a square matrix up to 6×6, or start from an example.
Up to 6 rows and 6 columns.
Use integers, decimals, or fractions such as 1/3. Paste rows from a spreadsheet or a Python list into any cell.
Input
Eigenvalues
Updates as you type.
Algebraic multiplicity 1, geometric multiplicity 1
Algebraic multiplicity 1, geometric multiplicity 1
Check
From the determinant to the eigenvectors
An eigenvector is a nonzero , which means has a nonzero solution. That only happens when has determinant 0.
What eigenvalues and eigenvectors are
A matrix usually turns a vector as well as stretching it. An eigenvector is a nonzero vector that stays on its own line, so the matrix only scales it. That scale is its eigenvalue:
A negative eigenvalue flips the vector, and an eigenvalue of 0 flattens it to the origin. Together they describe what a matrix does in the simplest terms it has, one direction at a time.
How to find them
Rewrite the equation as . A nonzero solution exists only when has no inverse, which means its determinant is 0:
Expanding that Determinant Calculator gives the characteristic polynomial, whose roots are the eigenvalues. For each root, solve with row reduction to get the eigenvectors. Two checks catch most mistakes: the eigenvalues add up to the trace and multiply to the determinant.
A real matrix can have complex eigenvalues. A rotation is the plain example: it turns every direction, so none stays on its line. Polynomials of degree 5 or more have no general formula, so some eigenvalues can only be approximated. This calculator stays exact as far as it can, and marks anything else with .
Multiplicity and why it matters
An eigenvalue can repeat. Its algebraic multiplicity is how many times it's a root of the polynomial. Its geometric multiplicity is how many independent eigenvectors it has, and that's never more than the algebraic one.
When every eigenvalue has both counts equal, the eigenvectors form a basis, and you can use them as a new set of axes with the Change of Basis Calculator. The matrix is then diagonalizable, which the Matrix Diagonalization Calculator works out, and its Matrix Power Calculator is simple to find, because each direction just scales. A shear like
has the eigenvalue 2 twice but only one eigen-direction, so it doesn't have enough eigenvectors for that.
Related calculators
Keep working with matrices.
Matrix Diagonalization Calculator
Write a square matrix as PDP⁻¹, exactly when you can, or see which eigenvalue is short of eigenvectors. Watch it change basis, scale along axes, and change back.
Determinant Calculator
Find the determinant of a square matrix with exact fractions, drag a live area picture, and step through elimination or cofactor expansion.
Matrix Power Calculator
Raise a square matrix to any whole power, including negative ones, in exact fractions. See repeated squaring step by step and where repeated application leads.
Change of Basis Calculator
Convert coordinates between two bases and find the transition matrix in exact fractions. Drag a point across standard and skewed grids, and learn to read coordinates off a skewed grid.
Linear Transformation Visualizer
Drag basis vectors to see a 2×2 or 3×3 matrix move the plane or space, with live determinant, rank, and eigen-directions, and a match-the-target game.