Enter numbers or fractions in the grid. Get inverse, determinant, and identity check instantly here. Download CSV or PDF, then reuse inputs anytime easily.
| 1 | 2 | 3 | 4 |
| 0 | 1 | 4 | 2 |
| 5 | 2 | 1 | 0 |
| 2 | 3 | 0 | 1 |
| 13/98 | -8/49 | 25/98 | -10/49 |
| -12/49 | 11/49 | -8/49 | 26/49 |
| -17/98 | 18/49 | 5/98 | -2/49 |
| 23/49 | -17/49 | -1/49 | -9/49 |
A square matrix is invertible only when its determinant is nonzero: det(A) ≠ 0.
One classic relationship is: A-1 = adj(A) / det(A). For a 4×4 matrix, computing adj(A) directly is lengthy, so this calculator uses Gauss–Jordan elimination.
Gauss–Jordan works by augmenting the matrix: [A | I] and applying row operations until it becomes [I | A-1]. Partial pivoting improves numerical stability.
Only 4×4 square matrices with a nonzero determinant are invertible. If det(A) equals zero, no matrix exists that can multiply A to produce the identity matrix.
If the determinant is extremely small, the matrix behaves like singular in floating-point arithmetic. Tiny changes in inputs can cause huge changes in the inverse. Try higher precision or recheck your values.
Yes. Type fractions as numerator/denominator, including negatives. The calculator converts them to numeric values, then computes the inverse normally.
After computing A-1, the calculator multiplies A·A-1 and compares it to the identity matrix. The largest absolute difference is reported as the max identity error.
The determinant is computed using LU-style elimination with partial pivoting. This avoids the heavy expansion-by-minors approach and generally behaves better for real-world numeric inputs.
Tolerance controls when a pivot is treated as “too small,” which affects stability. A tiny pivot can amplify rounding errors. Keep it small for clean inputs, or raise it slightly for noisy data.
They show snapshots of the augmented matrix [A | I] after each key row operation: swaps, scaling a pivot row, and eliminating entries above and below pivots.
Downloads are generated from the most recent successful calculation stored in your session. If you refresh or open the page in a new session, compute again to enable downloads.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.