Matrix calculator
Three matrices A, B, C in a grid, up to 6 × 6, with exact entries (fractions, roots, π, complex numbers). One click for A + B, A × B, Aᵀ, exact A⁻¹, det(A), rank, trace, powers, reduced row echelon form, solving AX = B, characteristic polynomial and eigenvalues, or any expression such as 2A − Bᵀ.
Frequently asked questions
How do you compute the inverse of a matrix?
Enter the matrix in grid A and click A⁻¹: the inverse is computed exactly (fractions and roots kept). If the determinant is zero, the matrix is not invertible and the calculator says so. For A = (2 1; 1 3), det(A) = 5 and A⁻¹ = (1/5)(3 −1; −1 2).
How do you find eigenvalues?
The eigenvalues button gives the characteristic polynomial and its roots, exactly when possible. For A = (2 1; 1 3): polynomial λ² − 5λ + 5, eigenvalues (5 − √5)/2 and (5 + √5)/2.
How do you solve a system with matrices?
Write the system as AX = B (A: coefficients, B: right-hand sides) and use Solve AX = B: the calculator gives the unique solution, or says there is none or infinitely many. Hovering over each button shows the equivalent instruction on NumWorks, TI, Casio and HP.
More calculator pages
- Graphing calculator (every tab: exact calculations, functions, equations, sequences, statistics, probability, matrices, Python…)
- Limit calculator
- GCD, LCM and number theory
- Inequality solver
- Binary, hex and decimal converter
- Equation solver
- Sequence calculator
- Statistics and regression
- Probability distributions
- Symbolic algebra (CAS)
- Online Python (NumWorks, TI, Casio)
How to use it
- Input: choose the size of A, B or C (1 to 6 rows and columns) and fill in the grid; Enter moves to the next cell. Entries accept fractions (1/3), roots (sqrt(2)), π and complex numbers.
- Operations: one click for A + B, A × B, Aᵀ, A⁻¹, det(A), rank, trace, Aⁿ, reduced row echelon form, AX = B, eigenvalues.
- Expression: type any combination, for example
2A-B^T,A^-1BorA^3, and the instructions det(A), rank(A), trace(A), rref(A), eigenvals(A). - Calculations: A, B and C are also variables in the Calculations tab; you can store a matrix there (M = …) then compute M⁻¹ or det(M).
Examples
- A = (2 1; 1 3): det(A) = 5, trace 5, A⁻¹ = (3/5 −1/5; −1/5 2/5).
- Eigenvalues of A: (5 ± √5)/2, roots of λ² − 5λ + 5.
- System 2x + y = 5, x − y = 1: A = (2 1; 1 −1), B = (5; 1), X = (2; 1).
To solve a system without matrices, see the equation solver (Linear system mode); see also the full graphing calculator.
Guide written and checked by the Otoolia team · updated 25 November 2026.