Solvezi.com
Home
Tools
Blog
About
Contact
  1. Home
  2. Algebra
  3. Matrix Calculator

Matrix Calculator

Perform matrix operations like addition, multiplication, determinant, and inverse.

Related Tools

More in Algebra

Quadratic Formula CalculatorLog CalculatorExponent CalculatorRoot Calculator
Explore Other Categories

Share

https://www.solvezi.com/algebra/matrix-calculator

Solvezi.com

Solve Easy
Privacy PolicyTerms
© 2026 Solvezi.com. All rights reserved.
Quick Presets:
Matrix A
Rows:
×
Cols:
3×3 matrix (max 10×10)
Matrix B
Rows:
×
Cols:
3×3 matrix (max 10×10)

Select Operation:
Requires same dimensions

Final Result
N/A

Features:

Up to 10×10 Optimized Performance Mobile Friendly Step-by-Step Detailed Calculations

Matrix Calculator

Complete guide with examples & step-by-step solutions for addition, subtraction, multiplication, transpose, determinant, and inverse operations

2×2 3×3 4×4 Up to 10×10

What is this Matrix Calculator?

This matrix calculator is a comprehensive online tool for performing linear algebra operations including matrix addition, subtraction, multiplication, transpose, determinant calculation, and finding the inverse. It supports matrices of any size (M×N) up to 10×10 and provides detailed step-by-step solutions for educational purposes.

Quick Example: 2×2 Matrix Addition

Matrix A = [[2, 3], [1, 4]]
Matrix B = [[5, 1], [2, 3]]
A + B = [[2+5, 3+1], [1+2, 4+3]] = [[7, 4], [3, 7]]

Shows each element addition step: 2+5=7, 3+1=4, 1+2=3, 4+3=7

Whether you're solving systems of linear equations, working on vector transformations, or studying linear transformations, this calculator helps you verify results and understand the underlying mathematical processes.

Supported Operations

Matrix Addition

A = [[1, 2], [3, 4]]
B = [[4, 1], [2, 3]]
Result = [[5, 3], [5, 7]]

Element-wise addition, same dimensions required

Matrix Multiplication

A = [[1, 2], [3, 4]]
B = [[5, 6], [7, 8]]
Result = [[19, 22], [43, 50]]

Dot product: columns(A) = rows(B)

Determinant

A = [[3, 2], [1, 4]]
det(A) = 3×4 − 2×1 = 10

Scalar value for square matrices only

Matrix Inverse

A = [[4, 7], [2, 6]]
A⁻¹ = [[0.6, -0.7], [-0.2, 0.4]]

A × A⁻¹ = I (Identity Matrix)

Step-by-Step Solutions

3×3 Matrix Multiplication Example

Step 1: Input Matrices
Matrix A:
[ [1, 2, 3],
[4, 5, 6],
[7, 8, 9] ]
Matrix B:
[ [9, 8, 7],
[6, 5, 4],
[3, 2, 1] ]
Step 2: Calculate Each Element
C[1,1] = (1×9)+(2×6)+(3×3) = 9+12+9 = 30
C[1,2] = (1×8)+(2×5)+(3×2) = 8+10+6 = 24
... continues for all 9 elements (3×3 matrix = 9 calculations)
Final Result
C = [ [30, 24, 18],
[84, 69, 54],
[138, 114, 90] ]

How to Use

1

Select Size

2×2, 3×3, 4×4 or custom rows/cols

2

Enter Values

Input numbers for Matrix A and B

3

Choose Operation

Add, subtract, multiply, transpose, determinant, inverse

4

Compute

Click 'Compute Result' to calculate

5

Review Solution

Examine step-by-step calculation process

6

Verify Results

Check your answers against the solution

Methods & Algorithms

Determinant

Recursive cofactor expansion for small matrices, LU decomposition for 5×5+

Matrix Inverse

Gauss-Jordan elimination with partial pivoting for stability

Numerical Precision

Floating-point rounding with 10 decimal places precision

Multiplication

Standard row-column dot product with O(n³) optimization

Practice Problems

Beginner Level

  1. 1.[[2,3],[1,4]] + [[5,1],[2,3]] = ?
  2. 2.[[4,1],[2,3]] - [[1,2],[3,4]] = ?
  3. 3.Transpose of [[1,2,3],[4,5,6]] = ?

Intermediate Level

  1. 1.[[1,2],[3,4]] × [[5,6],[7,8]] = ?
  2. 2.Determinant of [[3,8],[4,6]] = ?
  3. 3.Inverse of [[4,7],[2,6]] = ?

Quick Reference Formulas

Addition

(A + B)ᵢⱼ = Aᵢⱼ + Bᵢⱼ

Multiplication

(A×B)ᵢⱼ = Σ(Aᵢₖ × Bₖⱼ)

2×2 Determinant

det = ad - bc

2×2 Inverse

A⁻¹ = (1/det) × [[d,-b],[-c,a]]