Matrix Calculator
A matrix is a rectangular grid of numbers. This matrix calculator finds inverses by Gauss–Jordan elimination, row-reduces to reduced row echelon form, works out determinants and transposes, and adds, subtracts or multiplies matrices up to 6 × 6. It uses exact fractions, so there are no rounding errors.
How to use the matrix calculator
- Choose an operation, such as inverse or multiply.
- Type matrix A with one row per line, entries separated by spaces.
- Add matrix B if needed, then press Calculate.
Formula
Worked example: Inverse of 2×2
- Operation: Inverse A⁻¹
- Matrix A: 2 1 5 3
✓ Answer checked
- Determinant
Step-by-step working (5 steps)
Check the determinant
A matrix has an inverse only if its determinant is not 0.
2×2 shortcut 2×2 inverse formula
Swap the diagonal, negate the off-diagonal, divide by the determinant.
Write [A | I]
Put the identity matrix next to A.
Row-reduce Gauss–Jordan elimination
Apply row operations until the left side becomes the identity matrix.
Read off the inverse
The right-hand side is now A⁻¹.
Formulas used
How this was checked
- ✓ A × A⁻¹ and A⁻¹ × A both equal the identity matrix exactly.
Frequently asked questions
When does a matrix have an inverse?
Only when it is square and its determinant is not 0. A matrix with determinant 0 is called singular.
Can any two matrices be multiplied?
Only if the number of columns of the first equals the number of rows of the second. A 2×3 times a 3×4 gives a 2×4 matrix.
What is RREF?
Reduced row echelon form: each leading entry is 1, it is the only non-zero entry in its column, and leading entries move to the right as you go down.
People also search for
matrix calculatorinverse matrix calculatorrref calculatormatrix multiplication calculatormatrix calculator with stepsfree matrix calculator online
