MATH · FREE TOOL

Exact matrix calculator

Add, multiply, invert or row-reduce small matrices with exact rational arithmetic.

On-device processing · No account · No ads

Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.

Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.

See where data goes →

Your inputs

Local calculator controls

Preparing the local calculator. If controls stay inactive, reload this page.

Use the active fields and the stated conventions. Exact integer/fraction tools retain exact values; floating-point results are rounded for display. Calculations stay on this device.

YOUR RESULT

Your exact matrix result

Enter the active inputs, then choose Calculate. The method and limits are explained below.

How this calculation works

Matrices from 1×1 to 4×4. Separate cells with spaces or commas and rows with newlines. Cells accept integers, terminating decimals or simple fractions such as 1/2; mixed-number spaces are not supported. At most 30 integer digits and 12 decimal places per cell. Elimination uses exact rational arithmetic; singular inverse requests fail instead of returning unstable approximate inverses. Determinants and inverses require square matrices. No symbolic expressions, eigenvalues or large sparse matrices.

Reference: method and limitations. Method reviewed October 23, 2026.

Check the assumptions

Use the stated units and conventions. This tool supports the workflow described here; it does not infer missing information or outside rules.