Intermediate

Matrix Power Calculator

Compute Aⁿ for a square matrix A and any integer exponent n, including the identity for n = 0 and inverse-based negative powers.
Separate entries with spaces or commas; rows on new lines.
Any integer (negative uses the inverse).
Result Aⁿ
[ 8 0 ] [ 19 27 ]
Dimensions
2 × 2
Exponent
3
det(A)
6
Effect of Aⁿ on the unit square
Step by step
  1. 1

    Product a·d

    2 × 3 = 6
  2. 2

    Product b·c

    0 × 1 = 0
  3. 3

    Determinant det(A)

    6 − 0 = 6
    Determinant of the base matrix A — non-zero means negative powers exist.
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

A matrix power raises a square matrix A to an integer n. For n = 0 the result is the identity matrix, for n > 0 you multiply A by itself n times, and for n < 0 you invert A (requires a non-zero determinant) and raise the inverse to |n|. Enter rows of numbers and an exponent to get Aⁿ.

Formula
Aⁿ = A · A · … · A (n times); A⁰ = Iₙ; A⁻ⁿ = (A⁻¹)ⁿ
How this is calculated

Enter a square matrix A with one row per line, separating entries by spaces or commas, and an integer exponent n. The matrix must have the same number of rows and columns; otherwise the power is undefined.

For n = 0 the result is the n×n identity matrix Iₙ. For n > 0 the matrix is multiplied by itself repeatedly (Cₖ₊₁ = Cₖ · A), using standard row-by-column matrix multiplication. For n < 0 the calculator first computes the inverse A⁻¹ via the adjugate (transpose of the cofactor matrix) divided by det(A), then raises that inverse to |n|. Negative powers therefore require det(A) ≠ 0.

Entries can be integers or decimals. The determinant is computed by cofactor (Laplace) expansion, which is exact for the small matrices typical of hand calculations but can accumulate floating-point rounding for larger sizes. Results are shown to four decimal places.

Frequently asked questions

By convention A⁰ equals the identity matrix Iₙ of the same size, just as x⁰ = 1 for numbers.

Yes. A⁻ⁿ is computed as (A⁻¹)ⁿ, which exists only when the matrix is invertible, i.e. its determinant is non-zero.

Matrix multiplication A · A is only defined when the number of columns equals the number of rows, which forces A to be square for any power.

Also known as

matrix power
matrix exponent
a to the n
raise matrix to power
matrix raised power
matrix to the power
power of matrix

APA

TG we-Calculate Editorial Team. (2026). Matrix Power Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/matrix-power-calculator

Chicago

TG we-Calculate Editorial Team. "Matrix Power Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/matrix-power-calculator.

IEEE

TG we-Calculate Editorial Team, "Matrix Power Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/matrix-power-calculator

BibTeX

@misc{wecalculate_matrix_power_calculator, title = {Matrix Power Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/matrix-power-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?