calculatorworld.info

CalculatorWorld.info

Matrix Calculator

Matrix Calculator

Matrix Calculator

Perform matrix operations including addition, subtraction, multiplication, determinant, and more.

Matrix Operations

A+B
A-B
A×B
det(A)

Result

Result will appear here

Visualization

Matrix A Dimensions

2×2

Matrix B Dimensions

2×2

Matrix Operations Guide

Addition

Add corresponding elements. Matrices must have the same dimensions.

Subtraction

Subtract corresponding elements. Matrices must have the same dimensions.

Multiplication

Number of columns in A must equal number of rows in B.

Determinant

Only defined for square matrices (n×n).

Matrix Examples

Identity Matrix

1
0
0
0
1
0
0
0
1

Matrix Multiplication

If A = [[1, 2], [3, 4]] and B = [[5, 6], [7, 8]]:

A × B = [[1×5+2×7, 1×6+2×8], [3×5+4×7, 3×6+4×8]]

Result: [[19, 22], [43, 50]]

Scroll to Top