Toolstia / matrix calculator
Matrix calculator
Type your matrices with one row per line and choose an operation. The calculator adds, subtracts and multiplies matrices, scales them, transposes them and finds the determinant and inverse of a square matrix.
Separate the numbers in a row with spaces or commas, and put each row on its own line. Matrices up to 8 by 8 are supported. Results are rounded to 8 decimal places.
How it works
- Choose an operation.
- Type matrix A, and matrix B if the operation needs it.
- Read the result.
Entering a matrix
Put each row on its own line and separate numbers with spaces or commas. All rows must have the same length.
Multiplication
To multiply A by B, the number of columns in A must equal the number of rows in B. The result has the rows of A and the columns of B. The order matters: A × B is not usually B × A.
Determinant and inverse
Both need a square matrix. A matrix whose determinant is zero has no inverse, and the tool says so.
Precision
Results are rounded to 8 decimal places.
Questions
How large a matrix can I use?
Up to 8 by 8.
Does it show the steps?
No, it shows the result. It is checked against exact values for whole numbers.
Is my data stored?
Everything happens in your browser, and nothing you enter is sent anywhere.