Independent practice tool · free · runs in your browser

Matrix Calculator

Enter matrices up to 4 × 4 to add, subtract, multiply, transpose, or find the determinant and inverse. Every cell must contain a number: empty cells are reported, never quietly treated as zero. When sizes do not fit an operation, the tool explains exactly why — for example, that the columns of A must equal the rows of B.

Matrix operations up to 4 × 4

Matrix A
Matrix B

Every cell needs a number; empty cells are reported, never treated as 0. Tab moves between cells.

How to use it

  1. Choose the rows and columns of A (and B if needed).
  2. Type a number in every cell; Tab moves to the next cell.
  3. Pick an operation: det(A), A⁻¹, Aᵀ, A · B, A + B or A − B.
  4. Read the result and its size, then copy it if you need it elsewhere.

Worked example

Matrix A = [[1, 2], [3, 4]] with determinant −2 and inverse [[−2, 1], [1.5, −0.5]].
Every value in this figure was produced by the same code that runs the tool above and is checked by automated tests.

How it calculates

Determinants and inverses use Gaussian elimination with partial pivoting. A matrix is reported as singular when a pivot is no larger than 10⁻¹² × the largest entry × the size, which covers exact singularity and matrices too close to singular for a meaningful inverse. Values within 10⁻¹² of an integer are displayed as that integer.

Limits

  • Maximum size 4 × 4; entries must be between −10¹⁰⁰ and 10¹⁰⁰.
  • No row reduction (rref), eigenvalues or complex entries.
  • Floating-point results; near-singular matrices are refused rather than approximated.
  • Not a TI-84: there are no named matrices [A]–[J] or MATRIX menu.

Doing this on a TI-84

On a TI-84 you create matrices in the MATRIX ▸ EDIT editor and paste [A] from MATRIX ▸ NAMES. This page does not imitate those menus; the guides below give the verified key sequences.

Questions

Why can’t I multiply these matrices?

For A · B the number of columns of A must equal the number of rows of B. A 2×3 times a 3×2 works and gives 2×2; a 2×3 times a 2×2 does not.

What does singular mean?

A singular matrix has determinant 0 (its rows are linearly dependent), so it has no inverse — for example [[1, 2], [2, 4]].

Does an empty cell count as zero?

No. Empty cells are errors, so a typing slip cannot silently change your answer.

TI84 Calculator Guide is independently operated and is not affiliated with, sponsored by or endorsed by Texas Instruments. TI-84 Plus, TI-84 Plus CE and related names are used only to describe the calculators our guides cover.

TI-84 lessons for the same task

Matrix A = [[1, 2], [3, 4]] with its determinant −2 and inverse [[−2, 1], [1.5, −0.5]].
Algebra

Enter and Calculate with Matrices on a TI-84

Set matrix dimensions, enter values, and compute A×B, det(A) = −2, A⁻¹ = [[−2,1],[1.5,−0.5]] and Aᵀ for A = [[1,2],[3,4]], with dimension rules explained.

3 min readTI-84 Plus (TI guidebook)
The lines y = 3 − x and y = x − 1 crossing at (2, 1), beside the matrix equation [A]⁻¹[B] = [[2], [1]].
Algebra

Solve Systems of Equations on a TI-84

Find (2, 1) for x + y = 3 and x − y = 1 two ways — graph intersection and matrix inverse — and recognize when a system has no solution or infinitely many.

3 min readTI-84 Plus (TI guidebook)
Matrix sizes 2×3 times 3×2 with the matching inner dimensions highlighted and a check mark, above 2×3 times 2×2 with a cross.
Troubleshooting

TI-84 Dimension Mismatch: Lists and Matrices

Why a 2×3 times 3×2 product works but 2×3 times 2×2 does not, how unequal L1 and L2 lengths break regressions, and how to repair data without losing pairs.

2 min readTI-84 Plus (TI guidebook)