Skip to content
RK Calculator
Menu

Matrix Calculator

Add, subtract and multiply matrices; find determinants, inverses, transposes, powers and ranks, exactly with fractions.

Change the values and press Calculate to work out your own figures.

Two matrices: A + B, A − B, A × B

Enter A and B and choose an operation.

About matrix aRows separated by ; and entries by spaces or commas, e.g. 1 2; 3 4.
About matrix bRows separated by ;, e.g. 5 6; 7 8.
About operationWhat to do with A and B.
Result
A + B
[6, 8; 10, 12]
Size
2 × 2

A + B = [6, 8; 10, 12]

A + B
Column 1Column 2
68
1012
Show the working
  1. Entries are combined position by position.

One matrix: determinant, inverse, transpose, power, k × A, rank

Enter A and choose an operation (k for power or k × A).

About matrix aRows separated by ; and entries by spaces or commas, e.g. 1 2; 3 4.
About operationWhat to do with A.
About kThe power or the number to multiply by.
Result
Determinant
-8

det(A) = -8

Show the working
  1. Row-reduce A; the determinant is the product of the pivots (with a sign change for each row swap).

How to use it

Enter A and B and choose an operation. Enter A and choose an operation (k for power or k × A).

Number boxes accept whole numbers, decimals, fractions (3/4), powers (2^10), roots (sqrt(2)) and the constants pi and e. Show the working lists the steps.

Key facts

(AB)ᵢⱼ = Σₖ AᵢₖBₖⱼ; A⁻¹ by row reduction of [A | I]

Sizes

A + B needs equal sizes; AB needs A's columns to equal B's rows; determinants, inverses and powers need square matrices.

Questions

What is the determinant of [2, 4; 6, 8]?

2 × 8 − 4 × 6 = −8.

When is there no inverse?

When the determinant is 0.

Formulas

(AB)ᵢⱼ = Σₖ AᵢₖBₖⱼ; A⁻¹ by row reduction of [A | I]

Sources

Limitations

  • Expressions up to 500 characters; matrices up to 10 × 10.
  • Big-number results up to 100,000 digits; factorials up to 10,000!.
  • Numbers in words up to 10^102 (short scale).

Formula version 0.1.0Reviewed