Is It a Right Triangle? Calculator

Enter three side lengths to check if they form a right triangle using the Pythagorean theorem.

Enter Three Side Lengths

Enter the lengths in any order. The calculator will automatically identify the longest side as the potential hypotenuse.

Result

Verdict
YES - Right Triangle!
Hypotenuse (longest side) 5
a² + b² 25
25
Difference 0
Triangle Type Right
Area 6
Perimeter 12

Step-by-Step Verification

a² + b² = c²

Understanding the Pythagorean Theorem

The Pythagorean theorem states that in a right triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides: a² + b² = c². This theorem, attributed to the ancient Greek mathematician Pythagoras, is one of the most fundamental relationships in mathematics.

How the Check Works

Right Triangle (a² + b² = c²)

If the sum of squares of the two shorter sides equals the square of the longest side, it is a right triangle.

3² + 4² = 9 + 16 = 25 = 5²

Acute Triangle (a² + b² > c²)

If the sum is greater, the triangle is acute (all angles less than 90 degrees).

5² + 6² = 61 > 49 = 7²

Obtuse Triangle (a² + b² < c²)

If the sum is less, the triangle is obtuse (one angle greater than 90 degrees).

3² + 4² = 25 < 36 = 6²

Common Pythagorean Triples

A Pythagorean triple is a set of three positive integers (a, b, c) that satisfy a² + b² = c². Some well-known triples include:

  • (3, 4, 5) - The most basic triple. Multiples like (6, 8, 10) and (9, 12, 15) also work.
  • (5, 12, 13) - Another primitive triple.
  • (8, 15, 17) - A less common but valid triple.
  • (7, 24, 25) - A larger primitive triple.
  • (20, 21, 29) - Consecutive legs with a prime hypotenuse.

Triangle Inequality

Before checking for a right angle, the calculator verifies the triangle inequality: the sum of any two sides must be greater than the third side. If this condition fails, the three lengths cannot form any triangle at all.

Converse of the Pythagorean Theorem

The converse states: if a² + b² = c² for sides a, b, c of a triangle (where c is the longest), then the triangle must be a right triangle with the right angle opposite side c. This is what our calculator tests.

Practical Applications

  • Construction: The 3-4-5 method is used to verify right angles when laying foundations.
  • Navigation: Calculating distances using right-angle coordinates.
  • Architecture: Ensuring walls are perpendicular.
  • Physics: Resolving vectors into perpendicular components.