Advanced maths

Matrix transpose calculator for rectangular matrices

Swap rows and columns of a bounded exact rational matrix and inspect the resulting dimensions.

Your numbers

Up to 6 rows and 6 columns, with spaces or commas between entries. Integers, fractions or decimals up to six places.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Try it, understand it

Explore the result

Follow dimensions and exact entries as rows become columns.

Worked example comparison
ExampleOutputWhat to notice
A rectangular inputResult dimensions3 × 2Two rows and three columns become three rows and two columns.
A symmetric matrixResult dimensions2 × 2Matching entries across the diagonal leave the matrix unchanged.
A fractional rowResult dimensions3 × 1One row becomes one column without rounding the entries.

Check your understanding

Must an input be square?

No. Any supported rectangular shape can be transposed.

Does transpose generally undo matrix multiplication?

No. It is not an inverse operation.

Behind the numbers

How this calculation works

Take each row of the input and write it as the corresponding column of the result. Transposition preserves every entry but changes its position. Rectangular matrices are allowed: the old column count becomes the new row count. The result table and copied matrix use exact rational entry formatting.

THE FORMULA(Aᵀ)ᵢⱼ = Aⱼᵢ; an m × n matrix becomes n × m

A worked example

For A = [1 2 3; 4 5 6], Aᵀ = [1 4; 2 5; 3 6]. The input is 2×3 and the output is 3×2. Transposing that result again returns the original matrix.

Good to know

At most 6×6 real rational entries within the existing matrix parser bounds: magnitude 1,000,000, six decimal places or integer fractions with denominators up to 1,000,000. This is ordinary transpose, not inversion or complex conjugate transpose. No symbolic entries or scientific notation.

Rows become columns without changing the entries

A transpose rearranges positions: the item in row i and column j moves to row j and column i. A two-row, three-column matrix therefore becomes three rows by two columns. This works for rectangular matrices; there is no need to invent extra zeros to make them square.

Transposing twice restores the original arrangement. It also preserves the entries themselves, including exact fractions and negative signs. The matrix addition calculator combines matching entries instead, while the matrix multiplication calculator follows a row-by-column sum rule.

A square matrix is symmetric when it equals its transpose. Being square alone is not sufficient: the off-diagonal entries must match across the main diagonal. This page provides the transpose so that comparison can be made directly.

Transpose is not an inverse operation

An inverse, when it exists, combines with the original matrix to produce an identity under multiplication. A transpose has no such general promise. Some special matrices have transpose equal to inverse, but that property cannot be assumed for an arbitrary input.

For real matrices, transposing a product reverses the order: (AB)ᵀ=BᵀAᵀ. The reversal follows from the original row and column matching rule. It is a useful check when reorganizing a formula, not permission to commute ordinary matrix multiplication.

Complex conjugate transpose would also conjugate each complex entry. This real rational parser does not accept complex values, and the displayed operation is ordinary transpose. Copying the result preserves the exact rational row layout for use in another matrix tool.

A few questions, answered

Can I transpose a nonsquare matrix?

Yes. Its row and column counts exchange places.

Does transpose mean inverse?

No. They are different operations and only coincide for special matrices.

Will a second transpose restore the input?

Yes. Each entry moves back to its original row and column.

Find your calculator

Start typing to explore the library.