Skip to main content

Matrix Calculator

New

Add, subtract, multiply, transpose, and invert matrices with determinant calculation.

matrixlinear-algebradeterminantinversemath
Read the guide
Shortcuts:⌘ KSearch

Matrix Calculator

Add, subtract, multiply, transpose, and invert matrices with determinant calculation.

Work with two editable matrices up to 8×8 for arithmetic, transposes, determinants, and inverses.

Editable input grid

Editable input grid

No result yet

Choose an operation to display a result matrix or scalar.

Frequently Asked Questions

How big can the matrices be?

Each matrix can be between 1×1 and 8×8. Values outside that range are clamped back into bounds.

Why are det(A) and A⁻¹ disabled sometimes?

Those operations only work on square Matrix A. The buttons automatically disable whenever A's row count and column count do not match.

What algorithm does it use for determinant and inverse?

The determinant is computed with Gaussian elimination, and the inverse uses Gauss-Jordan elimination. Results are displayed with up to six decimal places.

Why won't A × B run on my matrices?

Matrix multiplication requires the number of columns in A to equal the number of rows in B. Addition and subtraction are stricter and require both matrices to have exactly the same dimensions.

Can I compute det(B) or B⁻¹ too?

Not with the current controls. Determinant and inverse actions are built only for Matrix A.

Related Tools