1Swap rows and columns
The first row becomes the first column, the second row becomes the second column, and so on. The values themselves do not change.
Transpose a matrix online in seconds. Swap rows and columns, work with square or rectangular matrices, and view the result alongside a clear explanation of how every entry moves.
Choose the number of rows and columns, then enter a number in each cell. The transpose will have the columns and rows reversed.
The transpose operation exchanges the row and column indices of every entry. It works for rectangular matrices as well as square matrices.
The first row becomes the first column, the second row becomes the second column, and so on. The values themselves do not change.
If the original matrix has m rows and n columns, the transpose has n rows and m columns.
Start with this 2 × 3 matrix:
The first row, [1, 2, 3], becomes the first column. The second row, [4, 5, 6], becomes the second column. The result therefore has three rows and two columns.
Click “Load example” in the calculator to try this matrix yourself.
The transpose of a matrix is formed by exchanging its rows and columns. An entry originally in row i and column j moves to row j and column i. The transpose of A is written Aᵀ.
Take each column of the original matrix and make it a row in the transposed matrix, keeping the entries in their original order. Equivalently, swap the row and column indices of every entry.
Yes. The transpose is defined for rectangular as well as square matrices. For example, a 2 × 3 matrix becomes a 3 × 2 matrix.
No entries are added or removed. The same entries appear in different positions because the rows and columns are exchanged.
Transposing a matrix twice returns the original matrix: (Aᵀ)ᵀ = A.
A square matrix is symmetric if its transpose equals itself, meaning Aᵀ = A. Its entries are mirrored across the main diagonal.
Continue working with matrices using these related tools.