# Matrix Inverse Calculator

Compute the inverse of a square matrix using Gauss-Jordan elimination and report when inversion is impossible

> Canonical page: https://elysiatools.com/en/tools/matrix-inverse-calculator

- **Category:** Math & Numbers

- **Keywords:** matrix inverse, inverse matrix, gauss jordan, linear algebra, math

## Overview

The Matrix Inverse Calculator is a specialized mathematical tool designed to compute the inverse of any square matrix using the Gauss-Jordan elimination method. It instantly processes your matrix input, determines if an inverse exists, and outputs the result in your preferred format, such as a visual grid, JSON array, or LaTeX code. With customizable decimal precision and step-by-step breakdowns, it is perfect for students, engineers, and data scientists working with linear algebra.

## Inputs

- **Matrix Input** (textarea): 4, 7 2, 6
- **Decimal Places** (number)
- **Output Format** (select)
- **Show Steps** (checkbox)

## When to use

- When solving systems of linear equations that require finding the inverse of a coefficient matrix.
- When verifying manual linear algebra calculations for homework or academic research.
- When converting matrix data into LaTeX or JSON formats for documentation or programming.

## How it works

- Enter your square matrix into the input field, separating elements with commas and rows with new lines.
- Adjust the decimal places to set the precision of your output values.
- Select your desired output format (Grid, JSON Array, or LaTeX) and choose whether to display the calculation steps.
- The tool applies Gauss-Jordan elimination to compute the inverse, or alerts you if the matrix is singular (non-invertible).

## Use cases

- Engineering students solving complex structural or electrical network problems using matrix algebra.
- Computer graphics developers needing to compute transformation matrices for 3D rendering.
- Data scientists and statisticians performing linear regression or multivariate analysis.

## Frequently asked questions

### What is a square matrix?

A square matrix is a matrix that has the same number of rows and columns, such as 2x2, 3x3, or 4x4. Only square matrices can have an inverse.

### Why does the tool say my matrix is not invertible?

If a matrix has a determinant of zero, it is considered 'singular' and does not have an inverse. The tool will automatically detect this and notify you.

### Can I see the steps used to find the inverse?

Yes, simply check the 'Show Steps' option before calculating to view the Gauss-Jordan elimination process used to arrive at the result.

### How do I format my matrix input?

Enter one row per line, and separate the numbers in each row using commas. For example, a 2x2 matrix would be entered as '1, 2' on the first line and '3, 4' on the second line.

### Can I export the result for a math paper?

Yes, you can select 'LaTeX' as the output format to generate code that can be directly pasted into LaTeX document editors.

## Related tools

- [RLC Admittance Calculator (Y = G + jB)](https://elysiatools.com/en/tools/admittance-calculator): Compute complex admittance Y = 1/Z = G + jB for series or parallel RLC circuits: G = R/|Z|², B = −X/|Z|². Returns conductance, susceptance, magnitude and phase angle. Supports any subset of R/L/C.
- [Antilog Calculator](https://elysiatools.com/en/tools/antilog-calculator): Calculate antilogarithms for any valid base and optionally verify the result by applying the logarithm again
- [Arithmetic Sequence Calculator](https://elysiatools.com/en/tools/arithmetic-sequence-calculator): Calculate the nth term, first terms, and finite sum of an arithmetic sequence
- [Bayes Theorem Calculator](https://elysiatools.com/en/tools/bayes-theorem-calculator): Calculate posterior probability P(A given B) using prior, likelihood, and false-positive rate
- [Bearing Capacity Calculator (Terzaghi)](https://elysiatools.com/en/tools/bearing-capacity-calculator): Calculate the Terzaghi ultimate bearing capacity of a shallow foundation: q_ult = c·Nc·sc + q·Nq·sq + 0.5·γ·B·Nγ·sγ. Computes Nc/Nq/Nγ and shape factors automatically; supports strip, square, and circular footings. Result in kPa.
- [Belt Pulley Speed Ratio Calculator](https://elysiatools.com/en/tools/belt-pulley-speed-ratio): Calculate the ratio, driven speed and belt linear speed of a belt drive. i = d₂/d₁ = n₁/n₂, belt speed v = π·d·n/60. Supports mm/cm/m/inch diameter units.
- [Bending Stress Calculator](https://elysiatools.com/en/tools/bending-stress-calculator): Calculate the maximum bending (flexural) stress σ_max = M·c/I = M/Z at the outermost fiber of a beam section. Supports solid circle, rectangle, hollow tube, and I-beam; computes I, section modulus Z, and distance c automatically. Stress in MPa.
- [Break-Even Calculator](https://elysiatools.com/en/tools/break-even-calculator): Calculate the break-even point for a product or business based on fixed costs, variable costs, and price

## Samples

- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion
