This matrix 2×2 calculator works with two by two matrices for determinant and related operations supported on the page. Enter the four entries carefully; small sign errors change the determinant a lot.

Determinant reminder
For matrix [[a, b], [c, d]], det = a*d – b*c. If det is 0, the matrix is singular and has no inverse.
For triangle geometry instead of matrices, use the right triangle calculator or the quadratic formula calculator for polynomial roots.
The three matrix 2×2 calculator operations and their formulas
For A = [[a, b], [c, d]], where a = a11, b = a12, c = a21 and d = a22:
- Determinant: det(A) = ad − bc.
- Inverse (only when det ≠ 0): A⁻¹ = (1 ÷ det) × [[d, −b], [−c, a]]. Swap a and d, change the signs of b and c, then divide every entry by the determinant.
- Scalar multiple: kA = [[ka, kb], [kc, kd]]. Every entry is multiplied by k.
Matrix 2×2 calculator worked example
Let A = [[4, 7], [2, 6]].
- Determinant: 4 × 6 − 7 × 2 = 24 − 14 = 10.
- Inverse: (1/10) × [[6, −7], [−2, 4]] = [[0.6, −0.7], [−0.2, 0.4]].
- Check A × A⁻¹:
- Row 1: 4(0.6) + 7(−0.2) = 2.4 − 1.4 = 1, and 4(−0.7) + 7(0.4) = −2.8 + 2.8 = 0.
- Row 2: 2(0.6) + 6(−0.2) = 1.2 − 1.2 = 0, and 2(−0.7) + 6(0.4) = −1.4 + 2.4 = 1.
- Scalar ×3: [[12, 21], [6, 18]]. Its determinant is 3² × 10 = 90, because scaling a 2×2 matrix by k multiplies the determinant by k².
What the determinant means
Wolfram MathWorld defines the determinant as a single number computed from a square matrix. For 2×2 matrices it has a geometric reading. Its absolute value is the area scale factor of the transformation: A turns the unit square into a parallelogram of area |10| = 10. A negative sign means orientation is flipped, like a mirror image. A determinant of 0 means the plane collapses onto a line, so no inverse can undo it. The matrix 2×2 calculator then reports “Matrix is singular”.
Solving two equations with Cramer’s rule
Solve 4x + 7y = 5 and 2x + 6y = 4. The coefficient matrix is A above, with det = 10.
- Replace the first column with the constants: det[[5, 7], [4, 6]] = 30 − 28 = 2, so x = 2 ÷ 10 = 0.2.
- Replace the second column: det[[4, 5], [2, 4]] = 16 − 10 = 6, so y = 6 ÷ 10 = 0.6.
- Check: 4(0.2) + 7(0.6) = 0.8 + 4.2 = 5 ✔, and 2(0.2) + 6(0.6) = 0.4 + 3.6 = 4 ✔.
Multiplying A⁻¹ by the constants [5, 4] gives the same answer: 0.6(5) − 0.7(4) = 0.2 and −0.2(5) + 0.4(4) = 0.6.
Common matrix 2×2 calculator mistakes
- Computing bc − ad instead of ad − bc. The sign flips and the inverse comes out negated.
- Forgetting to negate b and c in the inverse, or negating a and d by mistake.
- Entering entries column by column in the matrix 2×2 calculator. a12 is row 1, column 2 (top right).
- Rounding the inverse too early. Entries like 1/3 should be carried as fractions, or to 6 decimal places as the tool does.
Where 2×2 matrices are used
Small matrices show up in 2D graphics (rotating, scaling or shearing points around the origin), in Markov chains with two states, and in economics models with two goods. A rotation by angle θ is [[cos θ, −sin θ], [sin θ, cos θ]], whose determinant is cos²θ + sin²θ = 1, so rotations preserve area.
Always sanity-check a result before relying on it: multiply the original matrix by its inverse and confirm you get the identity matrix, or recompute the determinant by hand with ad − bc. If the determinant is very close to zero but not exactly zero, the inverse will contain very large entries, so small input errors get magnified. Double-check each entry before you trust the output.
Last reviewed: October 2026