Matrix Calculator
NewAdd, subtract, multiply, transpose, and invert matrices with determinant calculation.
Matrix calculator
Matrix Calculator
Add, subtract, multiply, transpose, and invert matrices with determinant calculation.
Work with two editable matrices up to 8×8 for arithmetic, transposes, determinants, and inverses.
Matrix A
Editable input grid
Matrix B
Editable input grid
Result
No result yet
Frequently Asked Questions
How big can the matrices be?
Each matrix can be between 1×1 and 8×8. Values outside that range are clamped back into bounds.
Why are det(A) and A⁻¹ disabled sometimes?
Those operations only work on square Matrix A. The buttons automatically disable whenever A's row count and column count do not match.
What algorithm does it use for determinant and inverse?
The determinant is computed with Gaussian elimination, and the inverse uses Gauss-Jordan elimination. Results are displayed with up to six decimal places.
Why won't A × B run on my matrices?
Matrix multiplication requires the number of columns in A to equal the number of rows in B. Addition and subtraction are stricter and require both matrices to have exactly the same dimensions.
Can I compute det(B) or B⁻¹ too?
Not with the current controls. Determinant and inverse actions are built only for Matrix A.
Related Tools
Math Expression Evaluator
NewEvaluate mathematical expressions safely — supports arithmetic, trig, logs, sqrt, and more.
Prime Number Tools
NewCheck if a number is prime, find primes up to N, prime factorization, and nearest prime finder.
Percentage Calculator
NewCalculate percentages, percent change, and percent increase/decrease instantly.