MFAYSAL.DEV

Matrix Calculator

Enter matrix A (and B for two-matrix operations), then choose an operation. Free, private and runs in your browser.

Your details

Result

Matrix multiplication

To multiply A × B, each entry of the result is the dot product of a row of A with a column of B. The number of columns in A must equal the number of rows in B, and the result has A's rows and B's columns. Matrix multiplication isn't commutative: A × B usually differs from B × A.

Determinant and inverse

For a 2×2 matrix [[a, b], [c, d]], the determinant is ad − bc and the inverse is (1/det) × [[d, −b], [−c, a]]. A matrix with determinant 0 is singular and has no inverse. Larger matrices are handled with Gaussian elimination. You can type fractions such as 1/3. This tool covers A-level Further Maths and first-year university linear algebra.

Frequently asked questions

Why can't I multiply my matrices?

The columns of A must equal the rows of B.

What does a determinant of zero mean?

The matrix is singular and cannot be inverted.

Stepshows working
0data sent
Exactwhere possible
Freeno sign-up

How to use the Matrix Calculator

  1. Enter your numbers.
  2. Choose the operation if needed.
  3. Read the answer and the working.
  4. Use the table below to check your understanding.

Why use this Matrix Calculator

100% in your browser

Nothing you enter is uploaded or stored.

Instant results

Updates as you type, no waiting.

Mobile friendly

Works on phones, tablets and desktops.

Light & dark mode

Follows your mfaysal.com theme.

Free, no account

No sign-up, no limits, no watermark.

Explained

Formulas, tables and sources on the page.

Matrix Calculator: chart and reference data

Multiplications for n×n matrix product – n³ with the schoolbook method
2×283×3274×4645×512510×101,000

Source: exact arithmetic

Matrix operations
OperationRequirementResult size
A + Bsame sizesame size
A × Bcolumns of A = rows of Brows A × cols B
Determinantsquaresingle number
Inversesquare, det ≠ 0same size

Matrix Calculator compared with the alternatives

How this free tool compares
OptionShows workingCostAvailability
This calculatorYesFreeAny device
Scientific calculatorNo£10–£20Needs the device
SpreadsheetWith formulasLicence or accountNeeds setup

Who uses it in the UK

  • GCSE and A-level revision
  • University and coursework grades
  • Electronics and science labs
  • Sports stats and health checks

More questions

Does it show the working?

Where it helps, yes – the result section explains the steps so you can check your homework or report.

Can I use it for GCSE or A-level revision?

Yes. It is a good way to check answers, but make sure you can do the method by hand, as calculators are not allowed in every exam paper.

How accurate is it?

It uses standard double-precision arithmetic, accurate to about 15 significant figures. Results are rounded only for display.

Is my data stored?

No. Everything is calculated in your browser.

✨ New: Remove the background from any image free – private, in your browser, transparent PNG.

Related free tools

Browse all 102 free tools →

Note: This free tool runs entirely in your browser. No data is sent or stored. Results are for information only.