Matrix Calculator
Compute the determinant, inverse, transpose or product of matrices up to 8 × 8 using partial pivoting for numerical stability.
Runs on your device
Result
Results appear here after you select “Calculate”.
What it does
Type each row on its own line with values separated by spaces or commas. Entries can be expressions such as 1/3 or sqrt(2).
How to use it
- Enter matrix A (and B for multiplication).
- Choose the operation.
- Calculate and copy the result.
Example
The inverse of [[4,7],[2,6]] is [[0.6,−0.7],[−0.2,0.4]]. Select Try an example above to see it.
When it helps
- Linear algebra coursework.
- Circuit analysis with mesh equations.
- Checking hand computed inverses.
Questions
Why does the inverse show tiny numbers like 1e-17?
Floating point rounding. Values smaller than 10⁻¹² are displayed as 0.
What is the largest size?
8 × 8.
More student & maths tools
See all 12- Descriptive Statistics Calculator Get mean, median, mode, range, quartiles, variance and standard deviation (sample and population) for a list of numbers.
- Prime Factorisation & Primality Checker Check whether a whole number is prime and break it into prime factors in exponent form, with exact BigInt arithmetic for very large numbers.
- GCD & LCM Calculator Find the greatest common divisor and least common multiple of two or more whole numbers, with the Euclidean algorithm steps for the first pair.
- Fraction Calculator Add, subtract, multiply and divide fractions, mixed numbers and decimals, with results simplified to lowest terms and shown as mixed numbers.
- Definite Integral Calculator (Numerical) Numerically evaluate a definite integral of f(x) between two limits using Simpson’s rule, with the formula, step size and a trapezoidal cross check.
- Permutation & Combination Calculator Calculate nPr and nCr (combinations) exactly for large n using BigInt, plus factorials, with the formulas and substituted values shown.
People also use
Browse all 200 tools- US Paycheck Calculator (Take Home Pay) Estimate take home pay per paycheck after 2026 federal income tax, Social Security, Medicare, 401(k) and your state income tax rate. Personal finance
- JPG & PNG to PDF Turn photos and scans in JPEG or PNG format into a single PDF, one image per page, on A4, Letter or image sized pages. PDF
- Working Days Calculator Count business days between two dates, excluding weekends of your choice (Saturday and Sunday, or Friday and Saturday) and a list of public holidays. Business
- Compress Image to a Target Size (KB) Shrink a photo to under a target file size such as 100 KB, 50 KB or 20 KB for online forms, automatically finding the best quality that fits. Media & files