Matrix Solver (2x2, 3x3)

Calculate the determinant and inverse of 2x2 and 3x3 matrices.

Save

Inputs

Your values stay on this device.

Results

Determinant
Inverse Matrix[-1.667, 0.667; 1.333, -0.333]

Report

Export and share

Document

Copy and share

Assumptions

  • This tool only supports square 2x2 and 3x3 matrices.
  • All matrix entries should be finite numeric values.
  • An inverse exists only when the determinant is non-zero.

Sensitivity preview

a11 -10%: Determinant -3.5

a11 Current: Determinant -3

a11 +10%: Determinant -2.5

Related Tools

View All

About this Matrix Calculator

Matrices are grids of numbers used to solve systems of linear equations, transform geometric shapes, and model complex systems in physics and engineering. This calculator handles the two most common operations for square matrices: finding the Determinant and the Inverse.

Who this calculator is for

  • Students studying linear algebra, determinants, and inverse matrices.
  • Anyone checking whether a 2x2 or 3x3 system matrix is invertible.
  • Users solving small matrix problems for engineering, graphics, or coordinate transforms.

When to use it

  • Find the determinant to test whether a matrix is singular.
  • Compute an inverse matrix for a solvable 2x2 or 3x3 system.
  • Sanity-check homework, notes, or quick matrix setups without doing the arithmetic by hand.

How to use this calculator

  1. Select the Size (2x2 or 3x3).
  2. Enter the values for each cell in the grid (a11, a12, etc.).
  3. The tool calculates the Determinant.
  4. If the Determinant is non-zero, it calculates the Inverse Matrix.

Key assumptions

  • This tool only supports square 2x2 and 3x3 matrices.
  • All matrix entries should be finite numeric values.
  • An inverse exists only when the determinant is non-zero.

Accuracy and testing

Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.

View accuracy page

How this calculator works

1. Determinant (det): A scalar value that describes the scaling factor of the matrix transformation. If det=0, the matrix has no inverse (singular). 2. Inverse ($A^{-1}$): A matrix that, when multiplied by the original matrix, results in the Identity Matrix. It is calculated using the adjugate matrix divided by the determinant.

Inputs explained

Size

Dimensions of the matrix (Rows x Columns).

Elements (a_ij)

The number at row 'i' and column 'j'.

Understanding your results

The Determinant tells you if a unique solution exists for a system of equations. When the determinant is non-zero, the Inverse Matrix can be used to reverse the transformation applied by the original matrix.

Example scenarios

Identity Matrix

2x2 Matrix [1, 0; 0, 1]. Determinant = 1. Inverse = Same.

Singular Matrix

2x2 Matrix [1, 1; 2, 2]. Determinant = 0. No Inverse exists.

Key Features

  • 2x2 and 3x3 Support
  • Determinant Calculation
  • Inverse Matrix Output

Tips & Best Practices

  • A matrix with a determinant of zero is called 'Singular' and cannot be inverted.
  • Used heavily in computer graphics for rotation and scaling.

Glossary of Terms

Matrix
A rectangular array of numbers.
Identity Matrix
A square matrix with 1s on the main diagonal and 0s elsewhere.
Singular
A matrix that does not have an inverse.

Frequently Asked Questions

How do you find the determinant of a 2x2?
For matrix [[a, b], [c, d]], the determinant is (ad - bc).
Why is the inverse useful?
It allows you to solve matrix equations of the form Ax = B by computing x = A⁻¹B.
Does every matrix have an inverse?
No. Only square matrices with a non-zero determinant have an inverse.