OverCalculator
  1. Home
  2. Math & Scientific
  3. Matrix Calculator
Math & Scientific

Matrix Calculator

A versatile online matrix calculator for performing basic matrix operations including addition, subtraction, multiplication, and finding determinants

Result
Result matrix
[6, 8] [10, 12]
Entries
Row 1, Col 1
6
Row 1, Col 2
8
Row 2, Col 1
10
Row 2, Col 2
12

This migrated calculator uses fixed-size 2×2 matrices to fit the declarative framework.

Fixed 2×2 matrix operations migrated to the shared calculator framework.

Results update as you type.

Matrix Calculator

Use this matrix calculator for common operations on fixed 2 by 2 matrices. It can add, subtract, and multiply matrices A and B, or find the determinant or transpose of matrix A. It is useful for algebra, linear transformations, graphics, engineering, and homework checks.

How to use this calculator

Choose an Operation, then enter the four entries of matrix A. For addition, subtraction, and multiplication, also enter the four entries of matrix B. The result shows either a result matrix with each entry or the determinant of A.

How it works

For addition and subtraction, matching entries are combined. For multiplication, each output entry is the row of A dotted with the column of B. The 2 by 2 determinant uses:

det(A)=a11×a22a12×a21det(A) = a11 \times a22 - a12 \times a21

For example, if A is [1, 2; 3, 4], then det(A) = 1×4 − 2×3 = -2. If B is [5, 6; 7, 8], A plus B gives [6, 8; 10, 12].

Interpreting results

A zero determinant means the 2 by 2 matrix is singular and does not have an inverse, though this form does not calculate inverses. A transpose swaps rows and columns. Related tools include the cross product calculator, statistics calculator, and weighted average calculator.

Frequently asked questions

What matrix size does this calculator use?
The current form uses fixed 2 by 2 matrices for A and B. Determinant and transpose use matrix A only.
What operations are available?
You can add, subtract, multiply, find the determinant of A, or transpose A.
Does order matter for matrix multiplication?
Yes. Matrix multiplication is not generally commutative, so A times B can differ from B times A.
How is a 2 by 2 determinant calculated?
For entries a, b, c, and d, the determinant is a times d minus b times c.

Related calculators

Matrix Calculator updated at