🔢 Math Calculator
Matrix Calculator
Perform matrix addition, subtraction, multiplication, find the determinant, transpose, and inverse for 2×2 and 3×3 matrices instantly.
Size:
Matrix A
Matrix B
Result Matrix
Matrix A
Matrix B
Result Matrix (A × B)
Matrix A
Determinant |A|Enter matrix above
Matrix A
Transposed Matrix (Aᵀ)
Matrix A
Inverse Matrix (A⁻¹)
📖 How to Use the Matrix Calculator
1
Select matrix size — 2×2 or 3×3 using the size buttons.
2
Choose an operation from the tabs — Add/Sub, Multiply, Determinant, Transpose, or Inverse.
3
Enter matrix values in the grid cells. Use Tab to move between cells quickly.
4
Tap Calculate to see the result matrix or scalar value.
5
Use Clear to reset all cells and start a new calculation.
⚡ Why Use Our Matrix Calculator?
[ ]
5 Operations
Add, subtract, multiply, determinant, transpose, and inverse.
📐
2×2 & 3×3
Supports both 2×2 and 3×3 matrices with one click.
⚡
Instant Results
Matrix calculations happen immediately on tap.
📱
Mobile-Friendly
Touch-optimized grid cells for easy input on phones.
🎯
Error Checking
Clear error messages when operations are not possible.
🆓
100% Free
No sign-up — completely free for students and professionals.
❓ Frequently Asked Questions
To multiply matrices A × B, each element of the result is the dot product of a row from A and a column from B. The number of columns in A must equal the number of rows in B. Use the Multiply tab above for instant results.
The determinant is a single scalar value calculated from a square matrix. For a 2×2 matrix [a,b;c,d], the determinant = ad − bc. It tells you if the matrix is invertible — a determinant of 0 means no inverse exists.
The inverse of a matrix A is another matrix A⁻¹ such that A × A⁻¹ = I (identity matrix). A matrix only has an inverse if its determinant is not zero. For a 2×2 matrix, A⁻¹ = (1/det) × [d,-b;-c,a].