← Pencilbox
Matrix
linear algebra
build v7.4.0
Enter one or two matrices, then pick an operation — determinant, inverse, transpose, rank, add, subtract, multiply, scalar multiply, or solve A·x = b. Results are exact where they can be (shown as fractions), and everything runs in your browser.

Matrix A

rows × cols

Matrix B

rows × cols
Pick an operation to see the result.

All operations run on your device. Determinant, inverse and solving use Gaussian elimination; a matrix with determinant zero has no inverse and A·x = b then has no unique solution. Results are shown as exact fractions when the numbers are rational, otherwise as decimals. For A·x = b, put the constants b in Matrix B as a single column. Nothing is uploaded.