onlinenumbertools logo

Matrix inverse finder

World's simplest number tool

Quickly find the inverse of a matrix in your browser. To get the inverse, just enter your matrix in the input field, optionally adjust the row and column separators in the options below, and this utility will instantly compute the inverse of your matrix. Created by developers from team Browserling.
we wrote the curl cookbook!
Super exciting news – we just wrote the Curl Cookbook full of organic, nutritious, and completely irresistible curl recipes. Check it out!
fullscreen fullscreen_exit
Input Matrix Delimiter
Element delimiter of the input matrix. (By default a space.)
Row delimiter of the input matrix. (By default a newline.)
Inverse Matrix Delimiter
Element delimiter of the output matrix. (By default a space.)
Row delimiter of the output matrix. (By default a newline.)
Inverted Matrix Accuracy
Number of digits in the fractional part. (By default five.)
Determine the precision automatically.
Align row elements in the invented matrix automatically.
Matrix inverse finder tool What is a matrix inverse finder?
This is an online browser-based utility for finding the inverse of a matrix. The inverse matrix A-1 of a matrix A is such that the product AxA-1 is equal to the identity matrix. The result of multiplying the matrix by its inverse is commutative, meaning that it doesn't depend on the order of multiplication – A-1xA is equal to AxA-1. The inverse matrix exists only for square matrices and it's unique. The matrix has the inverse if and only if it is invertible. An invertible matrix is also sometimes called nonsingular or nondegenerate. The key property of an invertible matrix is that its determinant isn't equal to zero. In this tool, we use the Gaussian elimination method to calculate the inverse matrix. This method is very fast and here's how it works. We append the unit matrix of the same dimensions on the left side of the given matrix, and then by using elementary transformations, we bring the original matrix to the unit form. At the same time, we apply all the same elementary transformations to the unit matrix on the left side. When completed, the right side now contains the inverted matrix. With this tool, you can calculate the inverse for a matrix of any size. You can also adjust the properties and format of the inverted matrix by customizing its numerical accuracy, row and column separators, as well as how elements are aligned. That's numberwang!
Matrix inverse finder examples Click to use
Inverse of a Square Matrix
In this example, we calculate the inverse of a 3 by 3 matrix containing integers. By multiplying these matrices together in any order, you'll always get the identity matrix.
2 1 3 3 3 4 5 2 8
16 -2 -5 -4 1 1 -9 1 3
Required options
These options will be used automatically if you select this example.
Element delimiter of the input matrix. (By default a space.)
Row delimiter of the input matrix. (By default a newline.)
Element delimiter of the output matrix. (By default a space.)
Row delimiter of the output matrix. (By default a newline.)
Align row elements in the invented matrix automatically.
Custom Precision Example
In this example, we find the inverse of a matrix with dimensions 4 by 4. The resulting matrix consists of fractional numbers, so we adjust its accuracy to 3 digits after the decimal point.
2 3 6 5 -2 5 -1 3 -8 0 -7 -2 -5 -4 2 1
-1.092 1.031 -0.949 0.469 1.684 -1.561 1.398 -0.939 2.061 -2.02 1.633 -0.98 -2.847 2.949 -2.418 1.551
Required options
These options will be used automatically if you select this example.
Element delimiter of the input matrix. (By default a space.)
Row delimiter of the input matrix. (By default a newline.)
Element delimiter of the output matrix. (By default a space.)
Row delimiter of the output matrix. (By default a newline.)
Number of digits in the fractional part. (By default five.)
Determine the precision automatically.
Align row elements in the invented matrix automatically.
Auto-accuracy Example
In this example, we compute the inverse of a matrix with size 10x10. We activate two automatic functions here. First, the tool determines the best accuracy of each number in the inverse matrix, and second, it adds as many spaces around numbers so that all elements align in beautiful columns.
6 6 9 5 6 4 7 4 1 2 2 9 6 3 8 1 5 6 3 5 2 3 3 9 1 9 9 0 5 4 4 0 6 2 4 7 4 1 3 0 7 9 4 3 2 4 4 7 0 8 4 3 7 3 2 0 7 1 5 2 3 7 9 6 1 1 7 9 4 4 9 2 2 2 9 2 2 4 5 4 6 7 2 3 9 4 2 7 7 8 8 0 8 8 4 0 5 7 1 0
0.27 -0.26 -0.02 -0.14 -0.03 -0.03 0.1 0.14 0.02 -0.11 0.64 -0.41 -0.02 -0.32 -0.2 -0.13 0.24 0.07 0.19 -0.28 -0.09 0.03 -0.12 0.16 0.08 0.27 -0.3 -0.49 0.32 0.24 0.23 -0.18 0.01 -0.17 -0.09 0.06 -0.14 -0.31 0.35 0.14 -0.13 0.22 0.02 0.07 0.01 -0.01 -0.11 0.03 -0.07 0.07 0.06 -0.06 0.02 0.08 -0.01 -0.11 0.07 0.03 -0.01 -0.07 -0.35 0.36 0.14 0.1 0.09 -0.14 0.22 0.56 -0.65 -0.14 -0.18 0.13 0.04 0.08 0.01 -0.23 0.27 0.34 -0.31 -0.09 0.23 -0.26 -0.02 -0.11 -0.16 0.01 0.17 0.03 0.18 -0.14 -0.67 0.43 -0.02 0.3 0.32 0.34 -0.51 -0.44 0.1 0.4
Required options
These options will be used automatically if you select this example.
Element delimiter of the input matrix. (By default a space.)
Row delimiter of the input matrix. (By default a newline.)
Element delimiter of the output matrix. (By default a space.)
Row delimiter of the output matrix. (By default a newline.)
Determine the precision automatically.
Align row elements in the invented matrix automatically.
Pro tips Master online number tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinenumbertools.com/find-matrix-inverse?input=2%201%203%0A3%203%204%0A5%202%208&input-element-separator=%20&input-row-separator=%5Cn&output-element-separator=%20&output-row-separator=%5Cn&prettify-matrix=true
All number tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly create a list of numbers in arithmetic series.
Quickly create a list of numbers in geometric series.
Quickly calculate the coefficients of the binomial expansion.
Quickly create a downloadable image from numbers.
Quickly create a list of random numbers.
Quickly create a list of random primes from a specific interval.
Quickly create a matrix with random numbers as its elements.
Quickly create a random row or column vector.
Quickly exchange rows and columns of a matrix.
Quickly find the inverse matrix of any square matrix.
Quickly find the determinant of any square matrix.
Quickly calculate any number of digits of number π.
Quickly generate the specified number of Euler constant's digits.
Quickly generate any number of golden ratio digits.
Quickly generate numbers of say what you see sequence.
Quickly calculate numbers of Fibonacci sequence.
Quickly calculate numbers of Lucas series.
Quickly generate Fibonacci-like series with custom start values.
Quickly calculate members of a linear recurrence series.
Quickly create a sequence of prime numbers.
Quickly check if the given number is a prime.
Quickly compute all prime factors of a number.
Quickly compute all divisors of a number.
Quickly calculate the GCD of two or more numbers.
Quickly calculate the LCM of two or more numbers.
Quickly create a list of increasing or decreasing integers.
Quickly create a sequence of even numbers.
Quickly create a sequence of odd numbers.
Quickly create a list of squares.
Quickly create a list of cubes.
Quickly generate a series of numbers in the form 2^n.
Quickly generate a series of numbers in the form 10^n.
Quickly choose one or more numbers from a list of numbers.
Quickly round one or more numbers to the given accuracy.
Quickly sort numbers in ascending or descending order.
Quickly sort number's digits in ascending or descending order.
Quickly randomize the order of digits in a number.
Quickly filter numbers according to certain criteria.
Quickly add up all the numbers in the given list and find their sum.
Quickly multiply all the given numbers together and find their product.
Quickly add up all the digits of the given numbers.
Quickly multiply all the digits of the given numbers.
Quickly create a diagonal matrix with ones on the main diagonal.
Quickly convert a number to the form 2^x.
Quickly express a number in the form 10^x.
Quickly add digits to a number so that it becomes a palindrome.
Quickly test if the given numbers are palindromes.
Coming soon These number tools are on the way
Generate Numberwang Numbers
Create a list of numberwang numbers.
Rewrite Numbers
Given numbers and a grammar, recursively rewrite them.
Create a Floating Point Number
Create a number from the mantissa, base and exponent.
Convert a Number to the Scientific Notation
Convert a number to the a*10^b form.
Convert Scientific Notation to a Number
Convert a number in scientific notation to a regular number.
Generate Random Binary Numbers
Create a list of random binary numbers.
Generate Random Octal Numbers
Create a list of random octal numbers.
Generate Random Decimal Numbers
Create a list of random decimal numbers.
Generate Random Hex Numbers
Create a list of random hexadecimal numbers.
Calculate a Running Sum
Calculate a cumulative sum of a list of numbers.
Calculate a Running Product
Calculate a cumulative product of a list of numbers.
Find the Maximal Number
Find the largest number in a number sequence.
Find the Minimal Number
Find the smallest number in a number sequence.
Calculate the Factorial
Find the factorial of a number.
Generate Number Bigrams
Create a list of digit bigrams from a number.
Generate Number Trigrams
Create a list of digit trigrams from a number.
Generate Number N-grams
Create a list of digit ngrams from a number.
Analyze a Number
Report how many digits appear how many times.
Convert a Number to an Ordinal
Convert a cardinal number to an ordinal number.
Convert an Ordinal to a Number
Convert an ordinal number to a cardinal number.
Convert a Number to Words
Express a number in English words.
Convert Words to a Number
Rewrite English words to numbers.
Convert a Number to Roman Number
Convert Arabic numerals to Roman numerals.
Convert a Roman Number to Regular Number
Convert Roman Numerals to Arabic numerals.
Generate Negafibonacci Numbers
Calculate a series of extended Fibonacci numbers.
Generate Fibonacci Primes
Find numbers that are both Fibonacci numbers and primes.
Fibonacci Number Test
Check if a number is a Fibonacci number.
Fibonacci Prime Test
Check if a number is both a Fibonacci number and a prime.
Construct Fibonacci Words
Create a sequence of Fibonacci words.
Construct Tribonacci Words
Create a sequence of Tribonacci words.
Generate Negalucas Numbers
Calculate a series of extended Lucas numbers.
Generate Lucas Primes
Calculate a series of extended Lucas numbers.
Lucas Prime Test
Check if a number is both a Lucas number and a prime.
Calculate the Trace of a Matrix
Find the sum of main diagonal elements of a matrix.
Calculate the Eigenvalues of a Matrix
Find the eigenvalues of a matrix.
Multiply Matrices
Compute the product of two matrices.
Add Matrices
Compute the sum of two matrices.
Subtract Matrices
Compute the difference of two matrices.
Generate Moser de Bruijn Numbers
Calculate a sequence of Moser-Bruijn numbers.
Generate Kolakoski Numbers
Calculate a sequence of Oldenburger-Kolakoski numbers.
Generate Stanley Numbers
Calculate a sequence of Stanley numbers.
Generate Gijswijt Numbers
Calculate a sequence of self-describing Gijswijt numbers.
Generate Rudin-Shapiro Numbers
Calculate a sequence of Rusin-Shapiro numbers.
Generate Baum-Sweet Numbers
Calculate a sequence of Baum-Sweet numbers.
Generate Thue-Morse Sequence
Calculate members of Thue-Morse number series.
Generate Perfect Numbers
Create a list of perfect numbers.
Generate Almost Perfect Numbers
Create a list of almost perfect numbers.
Generate Excessive Number Sequence
Calculate a sequence of abundant numbers.
Generate Deficient Number Sequence
Calculate a sequence of deficient numbers.
Calculate Dragon Curve Numbers
Generate a list of paperfolding sequence numbers.
Generate Composite Numbers
Create a list of numbers that are not prime.
Test if a Number is Perfect
Check if the given number is a perfect number.
Test if a Number is Abundant
Check if the given number is an abundant number.
Test if a Number is Deficient
Check if the given number is a deficient number.
Calculate the Modulo
Find the modulus of a number.
Group Number Digits
Group together digits of a number.
Split a Number into Digits
Create a list of digits from a number.
Printf Numbers
Apply sprintf or printf function to numbers.
Create Zalgo Numbers
Let Zalgo destroy your numbers.
Mirror a Number
Create a mirror copy of a number.
Zero-pad a Number
Add zeros to a number.
Reverse a Number
Reverse the order of digits of a number.
Rotate a Number
Cyclically rotate digits of a number to the left or right.
Increase All Digits in a Number
Add one to every digit in a number.
Decrease All Digits in a Number
Subtract one from every digit in a number.
Calculate Percentages
Find x% of a number.
Generate Natural Numbers
Create a list of natural numbers.
Generate Rational Numbers
Create a list of rational numbers.
Generate Real Numbers
Create a sequence of real numbers.
Generate Complex Numbers
Create a list of complex numbers.
Generate Binary Numbers
Create a sequence of binary numbers.
Generate Pairs of Numbers
Create a sequence of number pairs.
Convert a Fraction to a Decimal
Convert a fraction to a decimal number.
Convert a Decimal to a Fraction
Convert a decimal number to a fraction.
Convert a Binary Number to Octal Number
Convert a base two number to base eight number.
Convert a Binary Number to Decimal Number
Convert a base two number to base ten number.
Convert a Binary Number to Hex Number
Convert a base two number to base sixteen number.
Convert a Octal Number to Binary Number
Convert a base eight number to base two number.
Convert a Octal Number to Decimal Number
Convert a base eight number to base ten number.
Convert a Octal Number to Hex Number
Convert a base eight number to base sixteen number.
Convert a Decimal Number to Binary Number
Convert a base ten number to base two number.
Convert a Decimal Number to Octal Number
Convert a base ten number to base eight number.
Convert a Decimal Number to Hex Number
Convert a base ten number to base sixteen number.
Convert a Hex Number to Binary Number
Convert a base sixteen number to base two number.
Convert a Hex Number to Octal Number
Convert a base sixteen number to base eight number.
Convert a Hex Number to Decimal Number
Convert a base sixteen number to base ten number.
Convert Any Number to Any Base
Convert any number in any base to any other base.
Change Number's Mantissa
Change the significand of a number.
Change Number's Base
Change the base of a number.
Change Number's Exponent
Change the power of a number.
Numberwang Number Test
Test if the given number is numberwang.