Matrix Calculator

Perform matrix operations including addition, subtraction, multiplication, determinant, inverse, transpose, and more. Supports 2x2, 3x3, and custom size matrices with step-by-step solutions.

Matrix Calculator

Matrix Dimensions

×
×

Matrix Values

Matrix A

Matrix B

Matrix Operations Guide

Addition & Subtraction

Matrices must have the same dimensions. Add/subtract corresponding elements.

Multiplication

Number of columns in first matrix must equal number of rows in second matrix.

Determinant

Only defined for square matrices. Returns a scalar value.

Inverse

Only defined for square matrices with non-zero determinant.

Transpose

Swaps rows and columns. (Aᵀ)ᵢⱼ = Aⱼᵢ

Scalar Multiplication

Multiply each element by a scalar value: (kA)ᵢⱼ = k × Aᵢⱼ

Matrix Power

Only defined for square matrices. A⁰ = I, A¹ = A, Aⁿ = A × Aⁿ⁻¹

Supported Sizes

Up to 5×5 matrices. Determinant and inverse limited to 3×3.

How to use:

  • • Select the matrix operation you want to perform
  • • Set the dimensions of your matrices (up to 5×5)
  • • Enter the matrix values in the input grids
  • • Click "Calculate" to see the result and step-by-step solution
  • • Perfect for linear algebra, engineering, and data science
  • • All calculations are mathematically accurate and verified

Matrix Calculator FAQ

Disclaimer: A2ZKit's tools, calculators, cheat sheets, and articles are provided for general information and educational purposes only, on an "as is" basis without warranties of any kind. They are not financial, investment, tax, accounting, medical, health, or legal advice, and are not a substitute for a qualified professional. Results may be inaccurate or incomplete — verify independently and consult an appropriate professional before making any decision. Some tools process files — such as PDFs and images — entirely in your browser; you are responsible for keeping your own backups, and we are not liable for any data loss, file corruption, or inaccurate output. You use A2ZKit entirely at your own risk. By using the site you agree to our Terms of Service.