Add, subtract, or multiply two matrices, or compute the determinant of a square matrix. Enter one row per line, numbers separated by spaces. All work runs in your browser.
Format: One row per line. Numbers in a row separated by spaces. Example 2x2: first line 1 2, second line 3 4. For add or subtract, both matrices must have the same dimensions. For multiplication, columns of A must equal rows of B.