MyCalculatorsHub
CalculatorsPakistanGuidesAbout
/
MyCalculatorsHub

Free, fast calculators for money, health, math, conversions and everyday decisions — with the formula and steps shown every time.

Popular

  • Percentage
  • Statistics
  • Prime Checker
  • Volume
  • Compound Interest
  • Loan / EMI
  • SIP
  • Take-Home Pay

Pakistan

  • PK Income Tax
  • Zakat Calculator
  • PK Salary
  • PTA Phone Tax
  • Electricity Bill
  • Car Import Duty

Categories

  • Math
  • Finance
  • Health
  • Science
  • Everyday
  • Conversion
  • Pakistan

Resources

  • About
  • Contact
  • Blog
  • Privacy

© 2026 MyCalculatorsHub. All rights reserved.

PrivacyAboutContact
Home/Math/2×2 Matrix Calculator
Math

2×2 Matrix Calculator

Perform 2×2 matrix operations: addition, subtraction, multiplication, determinant, inverse, and transpose. Shows full working.

✏️

Enter Values

Required for A+B, A−B, A×B

📊

Results

Enter values above to see results

det(A) = a₁₁a₂₂ − a₁₂a₂₁ | A⁻¹ = (1/det) × adj(A)

Variables

detDeterminant: ad − bc for [[a,b],[c,d]]
adjAdjugate: [[d,−b],[−c,a]]
A⁻¹Inverse: (1/det) × adjugate

Explanation

A 2×2 matrix A = [[a,b],[c,d]] has determinant ad−bc. The inverse exists only when det ≠ 0, and equals (1/det)×[[d,−b],[−c,a]]. Matrix multiplication is not commutative: AB ≠ BA in general.

What is the 2×2 Matrix Calculator?

Matrix algebra is a cornerstone of mathematics, physics, computer science, and engineering. From solving simultaneous equations to powering 3D computer graphics and machine learning algorithms, matrix operations are ubiquitous in modern science and technology.

How to Use This Calculator

Enter the elements of your 2×2 matrix (and a second matrix for binary operations), select the operation, and the calculator instantly computes the result with full step-by-step working showing the formula applied.

Worked Examples

Determinant of [[1, 2], [3, 4]]

The determinant of a 2×2 matrix A = [[a, b], [c, d]] is ad − bc.

det(A) = (1 × 4) − (2 × 3)
4 − 6 = −2
Trace = 1 + 4
5

det(A) = −2 — non-zero, so this matrix is invertible.

If the determinant were 0, the matrix would have no inverse.

Multiplying [[1, 2], [3, 4]] × [[5, 6], [7, 8]]

Each result entry is a row of A dotted with a column of B.

[1,1] = 1×5 + 2×7
19
[1,2] = 1×6 + 2×8
22
[2,1] = 3×5 + 4×7
43
[2,2] = 3×6 + 4×8
50

A × B = [[19, 22], [43, 50]].

Swap the order (B × A) and you get a different matrix — multiplication isn't commutative.

Why Use MyCalculatorsHub's Matrix Calculator?

This calculator handles the most common 2×2 matrix operations — determinant, inverse, transpose, addition, subtraction, and multiplication — covering the fundamental operations needed for linear algebra coursework and practical applications.

Common Mistakes to Avoid

Matrix multiplication is not commutative: A×B ≠ B×A in general. Always check which order the multiplication is specified. Also, remember that the inverse only exists when the determinant is non-zero — check this first before attempting inversion.

Related Calculators

View all Math
Math

Statistics Calculator

Calculate mean, median, mode, standard deviation, variance, and more from a dataset. Ideal for students and data analysts.

Calculate now
Math

Quadratic Equation Solver

Solve quadratic equations ax² + bx + c = 0 using the quadratic formula. Find real and complex roots with full working.

Calculate now
Back to Math Calculators