Tools Guides
Math Free No signup

Matrix Operations Calculator

Perform addition, subtraction, multiplication, transpose, determinant, and inverse on matrices up to 5×5.

Loading tool…

About this tool

Enter up to two matrices using on-screen grid inputs (up to 5×5 each). Choose an operation: Add, Subtract, Multiply, Transpose, Determinant (square matrices), or Inverse (2×2 and 3×3). Results are displayed instantly, and matrix multiplication includes a step-by-step dot-product breakdown so you can follow the working.

How to use

  1. 1 Set the row and column dimensions for Matrix A (and Matrix B if needed).
  2. 2 Fill in the values in the grid inputs.
  3. 3 Select the desired operation from the buttons.
  4. 4 View the result matrix or scalar below the inputs.
  5. 5 For multiplication, expand the step-by-step section to see each dot-product calculation.

Frequently Asked Questions

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}