Matrix Calculator

Edit named matrices, combine them with common operations, and keep exact fractional results where possible.

Import data

Paste CSV, tab-separated text, or JSON

Exact input

Enter integers, decimals, or fractions such as −2, 0.5, or 3/4. Copy a matrix as tab-separated text or paste a rectangular block into a cell.

Dimension checks

Operations explain incompatible dimensions, singular matrices, non-square inputs, and systems without one unique solution.

Core linear algebra

Use RREF, rank, determinant, inverse, transpose, matrix powers, and linear-system solving in one workspace.

A practical matrix calculator for everyday linear algebra

Matrices can look intimidating at first, especially when you are checking homework, working through a system of equations, or reviewing a technical calculation. This calculator gives you a clear place to enter your values, try an operation, and compare the result with your own work.

Enter matrices the way you already write them

Create a matrix, name it A or B, then edit each cell directly. Whole rows and columns can be pasted from a spreadsheet, and fractions such as 3/4 stay readable instead of being rounded away.

Choose the operation that matches your question

Addition and subtraction compare matrices of the same size. Multiplication combines compatible dimensions, while a scalar multiplies every entry by the same number.

Understand determinant, inverse, and rank

The determinant helps describe whether a square matrix is singular. An inverse is available only when the matrix is non-singular, and rank shows how many independent rows or columns it contains.

Use RREF to see the structure

Reduced row echelon form makes pivots, free variables, and solutions easier to spot. It is also a useful way to check a system of linear equations without losing the intermediate structure.

Useful for study and technical work

Use the workspace for algebra, coordinate transformations, data models, engineering checks, and quick classroom examples. Treat the output as a calculation aid and review important results independently.