Home Math Matrix Calculator (2x2)

Matrix Calculator (2x2)

Add, subtract or multiply two 2x2 matrices, with determinants.

Advertisement

How it works

Fill the four cells of matrix A and the four of matrix B, then pick the operation. Addition and subtraction work cell by cell. Multiplication rows times columns: each result cell is the row of A dotted with the column of B. The determinant lines below show det(A) and det(B), the scaling factor each matrix applies to area.

Advertisement

Formula

Multiply: C11 = A11 x B11 + A12 x B21, and so on for the four cells.
Determinant: det = ad - bc for a matrix [[a, b], [c, d]].

Example

Example in plain words. A = [[1, 2], [3, 4]] and B = [[5, 6], [7, 8]], multiplied.

The product is [[19, 22], [43, 50]].

Both determinants come out to -2.

Frequently asked questions

What does the determinant tell me?

It is the area-scaling factor of the transformation, and its sign tells whether orientation flips. A zero determinant means the matrix squashes the plane onto a line and has no inverse.

Why only 2x2?

Two-by-two matrices cover most homework and graphics work, and stay readable on a phone. For bigger systems, a dedicated linear algebra tool fits better.

Advertisement

Related calculators

Percentage Calculator

Find a percent of a number, what percent one number is of another, and percent change, all at once.

Fraction Calculator

Add, subtract, multiply and divide fractions, with the answer simplified.

Scientific Calculator

Online scientific calculator with trig, logs, powers, roots, factorial and degree or radian mode.

Quadratic Formula Calculator

Solve ax² + bx + c = 0, with the discriminant and the vertex.