## Matrix Trace Calculator

Given a square real or complex matrix $A$, this application calculates the trace, $\mbox{tr}(A)$, which is defined as the sum of the elements on the main diagonal, i.e. $\mbox{tr}(A) = \sum_{i=1}^{n}a_{ii}.$

See Input Data for the description of how to enter matrix or just click Example for a simple example. Note that this calculator can be used as a scientific calculator. Just enter a math expression (without white space) and click Calculate.