Matrix Power Calculator
Raise a square matrix to an integer power.
Loading tool…
About this tool
Enter a square matrix and an exponent to compute Aⁿ. [1 1; 1 0] raised to the 5th power is [8 5; 5 3], whose entries are Fibonacci numbers.
How to use
1
Step 1
Type a square matrix.
2
Step 2
Choose power and enter the exponent.
3
Step 3
Press Calculate.
How it works
Aⁿ means multiplying A by itself n times. A⁰ is the identity. The Fibonacci matrix [1 1; 1 0] has Aⁿ = [F(n+1) F(n); F(n) F(n−1)].
Aⁿ = A × A × … × A (n times) A⁰ = I
Worked example
Fibonacci from a matrix
- Input
- [1 1; 1 0] ^ 5
- Output
- [8 5; 5 3]
- Walkthrough
- The entries are F(6) = 8, F(5) = 5 and F(4) = 3, matching the pattern [F(n+1) F(n); F(n) F(n−1)].
Limitations
- The matrix must be square.
- The exponent must be a whole number from 0 to 20. Negative exponents are refused; for A⁻ⁿ, invert the matrix first and raise that to n.
Questions
What is [1 1; 1 0] to the 5th power?
[8 5; 5 3].
What is a matrix to the power 0?
The identity matrix.
Can I use a negative exponent?
Not directly. Invert the matrix, then raise the inverse to the positive power.
Features
- Square matrices
- Steps shown
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Vectors | Essence of linear algebra
3Blue1Brown
Linear algebra intuition for matrix and vector tools.
Watch on YouTubeFinding a percentage
Khan Academy
Percentage basics used across many calculator pages.
Watch on YouTube
- Scientific Notation
Math is Fun
Powers of ten for scientific calculator displays.
- OpenStax Math
OpenStax
Free textbooks for algebra through calculus.
More Math tools
See all ›Matrix Calculator
Add, multiply, invert, transpose, factor, and more matrix operations.
Eigenvalues and Eigenvectors Calculator
Find eigenvalues and eigenvectors of a square matrix.
Matrix Trace Calculator
Sum the diagonal entries of a square matrix.
Matrix Transpose Calculator
Transpose a matrix (swap rows and columns).