Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

Matrix Multiplication

Multiply two matrices together. Matrix A's columns must equal Matrix B's rows.

×

What Is Matrix Multiplication?

Drop two matrices into the boxes, hit multiply, and the product comes back with columns aligned so it actually reads like a matrix. Works on anything where A's columns match B's rows — decimals included. And everything runs in your browser. Nothing gets uploaded.

FAQ

What dimensions are required?

The number of columns in Matrix A must equal the number of rows in Matrix B. If A is m×n and B is n×p, the result will be m×p.

Is matrix multiplication commutative?

No. In general, AB ≠ BA. The order of the matrices matters.

Can I multiply non-square matrices?

Yes, as long as the inner dimensions match. For example, a 3×2 matrix can multiply a 2×4 matrix, producing a 3×4 result.

What about decimal values?

Decimals are fully supported. Results are shown with full precision.

Related Tools