Multiply two matrices exactly, with the dimension rule explained when it does not apply.
Matrix Addition Calculator
Add two matrices entry by entry over exact fractions.
- Free
- No sign-up
- Runs in your browser
Input
7 characters
One row per line, entries separated by spaces or commas. Fractions such as 3/4 are accepted. Up to 12 x 12.
7 characters
One row per line.
Ready
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter the matrix with one row per line.
- 2
Every entry is held as an exact fraction, so the result carries no rounding.
- 3
A ragged matrix is refused rather than padded with zeros, which would change the answer.
Questions about Matrix Addition Calculator
Why must the shapes match exactly?
Because addition pairs up corresponding entries, and an entry with no partner has nothing to add to. Multiplication is the operation with the looser requirement - there only the inner dimensions need to agree.
Why is a ragged matrix rejected?
Because padding a short row with zeros would change the matrix, and with it the determinant, the inverse and the rank. Guessing at the missing entries would produce a confident answer to a different question, so the tool names the row and asks you to fix it.
Is my data sent anywhere?
No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.
Does the Matrix Addition Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Matrix Addition Calculator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Matrix Addition Calculator uploaded or stored?
No. The Matrix Addition Calculator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Related tools
Other tools you might reach for next.
Compute a determinant by exact row reduction, so a singular matrix gives exactly zero rather than 1e-16.
Transpose a matrix, swapping its rows and columns, and detect symmetry.
Compute a matrix inverse by exact Gauss-Jordan elimination, so the product with the original is precisely the identity.
Determine the rank by exact row reduction - the one matrix property floating point genuinely cannot decide.
Evaluate an expression with exact fraction arithmetic, trigonometry, logarithms and factorials, reporting whether the result is exact.
Reduce a fraction to lowest terms, with its mixed number and exact decimal form including any repeating block.
Add two fractions exactly, showing the common denominator step and reducing the result.