Advanced

Cofactor & Adjugate Matrix Calculator

Compute the cofactor matrix, the adjugate (adjoint), and the determinant of a 2×2 or 3×3 square matrix.
Separate entries with spaces or commas
Determinant det(A)
22

Invertible when det(A) is nonzero

Matrix size
3 × 3
Cofactor matrix C
[24, 5, -4] [-12, 3, 2] [-2, -5, 4]
Adjugate adj(A)
[24, -12, -2] [5, 3, -5] [-4, 2, 4]
Determinant det(A)
22
Cofactor C 1,124
Cofactor C 1,25
Cofactor C 1,3-4
Cofactor C 2,1-12
Cofactor C 2,23
Cofactor C 2,32
Cofactor C 3,1-2
Cofactor C 3,2-5
Cofactor C 3,34
Step by step
  1. 1

    Cofactor C₁₁

    4 × 6 − 5 × 0 = 24
  2. 2

    Cofactor C₁₂ (sign −)

    −(0 × 6 − 5 × 1) = 5
  3. 3

    Cofactor C₁₃

    0 × 0 − 4 × 1 = -4
  4. 4

    Determinant (first-row expansion)

    1 × 24 + 2 × 5 + 3 × -4 = 22
    det(A) = A₁₁·C₁₁ + A₁₂·C₁₂ + A₁₃·C₁₃
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

For a 2×2 or 3×3 matrix, each cofactor Cᵢⱼ equals (-1)^(i+j) times the minor (the determinant left after deleting row i and column j). The cofactor matrix gathers all Cᵢⱼ; the adjugate is its transpose, adj(A) = Cᵀ. When det(A) ≠ 0, the inverse equals adj(A)/det(A).

Formula
Cᵢⱼ = (-1)^(i+j) · Mᵢⱼ, where Mᵢⱼ = minor (det of A with row i, column j removed); adj(A) = Cᵀ
How this is calculated

Enter a square matrix A with one row per line, using spaces or commas to separate the entries. The calculator accepts 2×2 and 3×3 matrices; every row must have the same length as the number of rows.

For each position (i, j) it deletes row i and column j to form a smaller submatrix, then takes its determinant — this is the minor Mᵢⱼ. The cofactor is Cᵢⱼ = (-1)^(i+j)·Mᵢⱼ, so the sign alternates in a checkerboard pattern starting with + in the top-left corner. Collecting every Cᵢⱼ gives the cofactor matrix C.

The adjugate (also called the adjoint), adj(A), is the transpose of the cofactor matrix: adj(A) = Cᵀ. The determinant is found by expanding along the first row, det(A) = Σⱼ A₀ⱼ·C₀ⱼ. When det(A) ≠ 0 the inverse is A⁻¹ = adj(A)/det(A). All entries are unitless; if det(A) = 0 the matrix is singular and has no inverse, though the cofactor and adjugate still exist.

Frequently asked questions

The cofactor matrix collects each signed minor Cᵢⱼ in its original position. The adjugate (adjoint) is simply its transpose, adj(A) = Cᵀ, so rows and columns are swapped.

For any invertible matrix, A⁻¹ = adj(A) / det(A). The adjugate gives the numerators and the determinant is the common denominator.

This tool supports 2×2 and 3×3 square matrices only. Non-square input or rows of unequal length will not produce a result.

Also known as

cofactor matrix
adjugate matrix
adjoint matrix
matrix of minors
adj a
cofactor and adjugate
adjoint of matrix

APA

TG we-Calculate Editorial Team. (2026). Cofactor & Adjugate Matrix Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/matrix-cofactor-adjugate-calculator

Chicago

TG we-Calculate Editorial Team. "Cofactor & Adjugate Matrix Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/matrix-cofactor-adjugate-calculator.

IEEE

TG we-Calculate Editorial Team, "Cofactor & Adjugate Matrix Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/matrix-cofactor-adjugate-calculator

BibTeX

@misc{wecalculate_matrix_cofactor_adjugate_calculator, title = {Cofactor & Adjugate Matrix Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/matrix-cofactor-adjugate-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?