Matrices Calculator
Enter matrix A, and matrix B where the operation needs it, and choose add, subtract, multiply, transpose or inverse. The result is exact, in fractions, and the steps are shown. For an inverse, every row operation is listed, and if the sizes do not match or the matrix has no inverse, the page names the reason.
How to use the matrices calculator
Result
The working
Enter your numbers above to see the answer and every step.
-
Checked on
Method: standard mathematical definitions and textbook formulas, shown in full in the working.
Worked example: multiplying
Multiply the matrix with first row 1, 2 by the matrix with first row 0, 1. The top-left entry is 1 times 0 plus 2 times 1, which is 2. The full first row of the product is 2, 1.
Operations available
The steps of the worked example appear here.
Method and limits
Addition and subtraction need matrices of the same size. A times B needs the number of columns of A to equal the number of rows of B, and each entry is the sum of products along a row of A and a column of B. The inverse is found by Gauss-Jordan elimination on A beside the identity matrix, with exact fractions, choosing the first non-zero pivot and swapping rows when needed. A matrix with determinant zero has no inverse.
What it does not cover
- Numeric matrices up to eight by eight. Eigenvalues and symbolic entries are not included.
Rules and calculation checked on 11 Oct 2026.
Questions people ask
How to do matrices on a calculator?
Fill in the grids on this page, choose an operation and read the result. In the example above the top-left entry of the product is 2. A handheld model has a matrix menu, and its steps differ by model, so use its manual.
How to solve matrices on a calculator?
Pick the operation you need, such as multiply or invert, enter the matrices and follow the steps shown. Each entry of a product is a row-by-column sum of products, and the page writes out the sum for chosen cells.
How to put matrices in a calculator?
Choose the number of rows and columns, then type each entry in its cell. Fractions and decimals are accepted, and the page checks the sizes before it calculates.
Related calculators
Factor a square matrix into L and U in exact fractions. Pick partial pivoting or the textbook no-pivot version, see each multiplier and verify the product.
Linear regression calculatorPaste x and y values to get the best-fit line, slope, intercept, correlation r and r squared, and a prediction at any x, with the working table.
Synthetic division calculatorDivide a polynomial by a linear factor with synthetic division. See the table, quotient and remainder, plus a factor statement if it is zero.
Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.