Matrix Calculator
Perform matrix operations — add, subtract, multiply, transpose, determinant, and inverse — with step-by-step working.
About this tool
Select a matrix size (2×2, 3×3, or 4×4) and fill in the grid cells for Matrix A and Matrix B. Choose an operation: Addition, Subtraction, Multiplication, Transpose, Determinant, or Inverse. Results are displayed as a formatted matrix grid. For Determinant and Inverse, the tool shows full cofactor-expansion working so you can follow every step. Errors are clearly reported for singular matrices, incompatible sizes, and non-square inputs.
How to use
- 1 Select the matrix size (2×2, 3×3, or 4×4) from the size selector.
- 2 Enter values into the Matrix A grid — and Matrix B if the operation requires two matrices.
- 3 Choose an operation: Add, Subtract, Multiply, Transpose, Determinant, or Inverse.
- 4 Click Calculate to see the result matrix and, for Determinant/Inverse, the step-by-step working.
Frequently Asked Questions
Full scientific calculator with trig, logarithms, powers, and history — runs entirely in your browser.
Add, subtract, multiply, and divide fractions with step-by-step working and visual fraction bars.
Compute percentages, increases, decreases, tips, and percentage-of-total — six modes.