Inverse Matrix Calculator: 2×2 to 5×5

Calculate an inverse, determinant, cofactor matrix and Gauss–Jordan row operations using exact fractions.

Inverse row 1
—
Inverse row 2
—
Inverse row 3
—
Inverse row 4
—
Inverse row 5
—
det(A)
—
Cofactor row 1
—
Cofactor row 2
—
Cofactor row 3
—
Cofactor row 4
—
Cofactor row 5
—
Invertibility
—
Gauss–Jordan row operations on (A | I)
—

Sizes 2×2–5×5. Separate entries with spaces, semicolons or newlines in row order. Decimal point or decimal comma, Unicode minus and fractions such as 1/3 are accepted; no spaces inside a fraction. Blank or malformed entries are errors. Input magnitude is at most 10¹² and reduced denominator at most 10²⁴. Exact rational arithmetic determines singularity. The cofactor matrix C satisfies A⁻¹=Cᵀ/det(A); C is still shown for singular matrices. Decimal results show up to 10 significant digits. Fraction mode also makes row-operation coefficients exact; decimal steps are rounded descriptions.

How the calculation works

A⁻¹=Cᵀ/det(A)

Sizes 2×2–5×5. Separate entries with spaces, semicolons or newlines in row order. Decimal point or decimal comma, Unicode minus and fractions such as 1/3 are accepted; no spaces inside a fraction. Blank or malformed entries are errors. Input magnitude is at most 10¹² and reduced denominator at most 10²⁴. Exact rational arithmetic determines singularity. The cofactor matrix C satisfies A⁻¹=Cᵀ/det(A); C is still shown for singular matrices. Decimal results show up to 10 significant digits. Fraction mode also makes row-operation coefficients exact; decimal steps are rounded descriptions.

Frequently asked questions

How is the result calculated?

A⁻¹=Cᵀ/det(A)

What assumptions apply?

Sizes 2×2–5×5. Separate entries with spaces, semicolons or newlines in row order. Decimal point or decimal comma, Unicode minus and fractions such as 1/3 are accepted; no spaces inside a fraction. Blank or malformed entries are errors. Input magnitude is at most 10¹² and reduced denominator at most 10²⁴. Exact rational arithmetic determines singularity. The cofactor matrix C satisfies A⁻¹=Cᵀ/det(A); C is still shown for singular matrices. Decimal results show up to 10 significant digits. Fraction mode also makes row-operation coefficients exact; decimal steps are rounded descriptions.

How precise are the displayed results?

Sizes 2×2–5×5. Separate entries with spaces, semicolons or newlines in row order. Decimal point or decimal comma, Unicode minus and fractions such as 1/3 are accepted; no spaces inside a fraction. Blank or malformed entries are errors. Input magnitude is at most 10¹² and reduced denominator at most 10²⁴. Exact rational arithmetic determines singularity. The cofactor matrix C satisfies A⁻¹=Cᵀ/det(A); C is still shown for singular matrices. Decimal results show up to 10 significant digits. Fraction mode also makes row-operation coefficients exact; decimal steps are rounded descriptions.

Also try:

Back to category →