How to use the Matrix Calculator
- Choose an operation.
- Type matrix A (and B if needed) — one row per line, entries separated by spaces or commas.
- Read the result matrix in the table.
What does this tool do?
Matrices are grids of numbers used throughout linear algebra, computer graphics, statistics and engineering. Multiplying A × B combines each row of A with each column of B, so A's column count must match B's row count.
The determinant is a single number that tells you whether a square matrix can be inverted: a determinant of zero means it can't. The inverse is computed with Gauss–Jordan elimination with partial pivoting for numerical stability.
Why use it?
- Paste straight from a spreadsheet.
- Clear messages when sizes don't match.
- Handles up to 10 × 10.
Privacy
The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.
Frequently asked questions
Why can't I multiply my matrices?
A × B needs the number of columns in A to equal the number of rows in B. A 2 × 3 matrix can multiply a 3 × 4 one, but not another 2 × 3.
Is A × B the same as B × A?
Usually not. Matrix multiplication isn't commutative, so the order matters.
Last reviewed by the M2Toolkit team.