Skip to main content
Z

Matrix Calculator — Multiply, Determinant, Inverse

Add, subtract, multiply, transpose matrices and find determinant & inverse (2×2 to 4×4). Client-side.

Free No signup Client-side Privacy friendly Updated
Size
Matrix A
Result

How to use

  1. 1 Pick the matrix size (2×2, 3×3 or 4×4) and an operation.
  2. 2 Fill in matrix A (and B for add / subtract / multiply).
  3. 3 The result — a matrix or a scalar — updates instantly.

Why use this tool

  • Add, subtract, multiply, transpose, plus determinant and inverse.
  • Works for 2×2, 3×3 and 4×4 square matrices.
  • Runs entirely in your browser.

Frequently asked questions

How is the determinant computed?

By cofactor (Laplace) expansion along the first row, recursively reducing to 2×2 determinants.

How is the inverse found?

Via the adjugate matrix divided by the determinant. If the determinant is zero the matrix is singular and has no inverse.

Why must the matrices be square?

Determinant and inverse are only defined for square matrices; this tool keeps A and B the same square size so every operation is valid.

What is the transpose?

The matrix flipped over its diagonal — rows become columns and columns become rows.

What is Matrix Calculator?

A matrix calculator performs matrix arithmetic — addition, subtraction, multiplication, transpose — and computes the determinant and inverse of square matrices up to 4×4.

Features

Six operations

A+B, A−B, A×B, det(A), A⁻¹, and Aᵀ on entered matrices.

Singular detection

Reports when a matrix has no inverse (determinant zero) instead of returning garbage.

Free & private

Runs on your device — nothing is uploaded.

Example

Input

A = [[1,2],[3,4]] × B = [[5,6],[7,8]]

Output

[[19, 22], [43, 50]]

Common use cases

  1. 1

    Linear algebra homework

    Check matrix products, determinants, and inverses.

  2. 2

    Solve linear systems

    Use the inverse to solve Ax = b for small systems.

  3. 3

    Graphics & transforms

    Verify transformation matrices used in graphics or robotics.

Summary

Zerethon's matrix calculator performs matrix arithmetic in your browser — addition, subtraction, multiplication, determinant, inverse, and transpose. Results are computed exactly for the entered values, with a clear error when a matrix is singular (no inverse). Everything runs client-side — nothing is uploaded.

Category
Math
Pricing
Free
Privacy
Browser-based
Signup
Not required

References

Privacy

Your data never leaves your browser unless explicitly stated. Matrix Calculator runs entirely client-side — no server upload, no logging, no tracking of your input.

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free