Flip a matrix across its main diagonal and see rows become columns in real time.
Last updated: June 2026 | By Patchworkr Team
The transpose of a matrix swaps rows with columns. If the original matrix is m by n, the transpose is n by m.
[[1, 2, 3], [4, 5, 6]] transposes to [[1, 4], [2, 5], [3, 6]].
Does transpose change the matrix shape?
Yes. An m by n matrix becomes an n by m matrix.
What if the matrix is square?
The transpose is the same size, but the rows and columns are still swapped.
Can I enter decimals?
Yes. Any finite real matrix entries are accepted.
What if a cell is blank?
Blank cells are rejected instead of being silently converted to zero.
Related Tools
Calculate adjoint matrix.
Find angle between vectors.
Find characteristic polynomial.
Cholesky factorization.
Expand determinant by cofactors.
Calculate cofactor matrix.