Two matrices A and B are said to be equal if

- Both the matrices A and B are of the same order or size.
- The corresponding entries in both the matrices A and B are equal.

The matrices A = [a_{ij}]_{m×n} and B = [b_{ij}]_{p×q} are equal if

- m = p, n = q
- a
_{ij}= b_{ij}for every i and j