The Two Shorter Sides in a Right Triangle: Legs Guide

The two shorter sides in a right triangle are called the legs — the two sides that meet at the 90° angle and form its arms. The longest side, opposite the right angle, is the hypotenuse. In the Pythagorean theorem, the legs are the two squared terms that add together to equal the square of the hypotenuse: a² + b² = c². That single definition and relationship is the core of everything below.
What Are the Two Legs?
A right triangle is any triangle containing one 90° interior angle. The two sides that create that angle are the legs. They are always the shorter pair, because the hypotenuse stretches across from the corner where the right angle sits.
The word “hypotenuse” comes from Greek roots meaning “stretching under,” a nod to how it lies beneath the right angle when the triangle is drawn in the usual orientation. The legs were historically called the “catheti” (singular: cathetus), though most modern textbooks simply say legs, or sometimes “the perpendicular sides.” The term “the two shorter sides in a right triangle” is a plain-language way of saying the same thing.
Each leg has a job in the triangle:
- One leg is often treated as the base.
- The other leg becomes the height (or altitude) relative to that base.
- Together they enclose the right angle and give the triangle its two perpendicular directions.
Because the legs are perpendicular, the area of a right triangle is simply half the product of the two legs: Area = ½ × leg₁ × leg₂. That shortcut only works because the legs meet at 90°.
Identifying the Legs
Finding the legs is usually easy, but orientation can trick the eye. A right triangle can be rotated any way — flat, tilted, even upside down — and the legs remain the sides adjacent to the right angle.
The most reliable method is to locate the little square symbol (or the corner that visibly forms a 90° angle). The two sides touching that corner are the legs. The third side, which never touches the right angle, is the hypotenuse.
If the triangle is labeled, letters at the vertices tell the story. Suppose vertices are A, B, and C, and the right angle is at C. Then sides AC and BC are the legs, and side AB is the hypotenuse. You can confirm this with angles: the two acute angles (each less than 90°) sit at the ends of the hypotenuse, so the side opposite each acute angle is a leg.
Legs in the Pythagorean Theorem
The Pythagorean theorem states that for any right triangle, the sum of the squares of the legs equals the square of the hypotenuse. Written symbolically: a² + b² = c², where a and b are legs and c is the hypotenuse. The legs are the only two quantities squared and added; the hypotenuse is what you solve for (or, if missing, what the equation rearranges to isolate).
A short worked example: suppose the legs measure 3 and 4.
- 3² + 4² = 9 + 16 = 25
- c² = 25, so c = √25 = 5
This is the classic 3-4-5 triangle, one of the Pythagorean triples — whole-number leg-and-hypotenuse sets.
To find a missing leg, rearrange the formula. If the hypotenuse is 13 and one leg is 5:
- a² + 5² = 13²
- a² + 25 = 169
- a² = 144, so a = √144 = 12
Rearranging to isolate a leg means subtracting the known leg’s square from the hypotenuse’s square — never subtracting a leg from the hypotenuse directly, which is a frequent error. This process is used constantly in building and surveying, where a 3-4-5 layout helps square a corner; the Math Open Reference site covers these proofs and examples in detail.
Legs, Angles, and Ratios
Beyond lengths, the legs define the triangle’s trigonometric ratios. For an acute angle θ in a right triangle:
- Sine = opposite leg / hypotenuse
- Cosine = adjacent leg / hypotenuse
- Tangent = opposite leg / adjacent leg
The tangent ratio is the most leg-centric: it compares one leg to the other and equals the slope of the line along the hypotenuse. That is why tangent is used to compute slopes, ramps, and roof pitches.
This connects to real problems:
- Height: From a known distance (one leg) and an angle of elevation, you find the vertical height (the other leg) using tangent. Khan Academy walks through these elevation and depression setups.
- Distance: The distance between two points is the hypotenuse, so the horizontal and vertical separations are the legs.
- Slope: Grade is rise over run — literally leg over leg.
The sine and cosine ratios, meanwhile, come into play when the hypotenuse is known and you need a leg: multiply the hypotenuse by sine of the angle opposite the desired leg to find that leg.
Common Mistakes Involving the Legs
Several errors show up repeatedly, and each has a clear fix.
- Mixing up which side is the hypotenuse. The hypotenuse is always the longest side and never touches the right angle.
- Subtracting instead of adding when finding the hypotenuse. The legs are added in the theorem; only when solving for a leg do you subtract.
- Forgetting the square root. After computing c² or a², you must take the square root to get a length.
- Assuming the legs are equal. Only an isosceles right triangle has equal legs. In general they differ.
- Using trigonometry with the wrong side. In sine and cosine, the “opposite” and “adjacent” legs swap depending on which acute angle you are referencing.
A quick check helps catch these: the hypotenuse must be longer than either leg, and the square of the hypotenuse must exceed the square of either leg individually.
Measuring Legs in the Real World
In practice you rarely measure a hypotenuse directly. Surveyors pace off two perpendicular distances — a north-south leg and an east-west leg — then compute the straight-line distance as the hypotenuse. A plot that is 30 meters north and 40 meters east lies 50 meters from the starting corner, since 30-40-50 is a multiple of 3-4-5.
Carpenters use the same logic to check a right angle in a frame. Measuring 3 feet along one leg, 4 feet along the other, and confirming a 5-foot diagonal guarantees a true square corner, because those leg lengths force the 90° angle. Substituting the actual site dimensions keeps the check honest on any scale.
Navigation relies on leg separation too. A boat traveling 9 nautical miles north and 12 nautical miles east has covered 15 nautical miles in a straight line, again a scaled triple. Inclined planes and ramps use tangent of the leg ratio to report grade, and television and photography framing often use the diagonal (the hypotenuse) of a rectangle whose width and height are the legs.
Key Takeaways
- The two shorter sides of a right triangle are the legs, defined as the pair forming the 90° angle.
- The hypotenuse is the longest side and always sits opposite the right angle.
- The Pythagorean theorem uses the legs as the squared terms: a² + b² = c².
- To find a missing leg, subtract the known leg’s square from the hypotenuse’s square, then take the square root.
- Leg lengths define the sine, cosine, and tangent ratios, which underpin slope, height, and distance problems.
- The 3-4-5 triangle is the classic Pythagorean triple; multiples of it scale to any size.