Matrix Calculator

Tip: You can also drag & drop a .txt/.csv file onto the textbox.
For addition/subtraction, A and B must be same size; for multiplication, inner dimensions must match.

Matrix Calculator – Quick Cheat Sheet

  • Input format: one row per line; columns separated by spaces or commas. Non-numeric values are rejected.
  • Add/Subtract: A and B must have identical dimensions (m×n).
  • Multiply: If A is m×n and B is p×q, then n must equal p. The result is m×q.
  • Transpose: Swaps rows/columns. A(m×n) → Aᵀ(n×m).
  • Determinant: Defined for square matrices only. det(A)=0 implies A is singular (non-invertible).
  • Inverse: Defined for square, non-singular matrices. This tool uses Gaussian elimination; numerical rounding may occur.
  • Files: Use a local .txt/.csv, or drag & drop onto a box. Data stays in your browser; nothing is uploaded.
Tips & Edge Cases
  • Trim extra spaces; blank lines are ignored. Mixed comma/space separators are accepted.
  • For large matrices & inverses, floating-point rounding is expected. Results print with up to 10 decimal places, trimming noise.
  • If inverse fails (near-singular), try rationalizing inputs or check det(A) ≈ 0.

Cookies & privacy

Utilities Bunker uses necessary cookies to run the site. Optional cookies help remember preferences, measure usage, and improve the platform. You can change your choices any time. Privacy Policy.

Manage Cookies