Enter or paste matrix rows
Put each row on a new line, with spaces or tabs between entries. You can paste cells straight from a spreadsheet. Enter signed integers, decimals, or fractions such as -2, 0.5, and 3/4. Each row of a matrix needs the same number of entries.
Choose a matrix operation
Addition and subtraction work on corresponding entries, so A and B need the same dimensions. Multiplication combines the rows of A with the columns of B. If A is 2 × 3 and B is 3 × 4, A × B is 2 × 4.
Transpose swaps the rows and columns. Determinant and inverse require a square matrix. Inversion also requires a nonzero determinant. Reduced row echelon form uses row operations to make each pivot 1 and clear the rest of its column. The rank is the number of pivots.
Check an example and copy the result
With rows 1 2 and 3 4 in A and rows 5 6 and 7 8 in B, multiplication gives 19 22 and 43 50. The determinant of A is -2. Its inverse has rows -2 1 and 3/2 -1/2. Exact fractions retain the full value. Copy result copies the cells with tabs between columns and line breaks between rows.