Quick guide
How to use this calculator
- Choose an operation.
- Set the dimensions of matrices A and B.
- Fill every entry and read the exact result matrix.
Calculation method
Use the rule selected for A and B
Addition, subtraction, and the Hadamard product combine matching entries. Matrix multiplication instead takes dot products of rows of A with columns of B, so order and dimensions matter.
Worked example
Add two 2 × 2 matrices
For A = [[1,2],[3,4]] and B = [[5,6],[7,8]], add corresponding entries.
A + B = [[6,8],[10,12]]
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.
