Matrix Calculator

Perform matrix operations: addition, subtraction, multiplication, determinant, inverse, transpose, and scalar multiplication

How to Use Matrix Calculator

  1. Set the dimensions (rows × columns, 1-4) for Matrix A and Matrix B. Enter your values in the grid — click any cell and type a number
  2. Choose an operation from the dropdown: A+B, A-B, A×B, det(A), A⁻¹ (inverse), Aᵀ (transpose), or scalar multiplication k×A
  3. Click Calculate to see the result. For 3×3 determinants, a step-by-step cofactor expansion is shown. Error messages explain dimension mismatches

Enable JavaScript to use these tools.