Right Triangle: Parts, Legs and Hypotenuse

How to recognize a right triangle, name its legs, hypotenuse and angles, and find the hypotenuse however the triangle is turned or wherever it is hiding.

By the PythagoreanTheorem.net teamUpdated 8 min read

A right triangle (also called a right-angled triangle) is a triangle with one angle of exactly 90°. The two sides that form the right angle are the legs, and the side opposite the right angle is the hypotenuse, which is always the longest side. The other two angles are acute and add up to 90°.

Being able to recognize these parts quickly, in any position, is the skill everything else depends on. The Pythagorean theorem, trigonometry and the distance formula all start with the same question: which side is the hypotenuse?

Parts of a right triangle

∠A∠BCBA90°alegblegchypotenuseFacts that never change• one angle is 90°• ∠A + ∠B = 90°• c is opposite theright angle• c is the longest side
The standard labels: right angle at C, legs a and b, hypotenuse c across from the right angle, and acute angles at A and B.
Right angle
An angle of exactly 90°, a "square corner" like the corner of a sheet of paper. Diagrams mark it with a small square instead of an arc. A triangle can have at most one.
Legs
The two sides that meet at the right angle, usually called a and b. They are perpendicular to each other, so either one can serve as the base and the other as the height.
Hypotenuse
The side opposite the right angle, usually called c. It is the only side that does not touch the right angle, and it is always the longest. See the hypotenuse page for how to calculate it.
Acute angles
The two other angles, each less than 90°. Together they make exactly 90°.
Vertices
The three corners, named with capital letters. By convention the right angle is at C, and each side takes the lowercase letter of the corner across from it.
Opposite and adjacent
Words used in trigonometry. Seen from angle A, leg a is the opposite side and leg b is the adjacent side; from angle B the roles swap. The hypotenuse is the hypotenuse from both.

How to recognize a right triangle

A triangle that looks right-angled may be 88° or 93°. You need evidence. Any one of these is enough:

  • The right-angle mark. A small square in a corner means exactly 90°.
  • A stated angle. The problem says one angle is 90°, or gives two angles that add up to 90°. If two angles are 35° and 55°, the third is 180° − 35° − 55° = 90°.
  • Perpendicular lines. A wall meeting level ground, the corner of a rectangle, grid lines on graph paper or the axes of a coordinate plane.
  • The side lengths. If the squares of the two shorter sides add up to the square of the longest, the triangle is right-angled. Sides 6, 8 and 10 pass, because 36 + 64 = 100; sides 6, 8 and 11 do not, because 100 ≠ 121. This test is the converse of the Pythagorean theorem, and the right triangle checker runs it for you.
  • Slopes on a grid. Two sides are perpendicular when their slopes multiply to −1, for example slopes 2 and −1 over 2.

Finding the hypotenuse in any orientation

Textbooks love to turn, flip and stretch right triangles so that the hypotenuse is not the slanted side at the top right. The rule never changes: find the square corner, then look straight across it. The side you land on is the hypotenuse.

c1. standardc2. flippedc3. right angle on topc4. upside downc5. tiltedc6. long and thin
Six positions, one rule. In each triangle, start at the right-angle mark and look across: the side that does not touch the mark is the hypotenuse c.

Three quick checks help when a diagram is cluttered:

  • The hypotenuse never touches the right-angle square. Both legs do.
  • The hypotenuse is the longest side. If the side you picked is shorter than another side, you picked a leg.
  • Flipping a triangle over, like a page, does not change which side is which. A mirror image of a right triangle is still a right triangle with the same hypotenuse.

Why the hypotenuse is always the longest side

It is worth knowing why this is true, not just that it is. Picture swinging each leg around a corner until it lies along the hypotenuse:

PQCBAabcSwing each leg onto the hypotenuse:• leg a lands at P, short of A• leg b lands at Q, short of Bso a < c and b < c.• the two swung legs overlapbetween Q and P,so a + b > c.
Leg a swings around B and falls short of A; leg b swings around A and falls short of B. Each leg is shorter than c, but the two together overshoot it.

The picture suggests two facts. Here are short proofs of each.

Claim 1: c is longer than each leg.

Proof using angles. The angles of any triangle add up to 180°. The right angle uses 90°, so the other two share the remaining 90° and each is less than 90°. The right angle is therefore the largest angle. In every triangle the longest side lies opposite the largest angle (Euclid's Elements, Book I, Proposition 19), so the side opposite the right angle, the hypotenuse, is the longest.

Proof using the Pythagorean theorem. Since b > 0, we have c2 = a2 + b2 > a2. Both c and a are positive, so c > a. The same argument with the roles swapped gives c > b.

Claim 2: c is shorter than a + b.

Expand the square of the sum: (a + b)2 = a2 + 2ab + b2 = c2 + 2ab. Because 2ab > 0, (a + b)2 > c2, and so a + b > c. This is the triangle inequality, and it matches common sense: cutting across a corner is shorter than walking along both edges.

Together the two claims trap the hypotenuse: it is longer than the longer leg but shorter than the two legs combined. That makes a quick reasonableness check for any answer, used in how to do the Pythagorean theorem.

The two acute angles add up to 90°

Because the three angles of a triangle total 180° and the right angle takes 90°, the other two angles always add up to exactly 90°. Angles with this property are called complementary.

∠A + ∠B = 90°

So if you know one acute angle, you know the other: an angle of 35° comes with one of 55°, and an angle of 62.5° comes with one of 27.5°. In the 3-4-5 triangle the angles are about 36.87° and 53.13°, which add up to 90°. This also explains two facts that surprise some students: a right triangle cannot have an obtuse angle, and it cannot have a second right angle, because there is no room left in the 180°. Finding the angles from the sides uses trigonometry; see when to use the Pythagorean theorem or trig.

Area and perimeter of a right triangle

The legs make right triangles the easiest triangles to measure. Two copies of a right triangle fit together into a rectangle with sides a and b (as in the first shape in the figure further down), so the triangle has half its area:

Area = 1 over 2ab

The perimeter is the sum of the three sides, a + b + c. If you only know the legs, you need the theorem to find c first.

Example: legs 5 cm and 12 cm

Area: 1 over 2 × 5 × 12 = 30 cm². Hypotenuse: c = √25 + 144 = √169 = 13 cm. Perimeter: 5 + 12 + 13 = 30 cm.

Area 30 cm², perimeter 30 cm. The numbers match, though the units differ. Among right triangles with whole-number sides, only 5-12-13 and 6-8-10 have this property.

You can also measure area using the hypotenuse as the base. The height to the hypotenuse, h, then satisfies 1 over 2ch = 1 over 2ab, so h = ab over c. For the 5-12-13 triangle, h = 60/13 ≈ 4.62 cm. That height splits the triangle into two smaller right triangles, the subject of the geometric mean theorem.

Right triangles hiding in other shapes

Many problems do not show a right triangle at all; you have to find one. These are the most common hiding places:

rectanglesquareisoscelesrhombussemicircle
Draw one line and a right triangle appears. The shaded triangle in each shape has its hypotenuse in green.
  • Rectangles. A diagonal cuts a rectangle into two identical right triangles; the diagonal is their hypotenuse. This is how screen sizes and the diagonal of a rectangle are calculated.
  • Squares. A diagonal makes two isosceles right triangles with angles 45°, 45° and 90°.
  • Isosceles and equilateral triangles. The height from the top corner meets the base at 90° and cuts it in half, giving two right triangles. That is how you find the height of a triangle.
  • Rhombuses and kites. Their diagonals cross at right angles, cutting the shape into right triangles.
  • Semicircles. Any triangle drawn with a diameter as one side and its third corner on the circle has a right angle at that corner. This is Thales' theorem.
  • Coordinate grids. Moving across and then up between two points traces two legs; the straight line between the points is the hypotenuse. That is the distance formula.

Special right triangles

Three families of right triangles come up so often that it pays to know them by heart:

  • The 45-45-90 triangle: half a square, with sides in the ratio 1 : 1 : √2.
  • The 30-60-90 triangle: half an equilateral triangle, with sides in the ratio 1 : √3 : 2.
  • Pythagorean triples such as 3-4-5, 5-12-13 and 8-15-17: right triangles whose three sides are all whole numbers.

To solve any right triangle from two pieces of information, sides or angles, use the right triangle calculator.

Frequently asked questions

What is a right triangle?

A triangle with one angle of exactly 90°. The two sides forming that angle are the legs, and the side opposite it is the hypotenuse. The other two angles are acute and add up to 90°.

Which side of a right triangle is the hypotenuse?

The side opposite the right angle, the only side that does not touch the small square marking it. It is always the longest side, whichever way the triangle is turned.

Can a right triangle have two right angles?

No. Two 90° angles already add up to 180°, the total for all three angles, leaving nothing for the third angle. For the same reason a right triangle cannot have an obtuse angle.

Can a right triangle be isosceles or equilateral?

It can be isosceles: the 45-45-90 triangle has two equal legs. It can never be equilateral, because an equilateral triangle has three 60° angles. Most right triangles are scalene, with three different side lengths.

How do you find the area of a right triangle?

Multiply the two legs and halve the result: Area = 1 over 2ab. A right triangle with legs 8 and 15 has area 60. If you only know the hypotenuse and one leg, find the other leg with the Pythagorean theorem first.

Is a right triangle acute or obtuse?

Neither. Triangles are classified by their largest angle: all angles under 90° makes an acute triangle, one angle over 90° an obtuse triangle, and one angle of exactly 90° a right triangle. You can tell which from the side lengths alone; see acute, right or obtuse.

Keep exploring