Matrix Calculator

Find the determinant, inverse or transpose of a matrix, or add, subtract and multiply two matrices (up to 6×6).

LiveArithmetic & AlgebraURL: /matrix-calculator

Enter your values

One row per line, numbers separated by spaces
Report error

Did we solve your problem today?

How to use this calculator

Enter your values. The result updates as you type; press Calculate to confirm and jump to the result on mobile. Use Share to send the calculator with your result.

Matrix operations

  • Determinant: computed by Gaussian elimination with partial pivoting. A matrix is invertible only if its determinant isn’t 0.
  • Inverse: Gauss–Jordan elimination on [A | I]. A × A⁻¹ = I.
  • Multiplication: entry (i, j) of A × B is row i of A dotted with column j of B, so A’s columns must equal B’s rows. A × B usually differs from B × A.

Results are floating-point; values within 10⁻¹² of zero are shown as 0.

Frequently asked questions

How do you find the determinant of a 2×2 matrix?

For [[a, b], [c, d]] it’s ad − bc.

About this tool

Written by
[Author: to be assigned]
Reviewed by
Formula tests passed · human review pending
Last updated
31 Oct 2026

See our methodology and editorial policy. Think something’s off? Report an error with this tool.

Live

Percentage Calculator

Find a percentage of a number, what percent one number is of another, or the whole from a part.

Arithmetic & Algebra
Live

Factor Calculator

List every factor of a whole number, its factor pairs and its prime factorization.

Arithmetic & Algebra
Live

Volume Calculator

Calculate the volume of a cube, box, cylinder, sphere, cone or pyramid in any unit, with liters and gallons.

Arithmetic & Algebra
Live

GCF Calculator

Find the greatest common factor (GCF) of two or more whole numbers, with the Euclidean steps and the LCM.

Arithmetic & Algebra
Live

Exponent Calculator

Raise any number to a power, including negative and fractional exponents.

Arithmetic & Algebra