Linear Algebra & Matrices

Matrix Multiplication Calculator

Multiply compatible matrices in the selected order using exact row-column products.

Linear Algebra & Matrices

Enter matrix values

Exact rational arithmetic
  1. 1EnterProvide the known values
  2. 2CalculateResults update automatically
  3. 3VerifyReview the details and units
Try an example
Matrix A
Matrix B

Use ordinary signed decimals. Fractions, commas, and scientific notation are not accepted in this first batch.

Exact result

Enter valid values to see the result.

Your entries are calculated in this browser and are not submitted to 365CALCS.COM.

Feedback

Understand the subject

What is matrix multiplication?

Matrix multiplication composes relationships: each output entry combines one row of A with one column of B.

Use it for chained linear transformations, systems, and compatible table relationships.

The relationship

The defining relationship

See the structure

What the calculation is doing

Worked interpretation

Read the result in context

(AB)ᵢⱼ = Σₖ aᵢₖbₖⱼ

Interpret with care

Important boundary

A’s columns must equal B’s rows, and reversing order can change the result or make it undefined.

Use the Matrix Calculator to experiment with small exact matrix operations before applying a more specialized route.

Quick guide

How to use this calculator

  1. Set A's columns equal to B's rows.
  2. Enter every value in A and B.
  3. Read the exact product AB; reversing the matrices can give a different result.

Calculation method

Take row-column dot products

The entry in row i and column j of AB is the sum of products between row i of A and column j of B.

Worked example

Multiply a row by a column

For A = [[1,2],[3,4]] and B = [[2,0],[1,2]], calculate four row-column dot products.

AB = [[4,4],[10,8]]

Supported inputs

Precision and limits

Matrix size

Each input matrix may contain 1–6 rows and 1–6 columns.

Entry precision

Each signed decimal may contain up to 30 digits and 15 decimal places.

Exactness

Finite decimals are converted to reduced fractions before calculation; matrix arithmetic is not rounded.