NumberPath
Preparing offline
Algebra & graphingFree calculatorPreparing offline

Matrix and Linear Algebra Calculator

Bounded matrix arithmetic, determinant, inverse, rank, row reduction, linear-system solution, and real 2×2 eigenvalues.

Your inputs

Commas/spaces separate entries; up to 4×4.

Needed for add, multiply, or solve

1–4 rows and columns, real finite entries with magnitude at most 10¹². Inverse/solve require a nonsingular square matrix; solve B must be a column vector. Eigenvalue mode supports real 2×2 eigenvalues. Pivot tolerance is relative and double precision can affect ill-conditioned results.

Your calculation

Result

—

Enter your inputs to see the result and working.

No account. Inputs stay in your browser.

How to use this calculator

Enter rows on separate lines or separated by semicolons; separate numbers with commas or spaces. Choose an operation. B is required for addition, multiplication, and Ax=b.

Formula and method

Matrix product Cᵢⱼ=Σₖ AᵢₖBₖⱼ. Determinant/inverse/rank/RREF use pivoted elimination. Eigenvalues of 2×2 A solve λ²−tr(A)λ+det(A)=0.

Worked example

For A=[1,2;3,4], det(A)=−2 and eigenvalues are about −0.372281 and 5.372281.

Assumptions and supported scope

1–4 rows and columns, real finite entries with magnitude at most 10¹². Inverse/solve require a nonsingular square matrix; solve B must be a column vector. Eigenvalue mode supports real 2×2 eigenvalues. Pivot tolerance is relative and double precision can affect ill-conditioned results.

Method references

Method and worked example checked against the calculator implementation. About our methods · Report a correction

Keep exploring

Try another calculator with clear working.

Attendance and Absence Calculator →

Saved calculations

Stored in this browser on this device. Browser data removal also removes these saves.

Keep NumberPath handy

Open this website in a browser that supports installation. If an install option is available, use its address-bar or browser-menu control.

iPhone or iPad: open the Share menu and choose Add to Home Screen. Installation options depend on your browser.

When the header says Offline ready, the app shell has been cached. Calculators you open online are saved for offline use until the next app update. Saved inputs remain in this browser. Installation varies by browser; it has not been tested on every device.