See the Pen Linear Algebra Calculator by Marcus Kazmierczak (@mkaz) on CodePen.
Resoures

Read about Linear Algebra Mathematics for some mathematical explanations on how the matrices are calculated and definitions

For larger matrices and Java source code, see Java Matrix Calculator? – I have made a new matrix calculator this time using double arrays in Java, which can now calculate n x n matrices, up to 50 x 50.