Matrix Calculator | Perform Matrix Operations Online

Matrix Calculator

Perform matrix operations including addition, subtraction, multiplication, determinant, and inverse calculations

Matrix Dimensions

Matrix Operations

How to Use

1. Set matrix dimensions using the inputs above

2. Enter values in the matrix grids

3. Select the desired operation

4. Click “Calculate” to see the result

Matrix A
+
Matrix B
Result

Matrix Operation Examples

Matrix Addition

Add corresponding elements from two matrices of the same size:

A = [1 2] B = [5 6] A+B = [6 8]
    [3 4]       [7 8]        [10 12]

Matrix Multiplication

Multiply matrices where columns of A match rows of B:

A = [1 2] B = [5 6] A×B = [19 22]
    [3 4]      [7 8]        [43 50]

Matrix Determinant

For 2×2 matrix: det(A) = (a*d) – (b*c)

A = [a b] det(A) = ad – bc
    [c d]

Example: [2 3] → det = (2*4) – (3*1) = 5
          [1 4]