2 × 2 matrix determinant

Calculate 2 × 2 matrix determinant with clear inputs and assumptions.

Calculate 2 × 2 matrix determinant with clear inputs and assumptions.

Both dots and commas are accepted as decimal separators.

Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.

Method and assumptions

Method version 1.0.0 · Updated

Calculate

Formula: Calculate 2 × 2 matrix determinant with clear inputs and assumptions.

Calculate 2 × 2 matrix determinant with clear inputs and assumptions.

a
a₁₁
b
a₁₂
c
a₂₁
d
a₂₂

Results are estimates where noted and depend on the entered assumptions.

Calculate with code

These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.

JavaScript
const [[a, b], [c, d]] = [[3, 8], [4, 6]];
console.log(a * d - b * c); // -14
TypeScript
const [[a, b], [c, d]]: number[][] = [[3, 8], [4, 6]];
console.log(a * d - b * c); // -14
Python
a, b, c, d = 3, 8, 4, 6
print(a*d - b*c)  # -14
Java
int a=3, b=8, c=4, d=6;
System.out.println(a*d - b*c); // -14
C#
int a=3, b=8, c=4, d=6;
Console.WriteLine(a*d - b*c); // -14