Addition
Cᵢⱼ = Aᵢⱼ + BᵢⱼA and B must have the same dimensions. The result has those same dimensions.
For A × B, B automatically has as many rows as A has columns.
Paste rows on separate lines; separate entries with spaces, commas, or tabs. Integers, decimals, and scientific notation are accepted.
Cᵢⱼ = Aᵢⱼ + BᵢⱼA and B must have the same dimensions. The result has those same dimensions.
Cᵢⱼ = Σₖ AᵢₖBₖⱼFor an m×n matrix A and n×p matrix B, the product AB is m×p.
(Aᵀ)ᵢⱼ = AⱼᵢTransposing swaps rows and columns, so an m×n matrix becomes n×m.
10¹⁵⁰ in magnitude; a calculation is rejected if its result exceeds the browser’s finite numeric range.[[1,2],[3,4]] + [[5,6],[7,8]]Add corresponding entries to get [[6,8],[10,12]].
(2×3) × (3×2) → (2×2)The shared inner dimension is 3. Each output entry combines three products.
[[1,2,3],[4,5,6]]ᵀThe result is [[1,4],[2,5],[3,6]], a 3×2 matrix.
Only when both matrices have the same number of rows and the same number of columns. Addition pairs entries at identical positions.
The number of columns in the first matrix must equal the number of rows in the second. These are the inner dimensions in (m×n)(n×p).
Matrix multiplication depends on ordered row-by-column dot products. Reversing the order changes those pairings and may also make the dimensions incompatible.
Yes. For example, -2.5 and 1e-6 are valid finite entries.
You get the original matrix: (Aᵀ)ᵀ = A.
Yes. Parsing, calculation, clipboard text, and CSV creation happen locally in your browser. This calculator’s code does not transmit or save matrix entries.
Last reviewed: August 4, 2026 by the Starlight Tools editorial team.
Matrices are limited to 8×8 for readable interaction and predictable browser performance. Decimal results may contain small floating-point rounding differences. This educational calculator is suitable for routine checking and learning, but safety-critical engineering or scientific work should use validated numerical software and appropriate precision analysis.