Canonical: https://toolipedia.app/eigenvalue-and-eigenvector-calculator

# Eigenvalue and eigenvector calculator

Gives the eigenvalues and eigenvectors of a 2x2 to 4x4 matrix, the diagonalization P D P^-1, and uses it to compute matrix powers A^n and the matrix exponential e^A.

Breadcrumbs: Toolipedia > Online calculators > Maths and school calculators > Eigenvalue and eigenvector calculator

## About Eigenvalue and eigenvector calculator

An eigenvector of a square matrix A is a direction that A only stretches: A v = λ v. This page finds the eigenvalues of a 2x2, 3x3 or 4x4 matrix from its characteristic polynomial, then solves (A − λI) v = 0 for the eigenvectors, including complex pairs. When enough independent eigenvectors exist it writes A = P D P^-1, and shows A^n and the matrix exponential e^A. Example: [[2, 1], [1, 2]] has eigenvalues 3 and 1 with eigenvectors (1, 1) and (1, −1), so A^5 = [[122, 121], [121, 122]].

## How to use Eigenvalue and eigenvector calculator
1. Type the matrix with one row per line and the entries separated by spaces.
2. Set the power n if you want A^n, and read the eigenvalues and the eigenvector for each one.
3. Check the Diagonalizable line and, when it says yes, copy P, D and P^-1 from the result blocks.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.

## Also known as
- eigenvalue and eigenvector calculator
- eigenvalues of a matrix
- diagonalize a matrix
- matrix exponential calculator
- matrix power A^n calculator
- P D P inverse

## Frequently asked questions

### What does it mean when a matrix is not diagonalizable?

It has fewer independent eigenvectors than its size, which happens with repeated eigenvalues such as [[1, 1], [0, 1]]. Then A = P D P^-1 does not exist and a Jordan form is needed instead.

### Why can eigenvalues of a real matrix be complex?

A rotation has no real direction that stays fixed, so its eigenvalues come as a conjugate pair a ± bi. The matrix [[0, −1], [1, 0]] has eigenvalues i and −i.

### How is the matrix exponential e^A computed here?

By scaling the matrix down, summing the power series of e^A and squaring the result back up. This works for every square matrix, diagonalizable or not.

### Is Eigenvalue and eigenvector calculator free?

Yes. Eigenvalue and eigenvector calculator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

### Can I put Eigenvalue and eigenvector calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

## Related tools

More free tools that go well with Eigenvalue and eigenvector calculator:
- [Matrix calculator](https://toolipedia.app/matrix-calculator)
- [Exponential distribution calculator](https://toolipedia.app/exponential-distribution-calculator)
- [2x2 Table Calculator](https://toolipedia.app/2x2-table-calculator)
- [Clustering and PCA Calculator](https://toolipedia.app/clustering-and-pca-calculator)
- [Matrix decomposition calculator (LU, QR, Cholesky, SVD)](https://toolipedia.app/matrix-decomposition-calculator)
