How to use the matrix calculator with steps
- Choose the size of A and B with the row and column menus.
- Type numbers or fractions such as 3/4 in the cells.
- Press det(A), A⁻¹ or RREF(A) to see the answer with steps.
- For A × B, the columns of A must equal the rows of B.
Worked examples
| Example | Input | Result |
|---|---|---|
| 2×2 determinant | [[1,2],[3,4]] | det = 1·4 − 2·3 = −2 |
| 3×3 inverse | [[2,1,0],[1,3,1],[0,1,4]] | det = 18, so the inverse exists |
| Rank | [[1,2],[2,4]] | rank 1, because row 2 = 2 × row 1 |
Frequently asked questions
When does a matrix have no inverse?
When its determinant is 0. Such a matrix is called singular.
Can I enter fractions?
Yes. Type 2/3 or 0.5. Answers are shown as fractions when they are simple.
Is A × B the same as B × A?
Usually not. Matrix multiplication is not commutative. Try both buttons to compare.
What is RREF?
Reduced row echelon form: each pivot is 1 with zeros above and below it. The number of pivots is the rank.