HomeMatrix Calculator

Matrix Calculator

Online matrix calculator supporting add/subtract/multiply, transpose, determinant, inverse, LU/QR/SVD decomposition, rank, eigenvalues, norms, and condition number

Matrix A

Matrix B

Operation Selection

Add A and B element by element. Both matrices must have the same shape.

Result

Select an operation and click Calculate

History

No history yet


Documentation

What Is the Matrix Calculator

The Matrix Calculator performs common linear algebra operations directly in the browser, including add/subtract/multiply, transpose, determinant, inverse, LU/QR/SVD decomposition, rank, eigenvalues, trace, norms, and condition number.

How to Use This Tool

  1. Enter values in Matrix A and Matrix B, then set rows and columns (1 to 8).
  2. Use Random, Clear, Preset, or file import to prepare matrix data quickly.
  3. Choose an operation in the operation panel; enter integer n for power operation.
  4. Click Calculate to view results and adjust decimal precision in the result panel.
  5. Export results as CSV/JSON or copy LaTeX output for reports and notes.
  6. Recent calculations are stored locally and can be restored from history.

Key Features

  • Basic two-matrix operations: add, subtract, multiply
  • Advanced single-matrix operations: power, transpose, determinant, inverse, rank, trace, condition number
  • Decomposition algorithms: LUP, QR, and SVD
  • Flexible I/O: text/CSV/JSON import and CSV/JSON/LaTeX export
  • Local history restore for quick comparison and replay

Use Cases

  • Linear algebra homework checks and exam preparation
  • Fast validation for engineering matrix models
  • Matrix-based derivation and parameter review in data analysis
  • Learning decomposition methods with practical side-by-side results

Notes

  • Determinant, inverse, trace, LU, and eigenvalue operations require Matrix A to be square.
  • Matrix multiplication requires columns of A to equal rows of B.
  • Near-singular matrices may produce numerical instability in inverse and decomposition results.
  • All data and history stay in local browser storage and are not uploaded.