Math Tools Math Tools

Matrix Trace Calculator

Matrix Trace Calculator

The trace of a square matrix is the sum of the entries on its main diagonal (top-left to bottom-right) — nowhere else in the matrix matters. It's only defined for square matrices, since a non-square matrix has no single diagonal running corner to corner.

Make sure JavaScript is enabled for this calculator to work.

Advertisement

Build Your Matrix

Only a square matrix (equal rows and columns) has a trace.

Matrix A

tr(A)

Advertisement

Matrix Trace Calculator Example

The trace of the matrix a b c d e f g h i equals a plus e plus i, the sum of the main diagonal

Other Matrix Calculators

Advertisement