Matrix Calculator: Add, Multiply, Determinant, Inverse and Transpose

What is it?

The Matrix Calculator adds, subtracts and multiplies two matrices. It also finds the determinant, inverse and transpose of a matrix.

Who is it for?

Class 12 and college students, engineers and anyone solving systems with matrices.

How to use it

Type Matrix A (one row per line) and Matrix B (one row per line), numbers separated by spaces or commas:

1 2
3 4

Size rules

  • Add and subtract: both matrices must be the same size.
  • Multiply A × B: the number of columns of A must equal the number of rows of B. A × B is usually not equal to B × A.
  • Determinant and inverse: only for square matrices (2×2, 3×3…).

“No inverse”

If the determinant is 0, the matrix is singular and has no inverse. In a system of equations, that means no single solution.

Uses

Solving simultaneous equations (x = A⁻¹b), transformations in graphics, and exam problems. For equations written normally, the Equation Solver is easier.

Worked example

A = [[2, 1], [5, 3]]: determinant 2×3 − 1×5 = 1; inverse [[3, −1], [−5, 2]]. Multiplying A by its inverse gives the identity [[1, 0], [0, 1]], a quick way to check the result.

Errors and how to fix them

  • “Every row of A needs the same number of values”: check each line.
  • No inverse: the determinant is 0.

Open the tool: Matrix Calculator

Still stuck?

Contact support. Tell us which tool or page you were using, what you tapped, what you saw, and your phone or computer and browser (for example: Android phone, Chrome). We reply by email.

Questions, or an error not listed here?

Tell us in the comments: what you were doing, the exact message you saw, and your device and browser. We read every comment and add new fixes to this article.