The hypotenuse is the longest side of a right triangle: the side opposite the 90° angle. To find it, square the two shorter sides (the legs), add the squares and take the square root: c = √a2 + b2. For legs 3 and 4, the hypotenuse is √9 + 16 = √25 = 5.
What is the hypotenuse?
Every right triangle has one 90° angle, and its three sides have special names. The two sides that meet at the right angle are the legs, usually called a and b. The third side, the one that does not touch the right angle, is the hypotenuse, usually called c.
The easiest way to find it in a diagram: put your finger on the little square that marks the right angle, then look straight across the triangle. The side you are looking at is the hypotenuse. This works however the triangle is turned.
Only right triangles have a hypotenuse. In an acute or obtuse triangle no side is called the hypotenuse, and the Pythagorean theorem formula does not apply as written.
Where the word comes from
"Hypotenuse" comes from the Greek hypoteinousa, meaning "stretching under". Greek geometers, including Euclid, described this side as the line that subtends (stretches across from) the right angle. The word passed into Latin as hypotenusa and then into English. So the name itself tells you where to look: the side stretched across from the right angle.
Three facts that are always true
- It is opposite the right angle. That is the definition, so it never changes.
- It is the longest side. Because c2 = a2 + b2, the number c2 is bigger than a2 and bigger than b2 (you add a positive amount to each). A bigger square means a longer side, so c beats both legs.
- It is shorter than the two legs added together. Going straight across is always shorter than going around the corner, so c < a + b.
There is a fourth, more surprising fact. If you draw the circle that passes through all three corners of a right triangle, the hypotenuse is a diameter of that circle. Turn it around and you get a way to build right triangles: pick any point on a semicircle and join it to the two ends of the diameter. The angle at that point is always 90° (this is Thales' theorem).
The hypotenuse formula
The Pythagorean theorem says a2 + b2 = c2. Take the square root of both sides and you get the formula for the hypotenuse:
c = √a2 + b2- Square each leg. Multiply each leg by itself: a2 = a × a. Squaring is not doubling, so 82 = 64, not 16.
- Add the two squares. The total is c2, the area of the square drawn on the hypotenuse.
- Take the square root. Ask "what number times itself gives this?" That number is c. If the total is not a perfect square, leave the answer as a radical or round it.
Strictly, the equation c2 = 289 has two solutions, 17 and −17. A length can't be negative, so you keep only the positive root. That's why the formula uses √ , which always means the positive square root.
How to find the hypotenuse: five worked examples
The method never changes; only the numbers do. These examples move from whole numbers to radicals, decimals, mixed units and a real-world problem.
Example 1: whole-number legs
A right triangle has legs 8 cm and 15 cm. Find the hypotenuse.
c= √82 + 152= √64 + 225= √289 = 17The hypotenuse is 17 cm. Because all three sides are whole numbers, 8-15-17 is a Pythagorean triple.
Example 2: the answer is a radical
The legs are 4 and 6. Find the exact hypotenuse, then round it to the nearest hundredth.
c= √42 + 62 = √16 + 36 = √52= √4 · 13 = 2√13≈ 7.21Exact: 2√13. Rounded: 7.21. The step √52 = 2√13 pulls the perfect square 4 out of the root; the simplify square root calculator shows this for any number.
Example 3: decimal legs
The legs measure 3.2 m and 4.5 m. Find the hypotenuse to the nearest hundredth of a meter.
c= √3.22 + 4.52= √10.24 + 20.25= √30.49 ≈ 5.52The hypotenuse is about 5.52 m. Keep the full value of c2 (30.49) and round only once, at the very end.
Example 4: legs in different units
One leg is 18 inches and the other is 2 feet. Find the hypotenuse.
First convert so both legs use the same unit: 2 feet = 24 inches.
c= √182 + 242= √324 + 576= √900 = 30The hypotenuse is 30 inches, which is 2.5 feet. If you had plugged in 18 and 2 without converting, you would get √328 ≈ 18.1, a "hypotenuse" barely longer than one leg. That is a sign something went wrong.
Example 5: a shortcut across a park
A rectangular park is 120 m long and 50 m wide. How long is the diagonal path from one corner to the opposite corner, and how much shorter is it than walking along two edges?
The two edges and the diagonal form a right triangle, with the diagonal as the hypotenuse.
c= √1202 + 502= √14400 + 2500= √16900 = 130The diagonal path is 130 m. Walking around the edges is 120 + 50 = 170 m, so the shortcut saves 40 m.
For more practice, the hypotenuse worksheet has printable problems with an answer key, and the hypotenuse calculator checks your answers step by step.
Estimate before you calculate
A ten-second estimate catches most slips, such as forgetting the square root or typing a number wrong. Use these three checks:
- The hypotenuse is between the longer leg and the sum of the legs. For legs 9 and 40, c must be more than 40 and less than 49. (It is 41.)
- If the legs are equal, c is about 1.41 times a leg, because c = √2 a and √2 ≈ 1.414. This is the 45-45-90 triangle. Legs that are nearly equal behave almost the same way: for legs 20 and 21, expect about 1.41 × 20.5 ≈ 29. (It is exactly 29.)
- If one leg is much shorter than the other, c is only a little longer than the long leg. For legs 11 and 60, the hypotenuse is 61, just one more than the long leg.
If your answer is shorter than a leg, or longer than both legs added together, check your work before going on.
Finding the hypotenuse from one leg and an angle
Sometimes you know only one leg, plus one of the acute angles. The Pythagorean theorem needs two sides, so here you use trigonometry instead. In a right triangle with acute angle A:
sinA = opposite over hypotenuse = a over c cosA = adjacent over hypotenuse = b over cRearranging each one for c gives two hypotenuse formulas:
c = a over sinA c = b over cosAExample: one leg and an angle
Angle A is 35° and the leg opposite it is 7 cm. Find the hypotenuse.
c= 7 over sin35°≈ 7 over 0.5736≈ 12.20The hypotenuse is about 12.20 cm. If instead you knew the adjacent leg, say b = 10 with A = 40°, you would use cosine: c = 10 ÷ cos40° ≈ 13.05.
Make sure your calculator is in degree mode. Two special triangles skip the calculator entirely: in a 45-45-90 triangle the hypotenuse is a leg times √2, and in a 30-60-90 triangle it is exactly twice the shortest leg. To decide which tool a problem needs, see Pythagorean theorem or trigonometry?, or let the right triangle solver handle any combination of sides and angles.
Common errors when finding the hypotenuse
Almost every wrong answer comes from one of these five slips.
WrongLegs 3 and 4, so c = 3 + 4 = 7.
RightAdd the squares, then take the root: c = √9 + 16 = 5.
- Adding the legs. The hypotenuse is always less than a + b, as the comparison above shows.
- Stopping at c2. If you get 25 for legs 3 and 4, you found the area of the square, not the side. Take the square root.
- Squaring the sum. (3 + 4)2 = 49, but 32 + 42 = 25. Square each leg first, then add.
- Treating a known hypotenuse as a leg. If the problem gives you the hypotenuse and one leg, you are looking for a leg and must subtract: see how to find a missing side.
- Mixing units. Convert first, as in Example 4.
The full list, with a wrong-versus-right example for each, is on the common mistakes page.
Try it yourself
1. Legs 12 and 35. Find the hypotenuse.
c = √144 + 1225 = √1369 = 37.
2. Legs 6 and 6. Give the exact answer and a decimal.
c = √36 + 36 = √72 = 6√2 ≈ 8.49 (nearest hundredth).
3. A TV screen is 48 inches wide and 27 inches tall. How long is its diagonal?
c = √482 + 272 = √2304 + 729 = √3033 ≈ 55.07 inches, so it would be sold as a 55-inch TV. The screen size calculator does this for any screen.
Frequently asked questions
Is the hypotenuse always the longest side?
Yes. In every right triangle c2 = a2 + b2, so c2 is larger than either leg's square, which makes c longer than either leg. It also sits opposite the largest angle, the 90° one, and in any triangle the longest side faces the largest angle.
What is the formula for the hypotenuse?
c = √a2 + b2, where a and b are the legs. If you know an acute angle A instead of a second leg, use c = a/sinA (with the opposite leg) or c = b/cosA (with the adjacent leg).
Does every triangle have a hypotenuse?
No. Only right triangles do, because the hypotenuse is defined as the side opposite the right angle. In other triangles you simply call the sides by their letters, and to relate them you use the law of cosines instead.
Can you find the hypotenuse with only one side?
Not with one side alone. You also need either a second side or an acute angle. The exception is when you know the shape: a 45-45-90 triangle has c = leg × √2, and a 30-60-90 triangle has c = 2 × short leg.
Why do you take the square root at the end?
Adding a2 + b2 gives you the area of the square built on the hypotenuse, not its length. The side of a square is the square root of its area, so the last step turns that area back into a length.
Keep exploring
- CalculatorsHypotenuse CalculatorFree hypotenuse calculator: find the longest side of a right triangle from two legs, a leg and an angle, or the area and a leg, with steps and exact radicals.
- LearnHow to Find the Missing Side of a Right TriangleHow to find a missing leg of a right triangle with a = √(c² − b²): why you subtract, five worked examples, a mental-math shortcut and impossible inputs.
- LearnSquare Roots and Radicals for the Pythagorean TheoremThe square-root toolkit for the Pythagorean theorem: perfect squares 1–30, estimating roots, simplest radical form step by step, exact vs decimal answers.
- PracticeFinding the Hypotenuse WorksheetFree printable finding the hypotenuse worksheet: 16 right triangles in varied orientations, from 3-4-5 triples to radicals and decimals, with worked answers.
- LearnPythagorean Theorem or Trigonometry: Which Should You Use?When to use the Pythagorean theorem vs trigonometry (SOH CAH TOA): a decision flowchart, side-by-side worked examples and multi-step problems that need both.
- LearnCommon Pythagorean Theorem MistakesTwelve common Pythagorean theorem mistakes, from a + b = c to misusing the converse, each with a wrong-vs-right worked example and a final self-check list.