Matrix Calculator & LaTeX Generator
Create matrices, perform calculations, and export to LaTeX
Quick Templates:
Matrix Input
Preview
LaTeX Output
💡 Word 365/2019+: Press Alt+=, paste LaTeX, press Enter.
Matrix Operations
Transpose
Flip rows and columns
Determinant
For square matrices
Identity
Fill with identity matrix
Zero Matrix
Fill with zeros
Random
Fill with random values
Clear
Clear all values
Frequently Asked Questions
Four styles: parentheses (pmatrix), square brackets (bmatrix), vertical bars for determinants (vmatrix), and curly braces (Bmatrix).
Copy the LaTeX code and paste it into your document. The code uses standard LaTeX matrix environments that work with most LaTeX editors and math rendering systems.
Yes! You can enter any valid LaTeX in the cells, including fractions like \frac{1}{2}, variables like x, y, or Greek letters like \alpha. The preview will render them properly.