What is the Matrix Calculator?
Perform matrix operations online with step-by-step results. Enter matrices up to 6×6 and compute A + B, A − B, A × B, scalar multiplication, transpose, determinant, inverse, and trace. The calculator validates dimensions, detects singular matrices, and shows the result matrix or scalar value. Free, private, and instant in your browser.
How to use the Matrix Calculator
- Choose an operation (add, multiply, inverse, etc.).
- Set rows and columns for matrix A (and B when needed).
- Enter values in the grid inputs.
- Read the result matrix or scalar and the computation steps.
- Copy the formatted result.
Common use cases
- Multiplying 2×2 transformation matrices
- Finding the inverse of a 3×3 system for linear algebra homework
- Computing determinants and traces quickly
Frequently asked questions
- What matrix sizes are supported?
- Up to 6 rows and 6 columns per matrix.
- When does matrix multiplication work?
- The number of columns in A must equal the number of rows in B.
- Why does inverse fail?
- Only square matrices have inverses. If det(A) = 0 the matrix is singular and non-invertible.
- What operations are available?
- Add, subtract, multiply, scalar multiply, transpose, determinant, inverse, and trace.