Matrix calculator
Enter a matrix up to 8 by 8 with whole numbers, decimals or fractions such as 3/4. Where possible the result keeps exact fractions, and each row operation is listed.
Matrix calculator calculates in your browser: the numbers you enter are never sent to a server. It is free and needs no sign-up.
How to use it
- Pick a tab and enter A In the Matrix calculator, open a tab such as Basic operations or Solve Ax = b, then enter matrix A. Matrices can be up to 8 by 8, with whole numbers, decimals or fractions such as 3/4.
- Read the exact result Where possible the result keeps exact fractions, and each row operation is listed. For example, 2x + y = 3 and x + 3y = 5 give x = 4/5 and y = 7/5.
- Check singular matrices and approximations The determinant of a matrix such as [[1,2],[2,4]] is 0, so it has no inverse and the page says so. From 3×3 on, eigenvalues are numerical approximations, and the page labels them that way.
Questions
Why do some results show fractions instead of decimals?
The page keeps exact fractions where it can, so 4/5 stays exact instead of being rounded. Switch Display to Decimals to see a fixed number of decimal places.
Why does the page say a matrix has no inverse?
A matrix has an inverse only when its determinant is not 0. For [[1,2],[2,4]] the determinant is 0, because row 2 is 2 times row 1, so the page reports that no inverse exists and shows the rank.
Why are some eigenvalues marked as approximate?
From 3×3 on, the page uses numerical methods, so those eigenvalues are approximations. A 2×2 matrix such as [[1,2],[2,1]] has exact eigenvalues 3 and -1.