Right triangles in simple words
A right triangle has one square (90°) corner. The two sides that meet there are the legs, a and b. The longest side, across from the square corner, is the hypotenuse, c. The other two angles, A and B, always add up to 90°.
If you know two sides, the Pythagorean theorem (a² + b² = c²) gives the third. If you know a side and an angle, sine, cosine and tangent do the job. For angle A, sine = opposite side ÷ hypotenuse, cosine = next-to side ÷ hypotenuse, and tangent = opposite ÷ next-to side.
Example: legs 3 and 4. The hypotenuse is √(3² + 4²) = √25 = 5. The area is 3 × 4 ÷ 2 = 6, and angle A is about 36.87°, so angle B is 90° − 36.87° = 53.13°.
Formula and method
Let a and b be legs, c the hypotenuse, A the angle opposite a and h the altitude to c. Use a²+b²=c², sin(A)=a/c, cos(A)=b/c and h=ab/c. One side with an acute angle fixes the scale and shape.
Worked example
Legs 3 and 4 give hypotenuse 5 and altitude 12/5 = 2.4. With only c = 5 and h = 2.4, either (a,b) = (3,4) or (4,3) works; the calculator displays both assignments.
Inputs and limitations
Two angles alone cannot determine side lengths. Acute angles must be strictly between 0° and 90°. An altitude to the hypotenuse cannot exceed c/2. The figure labels the sides and angles but is not drawn to scale.
Worked steps, exact radicals and circles
Each solution shows the formulas with your numbers substituted, for example c = √(3² + 4²) = √(9 + 16) = √25 = 5. When whole-number sides give a non-square result, the exact simplified radical appears too, such as legs 2 and 4 giving c = √20 = 2√5.
The inradius of a right triangle is r = (a + b − c) ÷ 2 and the circumradius is R = c ÷ 2, because the hypotenuse is a diameter of the circumscribed circle. A 3-4-5 triangle has r = 1 and R = 2.5.