Skip to content
Advertisement
Hosinger Special Offer

Matrix Calculator

Matrix Calculator from Gizcalc helps you estimate results quickly within the Math & Statistics category.

  • Instant results
  • Charts & tables
  • Save & compare
  • Private – runs in your browser
Determinant —

Sample inputs are pre-filled so you can see a result quickly. Results are estimates only and may not be accurate because prices, interest rates, taxes, fees, fuel costs, tariffs, market returns, medical costs, and local rules can change. Please verify current values before making financial, tax, legal, medical, or business decisions.

Formula used

A⁻¹ = adj(A) ÷ det(A)

  • det(A) = a₁₁(a₂₂a₃₃ − a₂₃a₃₂) − a₁₂(a₂₁a₃₃ − a₂₃a₃₁) + a₁₃(a₂₁a₃₂ − a₂₂a₃₁)
  • adj(A) = the transpose of the matrix of cofactors

About the Matrix Calculator

What is the Matrix Calculator?

A matrix is a rectangular grid of numbers. Square matrices are used to solve systems of equations, rotate and scale computer graphics, describe networks and transitions, and model economies. The most important single number of a square matrix is its determinant.

Enter a 3×3 matrix (or use its top-left 2×2 block) and choose what the detailed table should show: the inverse, the transpose, the adjugate or A × A. The result card always shows the determinant, the trace and whether the matrix can be inverted.

How to use the Matrix Calculator

  1. Matrix Size (sample: 3 × 3)
  2. Show in Table — the matrix shown in the detailed table below the result. (sample: Inverse matrix)
  3. Row 1, Column 1 (sample: 2)
  4. Row 1, Column 2 (sample: 1)
  5. Row 1, Column 3 (sample: 1)
  6. Row 2, Column 1 (sample: 1)
  7. Row 2, Column 2 (sample: 3)
  8. Row 2, Column 3 (sample: 2)
  9. Row 3, Column 1 (sample: 1)
  10. Row 3, Column 2 (sample: 0)
  11. Row 3, Column 3 (sample: 0)
  12. Press Calculate (results also refresh as you type). The result card shows the Determinant, along with Trace (sum of diagonal), Invertible? and Table shows.

Formula used

A⁻¹ = adj(A) ÷ det(A)

  • det(A) = a₁₁(a₂₂a₃₃ − a₂₃a₃₂) − a₁₂(a₂₁a₃₃ − a₂₃a₃₁) + a₁₃(a₂₁a₃₂ − a₂₂a₃₁)
  • adj(A) = the transpose of the matrix of cofactors

For a 2×2 matrix [[a, b], [c, d]], det = ad − bc and the inverse is [[d, −b], [−c, a]] ÷ (ad − bc). A matrix with determinant 0 is singular and has no inverse.

Worked example

These are the sample values already filled in the calculator above, and the result it returns for them:

InputSample value
Matrix Size3 × 3
Show in TableInverse matrix
Row 1, Column 12
Row 1, Column 21
Row 1, Column 31
Row 2, Column 11
Row 2, Column 23
Row 2, Column 32
ResultValue
Determinant-1
Trace (sum of diagonal)5
Invertible?Yes
Table showsInverse

Tips for using the Matrix Calculator

  • Check an inverse by multiplying: A × A⁻¹ should give the identity matrix.
  • Swapping two rows changes the sign of the determinant, and a row of zeros makes it 0.
  • The trace equals the sum of the eigenvalues, and the determinant equals their product.

Frequently asked questions

Expand along the first row: multiply each entry by the determinant of the 2×2 matrix left after deleting its row and column, alternating signs + − +. For [[2, 1, 1], [1, 3, 2], [1, 0, 0]] this gives 2(0) − 1(−2) + 1(−3) = −1.

When its determinant is 0. Such a matrix is called singular; its rows (or columns) are linearly dependent.

The matrix you get by turning rows into columns: the entry in row i, column j moves to row j, column i.

The transpose of the cofactor matrix. It satisfies A × adj(A) = det(A) × I, which is why the inverse is adj(A) ÷ det(A).