Art and Engineering

Matrix Calculator

Matrices up to 8 × 8 with fractions: add, subtract, multiply, scalar multiple, power, transpose, determinant, inverse, rank, RREF and solving A·x = b (unique, infinite or no solution), each with row-operation steps; eigenvalues (including complex) and eigenvectors. Copy results as CSV or LaTeX.

Matrices

A3 × 3rowscols
B3 × 1rowscols
Quick fill A:

Cells accept decimals, scientific notation (1e-3) and fractions (3/4). Up to 8 × 8.

Operation

Uses matrix B as the right-hand side (one column).

Result

x1 = 2
x2 = 3
x3 = -1

One unique solution.

Steps (11)

  1. Swap R1 ↔ R2
  2. R1 → R1 ÷ -3
  3. R2 → R2 − (2)·R1
  4. R3 → R3 − (-2)·R1
  5. Swap R2 ↔ R3
  6. R2 → R2 ÷ 5/3
  7. R1 → R1 − (1/3)·R2
  8. R3 → R3 − (1/3)·R2
  9. R3 → R3 ÷ 1/5
  10. R1 → R1 − (-4/5)·R3
  11. R2 → R2 − (2/5)·R3
Method and limits
  • Elimination with partial pivoting (det, inverse, RREF, solve).
  • Eigenvalues by Hessenberg reduction and the shifted QR algorithm; eigenvectors for real eigenvalues.
  • Floating-point arithmetic: values within 10⁻¹⁰ of zero count as zero; fractions are shown when a value matches one with a denominator up to 1000.

Free tools, no sign-up. A small tip keeps them free and growing. Support this site