Matrix Calculator

Our Matrix Calculator handles all essential linear algebra operations in one place. Enter matrices up to 4×4, then choose addition, subtraction, multiplication, determinant, inverse, transpose, scalar multiplication, or Gauss-Jordan row reduction. Every operation shows detailed step-by-step working so you can follow the method, verify your work, or learn the process from scratch.

star 4.9
auto_awesome AI
New
Size: ×
Size: ×

Quick Examples:

Result Matrix

Enter values to compute

auto_awesome AI Analysis

Powered by Claude

Enter your values and calculate to receive AI-powered insights about your results.

grid_on Matrix Formulas

2×2 Determinant
det = ad − bc
2×2 Inverse
A⁻¹ = (1/det)[[d,−b],[−c,a]]
Multiplication C[i][j]
Σ A[i][k] × B[k][j]
Transpose
Aᵀ[i][j] = A[j][i]
Scalar
(kA)[i][j] = k × A[i][j]

table_chart Size Compatibility

Add / Subtract Same size
Multiply A×B A cols = B rows
det / Inverse Square only
Result of m×n × n×p m×p matrix
Transpose of m×n n×m matrix

lightbulb Quick Tips

  • A×B ≠ B×A — multiplication order matters
  • det = 0 means singular (no inverse)
  • RREF reveals rank and solution structure
  • (AB)ᵀ = BᵀAᵀ (reverse order)
  • Identity matrix I: A×I = A

How to Use This Calculator

1

Choose Matrix Size

Select dimensions for Matrix A (and B if needed): 2×2, 3×3, or up to 4×4

2

Select Operation

Pick from Add, Subtract, Multiply, Transpose, Determinant, Inverse, or RREF

3

Enter Matrix Values

Fill in each element of Matrix A (and B for binary operations)

4

View Result & Steps

See the result matrix and step-by-step working showing every calculation

The Formula

Matrix multiplication: C[i][j] = sum of A[i][k] × B[k][j]. For a 2×2 matrix [[a,b],[c,d]]: det = ad−bc. Inverse exists only when det ≠ 0. Transpose swaps rows and columns. Row reduction finds the equivalent RREF using elementary row operations.

C = A × B, det(A) = ad − bc, A⁻¹ = (1/det) × adj(A)

lightbulb Variables Explained

  • A, B Input matrices
  • det(A) Determinant — scalar value from a square matrix
  • A⁻¹ Inverse matrix — A × A⁻¹ = I (identity)
  • Aᵀ Transpose — rows and columns swapped
  • RREF Reduced Row Echelon Form via Gauss-Jordan

tips_and_updates Pro Tips

1

Matrix multiplication is NOT commutative: A×B ≠ B×A in general

2

For multiplication, the number of columns in A must equal the number of rows in B

3

A matrix has an inverse only if its determinant is non-zero

4

Transpose of a product: (AB)ᵀ = BᵀAᵀ (note the reversed order)

5

The determinant of a triangular matrix is the product of its diagonal elements

6

Row operations (swap, scale, add) don't change the solution set of a linear system

A matrix calculator performs linear algebra operations on rectangular arrays of numbers. From simple addition to complex operations like finding inverses and row-reducing, our calculator handles all standard matrix operations with full step-by-step explanations.

Addition/subtraction requires equal dimensions and works element-wise. Multiplication requires A's columns = B's rows. The determinant is a scalar that indicates invertibility. The inverse undoes multiplication (A × A⁻¹ = I). RREF uses Gauss-Jordan elimination to solve linear systems.

Frequently Asked Questions

sell

Tags

verified

Data sourced from trusted institutions

All formulas verified against official standards.