Matrix Calculator

Whether you are a student learning linear algebra or an engineer doing quick checks, this tool lets you enter matrices of any size up to 6×6 and perform common operations. Enter two matrices, pick an operation, and see the result instantly. Determinant, inverse, and transpose work on a single matrix.

Processed on your deviceNo signup required100% free
Size
A

Matrix A

B

Matrix B

How to Use

  1. Choose the matrix size using the row/column selectors.
  2. Enter the values for Matrix A (and Matrix B if needed).
  3. Select the operation: add, subtract, multiply, determinant, inverse, or transpose.
  4. The result appears instantly below the inputs.

Related Tools

Frequently Asked Questions

What is the maximum matrix size?
You can work with matrices up to 6 rows by 6 columns. Larger matrices may slow down the browser.
Can I multiply non-square matrices?
Yes — as long as the number of columns in the first matrix equals the number of rows in the second.
What happens if a matrix has no inverse?
The tool will display a message indicating the matrix is singular (determinant is zero) and has no inverse.