How do I use the matrix calculator?
Fill in the two 3 x 3 grids, choose an operation — A + B, A - B, A x B, determinant of A, or transpose of A — and the result appears instantly. The defaults add 1-9 to 9-1, giving a grid of 10s. Press Sample to multiply two matrices: the result's top-left entry is 2x1 + 0x0 + 1x2=4. Both determinants, det(A) and det(B), are always shown for reference, and the details explain one entry step by step.
What is a matrix?
A matrix is a rectangular grid of numbers arranged in rows and columns, written like a table. A 3 x 3 matrix has 3 rows and 3 columns — 9 entries in total. Each entry is identified by its row and column. Matrices are the standard way to represent systems of equations, transformations in computer graphics, and data tables in statistics, because operations on whole grids can be defined cleanly.
How do you multiply matrices?
Matrix multiplication is not entry-by-entry. Each entry of the result is a row of the first matrix multiplied by a column of the second, added up: result[i][j]=A row i dot B column j. For the sample, the top-left entry is 2x1 + 0x0 + 1x2=4. Order matters — A x B is usually not equal to B x A. The number of columns in A must equal the number of rows in B; with two 3 x 3 matrices this always works.
What is a determinant?
The determinant is a single number computed from a square matrix that summarises how it scales space. For a 3 x 3 matrix with rows (a, b, c), (d, e, f), (g, h, i), the formula is a(ei - fh) - b(di - fg) + c(dh - eg). The default matrix 1-9 has determinant 0, which means it is singular: it flattens space and has no inverse. A determinant of 1, like the identity matrix, preserves area exactly.
What are matrices used for?
Computer graphics (rotating, scaling and moving 3D objects), solving systems of equations, image processing, machine learning (neural networks are mostly matrix multiplication), economics, physics simulations, and data analysis. If you are studying linear algebra, this calculator is a fast way to check homework and see the working for each operation.
Is it free and private?
Yes. The matrix calculator is completely free, needs no sign-up, and runs entirely in your browser. Your numbers are never uploaded to a server. It works on phones, tablets and desktop computers.