Matrix Calculator

Calculate matrix addition, subtraction, multiplication, determinants, transpose, and inverse results in one place.

x
x

Matrix A

Matrix B

Result

Matrix Calculator Guide

This page is designed for common linear algebra tasks such as combining matrices, checking determinants, or finding inverses for square matrices. It is useful for students, teachers, and anyone working through matrix homework or engineering calculations.

Choose the dimensions first, generate the input grid, and then enter values for Matrix A and Matrix B. Addition and subtraction require the same matrix shape, while multiplication requires Matrix A columns to match Matrix B rows.

Use Matching Sizes

Addition and subtraction only work when both matrices have identical dimensions.

Check Square Matrices

Determinant and inverse calculations require square matrices such as 2x2 or 3x3.

Read Decimal Output

Results are formatted to four decimal places, which is useful when inverse values produce fractions.