Calculate matrix

Transpose, scale, add, subtract, multiply, or find a determinant for a text matrix.

freeworks offlinenothing uploaded
ToolMatrix Calculator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Rows are parsed from semicolon-separated lines and operations implement the selected matrix transformation. Shape checks happen before binary operations, and determinants use recursive square-matrix expansion.

  • Transpose is the initial operation.
  • Determinants require square matrices and multiplication needs compatible inner dimensions.

Worked example

Transpose a 2x3 Matrix
Transpose a 2x3 matrix (rows become columns)
Input
											1,2,3;4,5,6
										
Output
												1	4
2	5
3	6
											

When to use this

Linear-algebra lessons transpose coefficients, data workflows scale matrices, and systems exercises multiply compatible arrays.

Edge cases

  • Jagged rows are rejected rather than padded.
  • A 2×3 matrix cannot multiply a 2×2 matrix.
  • A determinant for a non-square matrix is rejected.