Enter dimensions and matrix entries
Enter the 2×2 matrix [[1,2],[3,4]] and verify that its determinant is −2.
Calculate determinants, inverses, transposes, RREF, matrix arithmetic and solve Ax = b.
Type values directly into the matrix grid. Use Tab or arrow keys to move between cells. Determinant and inverse require a square matrix; multiplication requires compatible dimensions.
The RREF and linear-system functions use numerical row reduction, so very ill-conditioned matrices can accumulate floating-point error.
A 2×2 determinant ad−bc helps indicate whether a square matrix is invertible.

Enter the 2×2 matrix [[1,2],[3,4]] and verify that its determinant is −2.
Calculate a determinant or solve a linear system.
A singular matrix does not have an inverse.
Enter the 2×2 matrix [[1,2],[3,4]] and verify that its determinant is −2.
For the 2×2 matrix [[1,2],[2,4]], the determinant is 1×4−2×2=0. Its rows are dependent, so it has no ordinary inverse.
Use the real tool above to verify the result. The example illustrates the workflow, not a guaranteed outcome.
For the 2×2 matrix [[1,2],[2,4]], the determinant is 1×4−2×2=0. Its rows are dependent, so it has no ordinary inverse.
Matrix multiplication is order-sensitive and may require matching dimensions. A determinant applies only to a square matrix.
A 2×2 determinant ad−bc helps indicate whether a square matrix is invertible.
A 2×2 determinant ad−bc helps indicate whether a square matrix is invertible.
Enter the 2×2 matrix [[1,2],[3,4]] and verify that its determinant is −2.
For the 2×2 matrix [[1,2],[2,4]], the determinant is 1×4−2×2=0. Its rows are dependent, so it has no ordinary inverse.
A matrix has rows and columns; a 2×3 matrix cannot be added to a 3×2 matrix because the corresponding entries do not line up. Multiplying a 2×3 matrix by a 3×2 matrix is possible and produces a 2×2 result. In general, the inside dimensions must match: an m×n matrix multiplied by an n×p matrix yields m×p. Choose the operation before entering the entries so that the matrix size controls match the intended mathematical task. Matrix multiplication is not element-by-element multiplication in ordinary linear algebra.
For a determinant example, take A = [[1,2],[3,4]]. Its determinant is 1×4 − 2×3 = −2. If the page shows a determinant operation, this number is a convenient test fixture. The inverse of A exists because the determinant is not zero. A singular matrix, such as [[1,2],[2,4]], has determinant zero and no ordinary inverse. If a solver presents an error about singularity, verify the rows are not linearly dependent before assuming the operation failed.
The linear system x + 2y = 5 and 3x + 4y = 11 can be written A·v = b, with coefficient matrix A=[[1,2],[3,4]], vector v=[x,y] and b=[5,11]. Its solution is x=1 and y=2. This illustrates why the coefficient rows and right-hand-side entries must be kept in the same equation order. Swapping just one right-hand-side entry changes the problem. If the interface includes a vector entry area, inspect it separately from matrices A and B.
For any computed solution, multiply the original coefficient matrix by the proposed solution vector and compare against the original right-hand side. For a matrix product, calculate at least one entry by a manual row-by-column dot product. A result with the correct dimensions can still contain wrong values if an input cell was misplaced. When values represent measurements, note that numerical rounding may amplify uncertainty for nearly singular matrices.
Matrix calculations may use finite-precision arithmetic, and rounding can affect results with large differences in scale. A displayed zero such as 0.0000 may represent a very small floating-point number rather than exact mathematical zero. Determinants of large matrices are particularly sensitive to scaling; an inverse is better checked by multiplying A by the reported inverse and comparing with the identity matrix. Label matrices clearly before exporting or copying, because a bare grid of numbers does not reveal which operation produced it.
The transpose of a matrix exchanges its rows and columns; it does not generally undo the matrix's effect. For A=[[1,2],[3,4]], the transpose is [[1,3],[2,4]], but that is not A's inverse. The true inverse of this example is [[−2,1],[1.5,−0.5]]. Multiplying A by that inverse gives the identity matrix. A matrix editor can make transpose, inverse and determinant buttons appear adjacent even though they have very different meanings. Check the selected operation and whether the displayed answer is a scalar, a vector or a matrix.
For matrix A = [[1,2],[3,4]], the determinant is 1×4−2×3 = −2, so the matrix is invertible. Swapping the two rows changes the determinant's sign, while repeating a row makes the determinant zero. These small examples help catch row-order and transcription mistakes before submitting larger matrices. Matrix multiplication depends on dimensions: a 2×3 matrix times a 3×2 matrix is defined, but two arbitrary 2×3 matrices cannot be multiplied in that order. If the page supports row-reduced echelon form, read pivots to understand rank rather than assuming every system has one unique solution.
For a small system 2x+y=5 and x−y=1, solving yields x=2 and y=1. Substituting those values into both original equations is a practical check when a matrix solver reports a vector answer. If the coefficient matrix is nearly singular, rounded floating-point output can vary with precision. Always distinguish the exact rank of a symbolic matrix from a numerical estimate made with a tolerance.
For a square matrix, it is singular and has no ordinary inverse.
No. Even when both products are defined, matrix multiplication is generally not commutative.
Multiply the input matrix by the proposed inverse; the product should be the identity matrix within numerical precision.
Rank and consistency determine the solution set. A system can have no solution, one solution or infinitely many.