Matrix Calculator - Operations & Determinant Matrix Calculator

Perform matrix operations — add, subtract, multiply, determinant, transpose, and inverse.

Matrix Input

Matrix A

Matrix B

Your Results

Determinant 0
Operation det(A)

Calculation Steps

Matrix Calculator - Guide

Matrix Operations

Addition / Subtraction: Add or subtract corresponding elements. Both matrices must have the same dimensions.

Multiplication: C[i][j] = Σ A[i][k] × B[k][j]. The number of columns of A must equal the number of rows of B.

Determinant: A scalar value computed from a square matrix. For 2×2: ad − bc. For 3×3: cofactor expansion.

Transpose: Rows become columns: Aᵀ[i][j] = A[j][i].

Inverse: A⁻¹ exists only if det(A) ≠ 0. Computed as (1/det) × adj(A).

Determinant Formulas

  • 2×2: det = a₁₁ × a₂₂ − a₁₂ × a₂₁
  • 3×3 (Sarrus / Cofactor): Expand along the first row using cofactors.

How to Use

  1. Select matrix size: 2×2 or 3×3.
  2. Choose operation: Add, Subtract, Multiply, Determinant, Transpose, or Inverse.
  3. Enter values: Fill in Matrix A (and Matrix B if needed).
  4. View results: The result matrix, determinant, or inverse appears instantly with steps.

Properties

  • det(AB) = det(A) × det(B)
  • (AB)ᵀ = BᵀAᵀ
  • (A⁻¹)⁻¹ = A
  • det(A⁻¹) = 1 / det(A)

Find a Calculator

Browse All Calculators →