Cofactor Matrix Calculator

Cofactor Matrix Calculator - Multi-Tools

Cofactor Matrix Calculator

Calculate the cofactor matrix of a given matrix with step-by-step solutions.

Select Matrix Size
Enter Matrix
Options
How to Calculate Cofactor Matrix

For a matrix A, the cofactor matrix C is calculated as:

C[i][j] = (-1)^(i+j) × det(M[i][j])

Where:

  • M[i][j] is the minor matrix obtained by removing row i and column j
  • (-1)^(i+j) is the cofactor sign

For a 2×2 matrix:

  • Original: [[a, b], [c, d]]
  • Cofactor: [[d, -c], [-b, a]]
Scroll to Top