Matrix Calculator
Workspace
What is the Matrix Calculator?
The Matrix Calculator adds, subtracts, multiplies, transposes, and finds the determinant of matrices you type in. Enter each matrix as rows of numbers, one row per line, with values separated by spaces or commas.
How to Use the Matrix Calculator
- Type Matrix A in the first box, one row per line — for example “1 2” on the first line and “3 4” on the second. Type Matrix B in the second box if your operation needs two matrices (add, subtract, multiply).
- Choose an operation from the Operation dropdown: A + B, A − B, A × B, Transpose of A, or Determinant of A. Then click Calculate.
- Read the result: a matrix shown as rows of numbers, or a single Determinant value in a result table.
Worked Example
Input entered as two lines:
1, 2
3, 4
Observed result for A + B with Matrix B as “5 6” and “7 8”: 6 8 on the first row, 10 12 on the second. For A × B the same inputs give 19 22 and 43 50. The determinant of A is −2, and the transpose of A is 1 3 on the first row, 2 4 on the second.
The tool does not offer an inverse operation — the dropdown lists add, subtract, multiply, transpose, and determinant only.
Limitations
- Two-matrix operations (A + B, A − B, A × B) need both boxes filled, and the sizes must fit: add and subtract need equal sizes, multiply needs A’s columns to equal B’s rows. A mismatched pair shows an error, not a result.
- Every row must have the same number of numeric entries. A row with a missing value or a non-number shows an error instead of a result.
- Determinant needs a square matrix: asking for the determinant of a non-square matrix shows an error.
Frequently Asked Questions
Can it add or multiply two matrices?
Yes. Enter both matrices, choose A + B or A × B, and click Calculate. Add needs equal sizes; multiply needs A’s columns to equal B’s rows.
What input format does it describe?
Rows separated by newlines, values separated by spaces or commas — for example “1 2 3” on one line, then “4 5 6” on the next.
Can it find a determinant or inverse?
Determinant yes: for the 2 by 2 matrix above it returns −2. Inverse no — the tool does not offer an inverse operation.
Can I enter two matrices?
Yes. There are two boxes, Matrix A and Matrix B. Operations on one matrix (transpose, determinant) use Matrix A only.
Related Tools
From the Blog
How to Split a Bill Fairly (With Tip and Tax, Without the Awkward Maths)
Quick Answer Agree the method before ordering, split the food by what each person ordered, and split tax and tip in proportion…
Read article →How to Use the Pomodoro Technique to Actually Finish Your Work
Most productivity advice tells you what to do and leaves the when to you. That is exactly where the day falls apart.…
Read article →How to Merge PDF Files Into One Document (Without Losing Pages)
You have five PDFs. Your bank wants one file. Your university wants one file. Your client wants one file. Merging them is…
Read article →