
Matrix Inverse Calculator
Use this matrix inverse calculator to find the inverse matrix of any nonsingular 2x2 array in row order using the 1/(ad-bc) adjugate formula in your browser.
Open toolEnter four real numbers in 2 × 2 row order (a, b, c, d) into this determinant calculator to evaluate det(A) = ad - bc in your browser. It supports integers, decimals, negative values, and scientific notation up to 1 billion in magnitude, formats output to 12 significant digits, and lets you copy or download the scalar result.
Enter the inputs, then select Calculate result.
Result will appear here
The Matrix Determinant Calculator reads four numbers entered in row-major order as the 2 × 2 square array with top row (a, b) and bottom row (c, d), then subtracts the anti-diagonal product from the main-diagonal product.
det(A) = ad - bc, where row 1 is [a, b] and row 2 is [c, d].
Where a (row 1, column 1) and d (row 2, column 2) form the main diagonal, and b (row 1, column 2) and c (row 2, column 1) form the anti-diagonal. Understanding how to calculate determinant of 2x2 matrix values also tells you immediately whether A is invertible: when ad - bc ≠ 0, the inverse A⁻¹ = (1 / (ad - bc)) × [d, -b; -c, a] exists.
Use these 10 standard 2 × 2 matrices to verify your row-order input, check diagonal products ad and bc, and see how the determinant behaves across identity, scaling, rotation, reflection, shear, and singular matrices.
| Matrix Type / Scenario | Row-Order Input (a, b, c, d) | Diagonal Products (ad - bc) | Determinant det(A) | Geometric / Algebraic Meaning |
|---|---|---|---|---|
| Preloaded baseline matrix | 1, 2, 3, 4 | (1)(4) - (2)(3) = 4 - 6 | -2 | Invertible; scales area by 2× and flips orientation |
| 2 × 2 identity matrix (I₂) | 1, 0, 0, 1 | (1)(1) - (0)(0) = 1 - 0 | 1 | Unit area preserved (1×); orientation unchanged |
| Singular matrix (proportional rows) | 2, 4, 3, 6 | (2)(6) - (4)(3) = 12 - 12 | 0 | Non-invertible; collapses 2D plane onto a 1D line |
| Reflection across line y = x | 0, 1, 1, 0 | (0)(0) - (1)(1) = 0 - 1 | -1 | Area preserved (1×); reverses coordinate orientation |
| 90° counterclockwise rotation | 0, -1, 1, 0 | (0)(0) - (-1)(1) = 0 - (-1) | 1 | Rigid rotation; preserves both area and orientation |
| Uniform 3× isotropic scaling | 3, 0, 0, 3 | (3)(3) - (0)(0) = 9 - 0 | 9 | Linear scale ×3 expands 2D area by 3² = 9× |
| Horizontal shear (k = 2) | 1, 2, 0, 1 | (1)(1) - (2)(0) = 1 - 0 | 1 | Cavalieri shear; base and height stay 1 so area stays 1 |
| Negative-entry matrix | -3, 5, 2, -4 | (-3)(-4) - (5)(2) = 12 - 10 | 2 | Invertible; positive determinant despite negative diagonal |
| Decimal stiffness matrix | 2.5, 1.2, 0.5, 3.2 | (2.5)(3.2) - (1.2)(0.5) = 8 - 0.6 | 7.4 | Nonsingular symmetric coupling matrix |
| Cramer's rule system matrix | 2, 1, 1, -1 | (2)(-1) - (1)(1) = -2 - 1 | -3 | Nonzero system denominator D = -3 gives a unique solution |
Follow these three steps to format your 2 × 2 matrix in row order, validate the four numeric entries, and export the computed determinant.
Paste four numbers (a, b, c, d) into First 2 × 2 matrix, row order, separated by commas, spaces, or newlines. The workspace preloads 1, 2, 3, 4 for immediate testing.
Confirm that your input contains exactly four finite real numbers, each with an absolute value up to 10⁹. Standard decimals (2.5), negative values (-4), and scientific notation (1.5e3) work directly.
Click Calculate result to evaluate ad - bc in your browser, then select Copy or Download (result.txt) from the result panel to save the value for homework or engineering notes.
These three worked scenarios show how the determinant calculator tests matrix invertibility, measures 2D area scaling, and supplies the denominator for Cramer's rule.
For a 2 × 2 matrix with top row (1, 2) and bottom row (3, 4), the main-diagonal product is 1 × 4 = 4 and the anti-diagonal product is 2 × 3 = 6, yielding det(A) = 4 - 6 = -2. Because det(A) ≠ 0, the matrix is invertible and you can pass 1, 2, 3, 4 directly into the Matrix Inverse Calculator to obtain A⁻¹ with entries -2, 1, 1.5, -0.5.
![Invertibility check for the preloaded 2x2 matrix [1, 2; 3, 4] yielding det(A) = -2.](/tools/assets/detail-illustrations/families/math/use-case-1-v1.webp)
A 2 × 2 matrix whose rows are the vectors u = (4, 1) and v = (2, 3) spans a parallelogram in the xy-plane. Entering 4, 1, 2, 3 returns 4(3) - 1(2) = 10, meaning the parallelogram has an area of 10 square units and v lies counterclockwise from u. Swapping the rows to 2, 3, 4, 1 flips the sign to -10 while keeping the area magnitude at 10.

To solve the linear system 2x + y = 5 and x - y = 1, first find the coefficient determinant D by entering 2, 1, 1, -1, which gives (2)(-1) - (1)(1) = -3. Replacing the x-column with the constants (5, 1) gives 5, 1, 1, -1 (Dx = -6), and replacing the y-column gives 2, 5, 1, 1 (Dy = -3), so x = -6 / -3 = 2 and y = -3 / -3 = 1, matching the System of Equations Solver.
![Cramer's rule 2x2 linear system denominator D = -3 from coefficient matrix [2, 1; 1, -1].](/tools/assets/detail-illustrations/families/math/use-case-3-v1.webp)
Every scalar returned by this determinant calculator encodes two geometric facts about the 2 × 2 linear transformation T(x) = Ax:
Invertibility and rank (det(A) = 0 vs. det(A) ≠ 0): When det(A) = 0, the second row is a scalar multiple of the first row, the matrix has rank < 2, and the transformation squashes the entire 2D plane onto a line or the origin. No inverse matrix exists. When det(A) ≠ 0, the rows and columns are linearly independent (full rank 2).
Area scaling (|det(A)|) and orientation (sgn(det(A))): Any region in R² with area S maps to a transformed region with area |det(A)| · S. A positive determinant (det(A) > 0) means the basis vectors keep their right-handed counterclockwise orientation; a negative determinant (det(A) < 0) means the transformation includes a reflection that reverses orientation. Outputs are rounded to up to 12 significant digits (toPrecision(12)), and IEEE 754 -0 is normalized to 0.

Before using the output in coursework, finite-element stiffness checks, or graphics pipelines, note these validation rules enforced by the workspace:
Strict 2 × 2 row-major scope: The input parser (matrix4) requires exactly 4 numeric tokens. Entering 3 values or 9 values (such as a 3 × 3 matrix) halts execution with 'Supply exactly four entries in 2 × 2 row order.' Each entry must be a finite real number with |x| ≤ 10⁹ (1,000,000,000).
Chain your linear algebra calculations: After checking det(A), compute A⁻¹ with the Matrix Inverse Calculator, multiply two 2 × 2 matrices with the Matrix Multiplication Calculator, or solve Ax = b directly in the System of Equations Solver.


Use this matrix inverse calculator to find the inverse matrix of any nonsingular 2x2 array in row order using the 1/(ad-bc) adjugate formula in your browser.
Open tool
Use this matrix multiplication calculator to multiply two 2x2 matrices in row order using row-by-column dot products, with 10 worked examples and instant copy.
Open tool
Use this free system of equations solver to solve two linear equations (ax + by = c, dx + ey = f) for x and y using Cramer's rule, elimination, and matrices.
Open toolChoose another tool for your next calculation, conversion, or text task.

Use this free cross product calculator to find the right-handed 3D vector product a × b = (yw - zv, zu - xw, xv - yu) for physics torque and surface normals.
Open tool
Use this dot product calculator and vector dot product calculator to compute the scalar product of two 3D or 2D vectors (x·u + y·v + z·w) in your browser.
Open tool
Calculate the Euclidean length of any 2D or 3D vector with our free vector magnitude calculator. Enter X, Y, and Z components for instant, exact results.
Open toolUse this free quadratic equation solver to solve ax² + bx + c = 0 for real, repeated, or complex roots (a ± bi) and discriminant Δ = b² − 4ac in one click.
Open toolAnswers about using Determinant Calculator and understanding its results.
Multiply the top-left element (a) by the bottom-right element (d), then subtract the product of the top-right element (b) and the bottom-left element (c): det(A) = ad - bc. For example, a matrix with row 1 equal to (5, 2) and row 2 equal to (3, 4) has determinant (5 × 4) - (2 × 3) = 14.
Type the four numbers in row order (a, b, c, d), where the first two numbers are row 1 and the last two numbers are row 2. You can separate them with commas (1, 2, 3, 4), spaces (1 2 3 4), or a line break between the two rows.
A determinant of 0 means the matrix is singular (non-invertible). Its rows and columns are linearly dependent, the 2D transformation collapses area to zero, and a linear system Ax = b has either no solution or infinitely many solutions rather than a unique intersection.
Yes. A negative determinant (det(A) < 0) means the linear transformation flips the orientation of the coordinate plane (like a mirror reflection). The actual area scaling factor is the absolute value |det(A)|; for example, det(A) = -2 scales 2D areas by a factor of 2 while reversing orientation.
This calculator evaluates 2 × 2 matrices (4 entries). To calculate the determinant of a 3 × 3 matrix by hand, use Laplace cofactor expansion along the first row (det(A) = a(ei - fh) - b(di - fg) + c(dh - eg)), which breaks the 3 × 3 matrix into three 2 × 2 determinants that you can each evaluate here.
Yes. The Determinant Calculator runs 100% locally in your browser's JavaScript engine. No matrix values or outputs are sent to any external server, and no account or sign-up is required.
Choose another tool for your next calculation, conversion, or text task.