Algebra calculators
Matrix Calculator
Add, subtract and multiply 2×2 matrices, or find a determinant and inverse — each entry worked out and shown.
Matrix A
Matrix B (used by Add, Subtract and Multiply)
Formulas: for A = [[a, b], [c, d]], det(A) = ad − bc, and A⁻¹ = (1 ÷ det) × [[d, −b], [−c, a]]. Matrix multiplication takes row × column dot products.
How to use
- Enter the entries of matrix A, and of matrix B if the operation needs it.
- Pick the operation from the dropdown — Add, Subtract, Multiply, Determinant of A or Inverse of A.
- Press “Calculate” to see the result matrix or value.
Frequently asked questions
- How is matrix multiplication worked out?
- Each entry of A × B is the dot product of a row of A with a column of B: (A × B)₁₁ = a₁₁×b₁₁ + a₁₂×b₂₁. Order matters — A × B is usually not B × A.
- When does a matrix have no inverse?
- When its determinant is zero. A 2×2 matrix is invertible only if ad − bc ≠ 0; such a matrix is called singular.
- What is the determinant used for?
- It tells whether a matrix is invertible, and it appears in Cramer's rule for solving systems of equations. For a 2×2 matrix it is ad − bc.
- Is my input stored?
- No. The calculation runs in your browser.