The hypotenuse is the side opposite the right angle in a right triangle. In Euclidean geometry, it is always the triangle’s longest side. The other two sides, which meet at the right angle, are called the legs or catheti. The term identifies a side by its relationship to the right angle, not by whether it appears sloping, horizontal, or vertical in a diagram.
Length and the Pythagorean theorem
If the legs have lengths and , and the hypotenuse has length , the Pythagorean theorem states that
Consequently,
For example, a right triangle with legs of lengths and has a hypotenuse of length , because .
Conversely, if the side lengths of a triangle satisfy , the angle opposite the side of length is a right angle. This provides a way to recognize right triangles from their side lengths.
For a nondegenerate right triangle, both legs have positive length, so
The first inequality expresses that the hypotenuse is longer than either leg; the second is an instance of the triangle inequality.
Role in trigonometry
In right-triangle trigonometry, the hypotenuse is the denominator in the ratios defining sine and cosine. If is an acute angle, is the length of the leg opposite it, and is the length of the adjacent leg, then
Thus, a known hypotenuse and one acute angle determine both leg lengths:
The hypotenuse remains the same when the reference angle changes from one acute angle to the other, whereas the labels “opposite” and “adjacent” switch between the legs. These relationships connect side lengths with trigonometric functions and underlie many calculations in surveying, navigation, and construction.
Two familiar special cases are:
- An isosceles right triangle: if each leg has length , the hypotenuse has length .
- A –– triangle: the hypotenuse is twice the shorter leg.
Circle and altitude relationships
Every Euclidean right triangle can be inscribed in a circle whose diameter is its hypotenuse. Equivalently, an angle subtended by a diameter at any other point on the circle is a right angle, a result commonly called Thales’s theorem.
It follows that the midpoint of the hypotenuse is equidistant from all three vertices. If the hypotenuse has length , the circumradius and the length of the median drawn from the right-angle vertex are both .
The perpendicular from the right-angle vertex to the hypotenuse divides the original triangle into two smaller right triangles, each similar to the original. Let its length be , and let it divide the hypotenuse into segments of lengths and , with adjacent to the leg of length . Then
Comparing the two expressions for the triangle’s area also gives
Coordinates and computation
In a Cartesian coordinate system, the horizontal and vertical differences between two points form the legs of a right triangle. Their straight-line separation is therefore the hypotenuse:
This is the two-dimensional formula for Euclidean distance.
In floating-point arithmetic, directly evaluating can cause intermediate overflow or underflow even when the final result is representable. For finite inputs, a useful scaled form is
where and . If both inputs are zero, the result is zero. Mathematical software commonly provides a dedicated hypot function that uses scaling and additional numerical safeguards.
Scope of the term
A hypotenuse belongs specifically to a right triangle; the longest side of an arbitrary triangle is not necessarily a hypotenuse. Although the side opposite a right angle may also be called a hypotenuse in non-Euclidean geometry, its length does not generally satisfy the Euclidean Pythagorean formula. The familiar length relationships therefore depend on the geometry in which the triangle is defined.