Transpose of a Matrix Calculator

Published on: October 12, 2025
Final Answer: Free | Full Steps: Pro

This Transpose of a Matrix Calculator reflects a matrix along its main diagonal and shows the working line by line. Every entry in row \(i\) and column \(j\) moves to row \(j\) and column \(i\), which turns the rows into columns. An \(m \times n\) matrix becomes \(n \times m\), so the shape changes unless it was square to begin with. Following the same pattern every time makes the transpose easy to check and repeat.

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Turn each row of A into a column.

Formula: Transpose Formula

This formula moves the entry in row i and column j to row j and column i. Every row of A becomes a column of the transpose.

\((A^{T})_{ij} = a_{ji}\)

Useful Tips to Remember

A matrix with m rows and n columns has a transpose with n rows and m columns. The main diagonal stays where it is. Transposing twice gives back the original matrix, so \((A^{T})^{T} = A\). A matrix that equals its own transpose is called symmetric.

Required knowledge

Where Is the Transpose of a Matrix Used?

The transpose swaps the rows and columns of a matrix, which is needed whenever data has to be read the other way round. Spreadsheets transpose tables to turn rows of records into columns. In statistics and machine learning, transposes appear in least squares fitting and in computing covariance matrices. Computer graphics uses them to invert rotation matrices quickly, and the adjugate used to find an inverse matrix is the transpose of the cofactor matrix.

  • Swapping rows and columns in spreadsheets
  • Least squares fitting in statistics
  • Covariance matrices in data science
  • Inverting rotation matrices in 3D graphics
  • Building the adjugate for an inverse matrix

Transpose of a Matrix Practice Problems

Example 1 transposes a \(2 \times 3\) matrix into a \(3 \times 2\) one, and Example 2 transposes a \(3 \times 3\) matrix with negative entries. Turn each row into a column yourself and compare. For two more free worked examples, check out the Transpose of a Matrix Notes.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Turn each row of A into a column.

Formula

Formula: Transpose Formula

This formula moves the entry in row i and column j to row j and column i. Every row of A becomes a column of the transpose.

\((A^{T})_{ij} = a_{ji}\)

Step 1

Step 1 - Set up the problem.

In this problem: Matrix A is \(2 \times 3\), so its transpose has the rows and columns swapped and is \(3 \times 2\).

\(A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: Transposing reflects the matrix in its main diagonal, so the entry in row i and column j moves to row j and column i.

\((A^{T})_{ij} = a_{ji}\)

Step 3

Step 3 - Turn each row of A into a column.

In this problem: Each row of A is written down as a column of the transpose, so \(\text{row } 1 = \begin{bmatrix} 1 & 2 & 3 \end{bmatrix}\) becomes \(\text{column } 1\) and \(\text{row } 2 = \begin{bmatrix} 4 & 5 & 6 \end{bmatrix}\) becomes \(\text{column } 2\).

\(A^{T} = \begin{bmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{bmatrix}\)

Final Answer

\(A^{T} = \begin{bmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{bmatrix}\)
See Example 2 Hide Example 2

Problem

\(A = \begin{bmatrix} 2 & -1 & 4 \\ 0 & 7 & 3 \\ -5 & 6 & 8 \end{bmatrix}\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Turn each row of A into a column.

Formula

Formula: Transpose Formula

This formula moves the entry in row i and column j to row j and column i. Every row of A becomes a column of the transpose.

\((A^{T})_{ij} = a_{ji}\)

Step 1

Step 1 - Set up the problem.

In this problem: Matrix A is \(3 \times 3\), so its transpose has the rows and columns swapped and is \(3 \times 3\).

\(A = \begin{bmatrix} 2 & -1 & 4 \\ 0 & 7 & 3 \\ -5 & 6 & 8 \end{bmatrix}\)

Step 2

Step 2 - Write the formula.

In this problem: Transposing reflects the matrix in its main diagonal, so the entry in row i and column j moves to row j and column i.

\((A^{T})_{ij} = a_{ji}\)

Step 3

Step 3 - Turn each row of A into a column.

In this problem: Each row of A is written down as a column of the transpose, so \(\text{row } 1 = \begin{bmatrix} 2 & -1 & 4 \end{bmatrix}\) becomes \(\text{column } 1\), \(\text{row } 2 = \begin{bmatrix} 0 & 7 & 3 \end{bmatrix}\) becomes \(\text{column } 2\) and \(\text{row } 3 = \begin{bmatrix} -5 & 6 & 8 \end{bmatrix}\) becomes \(\text{column } 3\).

\(A^{T} = \begin{bmatrix} 2 & 0 & -5 \\ -1 & 7 & 6 \\ 4 & 3 & 8 \end{bmatrix}\)

Final Answer

\(A^{T} = \begin{bmatrix} 2 & 0 & -5 \\ -1 & 7 & 6 \\ 4 & 3 & 8 \end{bmatrix}\)

Notes and Practice Mode

Size of A
2
×
3
Matrix A

Empty boxes count as 0. Entries can be whole numbers, decimals or fractions like 1/2.

Example Problems

Click one to load it into the box and solve it.