Matrix Transpose Calculator
Transpose a matrix (swap rows and columns).
Loading tool…
About this tool
Enter a matrix and get its transpose, where rows become columns. A 2×3 matrix [1 2 3; 4 5 6] becomes the 3×2 matrix [1 4; 2 5; 3 6].
How to use
1
Step 1
Type the matrix with one row per line.
2
Step 2
Choose transpose.
3
Step 3
Press Calculate.
How it works
The transpose Aᵀ puts the entry in row i, column j of A into row j, column i. The shape flips from m×n to n×m. A square matrix equal to its own transpose is symmetric, and (AB)ᵀ = BᵀAᵀ.
(Aᵀ)ᵢⱼ = Aⱼᵢ (AB)ᵀ = BᵀAᵀ
Worked example
A 2×3 matrix
- Input
- [1 2 3; 4 5 6]
- Output
- [1 4; 2 5; 3 6]
- Walkthrough
- The first row 1 2 3 becomes the first column, and the second row 4 5 6 becomes the second column.
Limitations
- Any rectangular matrix works, but every row must have the same number of entries.
Questions
What is the transpose of [1 2 3; 4 5 6]?
[1 4; 2 5; 3 6].
Does the transpose change the shape?
Yes. An m×n matrix becomes n×m.
When is a matrix symmetric?
When it equals its own transpose, so Aᵢⱼ = Aⱼᵢ.
Features
- Non-square matrices
- Steps shown
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Derivative as a concept
Khan Academy
When general calculators hand off to calculus tools.
Watch on YouTubeFinding a percentage
Khan Academy
Percentage basics used across many calculator pages.
Watch on YouTube
- Math | Khan Academy
Khan Academy
Practice paths when a tool result needs more drill.
- Order of Operations
Math is Fun
PEMDAS/BODMAS when expression calculators surprise you.
More Math tools
See all ›Matrix Calculator
Add, multiply, invert, transpose, factor, and more matrix operations.
Matrix Adjugate Calculator
Compute the adjugate (classical adjoint) of a square matrix.
Matrix Rank Calculator
Compute the rank of a matrix via row reduction.
Vector Calculator
Dot product, cross product, magnitude, and unit vectors.
Matrix Power Calculator
Raise a square matrix to an integer power.
Matrix Trace Calculator
Sum the diagonal entries of a square matrix.