Inverse of a Matrix Calculator with Full Gauss-Jordan Steps
Find the inverse of any 2×2 to 6×6 matrix instantly. Every result includes the complete row-reduction working, determinant check and beautifully typeset LaTeX output — real computation, no mock data.
More Free Calculators
Explore related maths tools built for students, engineers and data scientists.
Built for Real Linear Algebra Work
Every feature below runs entirely in your browser — accurate, private and fast.
2×2 up to 6×6
Adjustable matrix size with a live editable grid — no page reload required.
Full Gauss-Jordan Steps
Watch every row operation on the augmented matrix [A | I] until it reduces to [I | A⁻¹].
Exact Fraction Output
Results are computed with exact fractions, not rounded decimals, then simplified automatically.
LaTeX-Rendered Output
Matrices, fractions and formulas are typeset with KaTeX so the maths actually looks like maths.
Determinant & Singularity Check
Automatically flags non-invertible matrices with the exact determinant value shown.
Copy & Download Results
Copy the inverse matrix or download a full plain-text report of the working in one click.
Matrix Inverse Calculator
Choose a matrix size, fill in the values and get the inverse with complete steps.
How the Calculator Works
The tool applies the classic Gauss-Jordan elimination method used in every linear algebra course.
Build the Augmented Matrix
Your matrix A is placed beside the identity matrix I, forming [A | I].
Row-Reduce
Row swaps, scaling and elimination are applied until the left side becomes the identity matrix.
Read the Inverse
Whatever remains on the right side of the augmented matrix is exactly A⁻¹.
Verify
The determinant is checked first — a zero determinant means the matrix has no inverse.
What Is the Inverse of a Matrix?
The inverse of a matrix is the matrix equivalent of dividing by a number. For an ordinary number, dividing by 5 is the same as multiplying by 1/5, and 5 × (1/5) equals 1. Matrices don't support division directly, so mathematicians use a related idea: a square matrix A has an inverse, written A⁻¹, if multiplying the two together in either order gives the identity matrix I — the matrix version of the number 1. In plain terms, an inverse of a matrix calculator answers one practical question: "what matrix, when combined with mine, cancels it out and leaves the identity behind?"
Not every matrix has this property. A matrix must be square, meaning it has the same number of rows and columns, and its determinant must not equal zero. When the determinant is zero the matrix is called singular, and no inverse exists no matter how you rearrange the numbers. This is one of the first checks any invertible matrix calculator should run before attempting row reduction, and it's exactly what happens automatically above.
The Formula Behind Matrix Inversion
For a small 2×2 matrix, the formula is short enough to memorise. Given a matrix with entries a, b, c and d arranged in two rows, the determinant equals (a×d) − (b×c). Provided that value isn't zero, the inverse is found by swapping the two diagonal entries, negating the other two, and dividing every entry by the determinant. Larger matrices follow the same underlying idea but are far easier to solve with Gauss-Jordan elimination — building an augmented matrix [A | I] and applying row operations until the left half becomes the identity, leaving the inverse sitting on the right. That is precisely the method this matrix inverse calculator performs, showing every intermediate row operation rather than jumping straight to an answer.
Worked Example
Consider a simple 2×2 matrix with rows [2, 1] and [1, 1]. Its determinant is (2×1) − (1×1) = 1, so an inverse exists. Swapping the diagonal entries and negating the off-diagonal pair gives rows [1, −1] and [−1, 2], and since the determinant is 1 no further division is needed. Multiplying the original matrix by this result produces the identity matrix, confirming the calculation is correct. Try entering these exact values into the calculator above to see the same answer generated step by step, including the row-reduction working that leads to it.
Common Uses of Matrix Inversion
Engineers rely on matrix inversion to solve systems of linear equations that describe circuits, structures and control systems. In computer graphics, inverse matrices undo transformations such as rotation or scaling so an object can be moved back to its original position. Statisticians use inverted covariance matrices in regression analysis, and economists use them in input-output models that track how industries depend on one another. Anywhere a system of equations needs to be solved for multiple unknowns simultaneously, matrix inversion tends to appear somewhere in the background.
Matrix Size Reference Table
| Matrix Size | Typical Method | Manual Difficulty | Best Solved With |
|---|---|---|---|
| 2×2 | Direct formula | Easy | Mental maths or calculator |
| 3×3 | Cofactor / Gauss-Jordan | Moderate | Calculator recommended |
| 4×4 | Gauss-Jordan elimination | Hard | Calculator strongly recommended |
| 5×5 – 6×6 | Gauss-Jordan elimination | Very hard | Calculator essential |
How to Use This Inverse of a Matrix Calculator
Select the matrix size from the dropdown, then type each value directly into the grid — the layout updates instantly with no page reload. Press "Calculate Inverse" and the button will disable itself briefly while the page scrolls down to the results section automatically. You'll see the determinant, the fully simplified inverse matrix rendered in proper mathematical notation, and every Gauss-Jordan row operation used to reach that answer. From there you can copy the inverse straight to your clipboard or download a complete text report for your notes or homework.
Frequently Confused Terms
People searching for a "find inverse of matrix calculator" and an "invertible matrix calculator" are usually looking for the same functionality: a tool that checks whether a matrix can be inverted and then performs the inversion. The distinction matters mostly in wording — "invertible" describes the property a matrix must have, while "inverse" refers to the resulting matrix once that property is confirmed. This calculator handles both steps together, so there's no need to check invertibility separately before requesting the inverse itself.
Frequently Asked Questions
Quick answers to the most common questions about matrix inversion.
There are dozens of matrix inverse calculators available, but they vary widely in what they show. Many only display a final answer, while tools like this one show the complete Gauss-Jordan working, the determinant, and LaTeX-formatted output so the process is transparent rather than hidden behind a single button.
A matrix is invertible only if it is square and its determinant is not zero. This calculator checks both conditions automatically the moment you submit a matrix, and it clearly flags a singular matrix with a "no inverse exists" message instead of returning a misleading result.
For a 3×3 matrix, most students use either the adjugate (cofactor) method or Gauss-Jordan elimination on the augmented matrix [A | I]. Gauss-Jordan is generally faster to execute by hand and scales better to larger matrices, which is why it's the method used throughout this calculator's step-by-step output.
Explore More Free Calculators
From transforms to geometry, SEOWebChecker.com hosts 100+ free browser-based tools for maths, physics and beyond.