← All tools
Matrix Calculator
Perform arithmetic and linear-algebra operations on two matrices: addition, subtraction, multiplication, scalar multiplication, transpose, determinant, trace, rank, inverse, and reduced row echelon form (RREF). Up to 6×6. All math runs locally in your browser.
Matrix A
Matrix B
scalar
Result
Edit the cells, choose an operation, and press Compute. Determinant and inverse use Gaussian elimination with partial pivoting. Runs locally.