Skip to content

Matrix Transpose Calculator

Transpose a matrix of any shape — rows become columns — with index-by-index working.

AvailableRuns in your browserFree · No sign-up

Matrix Transpose Calculator

Matrix A (2 × 3)
Rows2
Columns3

Calculations use full double precision; this only affects display.

Fill in the matrix or load an example. Any shape works, including row and column vectors.

Definition

AT[i, j] = A[j, i]

The transpose flips a matrix over its main diagonal: rows become columns. An m × n matrix becomes n × m, a row vector becomes a column vector and vice versa, and (Aᵀ)ᵀ = A.

Your data is processed locally in your browser and is not uploaded to OZVILO servers.

How to use the Matrix Transpose Calculator

  1. 1Set the matrix size and fill it in, paste it as text, or load an example.
  2. 2Read the transpose Aᵀ next to the original, with its new dimensions.
  3. 3Open the working to see where each entry came from.
  4. 4Copy the result or download it as CSV.

Examples

  • 2 × 3 matrix

    Input
    [[1, 2, 3], [4, 5, 6]]
    Result
    Aᵀ = [[1, 4], [2, 5], [3, 6]] (3 × 2)
  • Row vector

    Input
    [1.5, −2, 7, 0]
    Result
    A 4 × 1 column vector

Matrix Transpose Calculator features

  • Any shape up to 8 × 8
  • Row and column vectors
  • Index-by-index working
  • Copy and CSV export

Frequently asked questions

What is the transpose of a matrix?

The matrix you get by turning rows into columns: Aᵀ[i, j] = A[j, i]. An m × n matrix becomes n × m.

What happens to a square matrix?

It stays the same size and the main diagonal stays in place; the other entries are mirrored across it. If Aᵀ = A, the matrix is symmetric.

What are the main properties of the transpose?

(Aᵀ)ᵀ = A, (A + B)ᵀ = Aᵀ + Bᵀ, (cA)ᵀ = cAᵀ and (AB)ᵀ = BᵀAᵀ — note the order reverses for products.