How do I identify the hypotenuse and the two legs?
The hypotenuse is the side opposite the right angle and is the longest side. The two legs meet at the right angle. Identify the angle before choosing inputs.
Use the angle rather than the drawing orientation
A rotated right triangle has the same hypotenuse even when that side does not look diagonal on the page. Locate the 90-degree marker, then find the side that does not touch that angle. The remaining two sides are the legs.
Check a 5, 12, 13 triangle
The side of 13 is the hypotenuse because 5² + 12² = 25 + 144 = 169 = 13². The legs are 5 and 12. Entering 12 and 13 as legs would calculate a different triangle with a longer hypotenuse.
Match the supported input model
Calculator ForEver’s Right Triangle calculator starts with the two perpendicular legs. If your known lengths are one leg and the hypotenuse, calculate the missing leg first or use a method designed for that pair. Do not relabel the hypotenuse as a leg to fit an input field.
Locate the right angle before reading the orientation
The two sides meeting at the ninety-degree angle are the legs. The side joining their other endpoints lies opposite that angle and is the hypotenuse. Rotating or reflecting the diagram changes none of those relationships. A horizontal line can be the hypotenuse if the right angle lies at a vertex above or below it. The longest-side check is helpful only after you know the shape is a right triangle; every triangle has a longest side, but only a right triangle has a hypotenuse. Read a right-angle marker or a measured angle rather than inferring perpendicularity from how a sketch looks on the screen.
Verify the roles with a known side set
In a 7–24–25 right triangle, seven and twenty-four are legs because 7² + 24² = 49 + 576 = 625 = 25². Entering twenty-four and twenty-five as legs would make Calculator ForEver calculate √(576 + 625), a new hypotenuse of about 34.655, which is a different triangle. The tool cannot infer that the value twenty-five was intended as the hypotenuse if you place it in a leg field. If your source gives one leg and a hypotenuse, rearrange the Pythagorean theorem to obtain the other leg first. Keep the original labels with that derivation so the known hypotenuse does not reappear as a perpendicular input by mistake.
Check length and angle outputs together
For positive legs, the calculated hypotenuse must exceed either leg but remain smaller than their sum. The two acute angles should add to ninety degrees before display rounding. Exchanging the two legs keeps area, perimeter and hypotenuse unchanged but swaps which acute angle lies opposite each leg. These checks help reconcile differently oriented diagrams. Use matching length units throughout, and remember that a squared intermediate value does not make the final hypotenuse a square-unit quantity. Calculator ForEver's Right Triangle Calculator models ideal perpendicular legs and returns geometric lengths; it does not certify that a measured corner is square. For a real object, retain measurement uncertainty and compare the full three-side record with a general triangle model if perpendicularity is in doubt.
Questions about this calculation
Is the horizontal side always a leg?
No. A diagram can rotate; the relationship to the right angle determines the side’s role.
Try these values in the calculator
Find a hypotenuse and acute angles from two legs.
Use the right triangle calculator