Home Tools Blog About

Matrix Inverse Calculator

In short

Compute the inverse of a square matrix using Gauss-Jordan elimination, singular matrices flagged.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

Calculated locally in your browser. Your matrix never leaves this tab.

🛡
Private by designYour files and text stay in this tab
⚡
Runs in your browserNo waiting for a server
💧
No watermarksClean output you can use
🆓
FreeNo account needed

How to Use Matrix Inverse Calculator

Matrix Inverse Calculator · free online tool · All Tools Verse
The Matrix Inverse Calculator tool, as it looks in your browser.
  1. Enter a square matrix. One row per line, values separated by spaces.
  2. Invert. The inverse is computed by Gauss-Jordan elimination.
  3. Read the result. A singular matrix is reported as having no inverse.
  4. Copy the result. Click Copy result. It all runs in your browser.

Example: the inverse of a 2×2 matrix

Enter the matrix one row per line, with spaces between the numbers:

4 7
2 6

The tool returns:

0.6 -0.7
-0.2 0.4

To check it, multiply the two matrices: you get the identity matrix (1 0 on the first row, 0 1 on the second). A 2×2 inverse is also easy by hand: swap a and d, change the sign of b and c, then divide every number by the determinant ad − bc. Here the determinant is 4 × 6 − 7 × 2 = 10.

How the calculator works

It uses Gauss-Jordan elimination. The identity matrix is written next to yours, and row operations turn your side into the identity; the other side is then the inverse. In each column it picks the largest available number as the pivot (partial pivoting), which keeps rounding errors small.

Limits

  • Square matrices only, from 2×2 up to 10×10.
  • A matrix whose determinant is 0 has no inverse. For example, in 1 2 / 2 4 the second row is twice the first, and the tool reports that it is singular instead of returning numbers.
  • Results are decimals, not fractions, so 1/3 appears as 0.3333…, and nearly singular matrices can show small rounding differences.

Frequently Asked Questions

Which matrices have an inverse?

Only square matrices whose determinant is not zero. The inverse undoes the matrix when the two are multiplied.

What if my matrix is singular?

The tool detects it and reports that there is no inverse, rather than returning meaningless numbers.

What size is supported?

Up to ten by ten, using Gauss-Jordan elimination with partial pivoting.

Is anything uploaded?

No. The calculation runs in your browser, so your matrix never leaves the tab.

Keep going

Related Tools

All Math tools →
Share

Embed this tool

Add this free tool to your website. Copy and paste the code: