Right Triangle Calculator
Solve any right triangle completely - find all sides, both acute angles, area, and perimeter from any two known values.
🔺 What is a Right Triangle?
A right triangle is a triangle that contains exactly one angle of 90° — a right angle. The side opposite the right angle is called the hypotenuse and is always the longest side. The other two sides are called the legs (or catheti). The two acute angles (both less than 90°) always sum to exactly 90°, making the three angles total 180° as in any triangle.
The relationship between the sides of a right triangle is governed by the Pythagorean theorem: a² + b² = c², where a and b are the legs and c is the hypotenuse. This theorem, known for over 2,500 years, is one of the most fundamental results in all of mathematics. It means that if you know any two sides, you can always find the third. The classic 3-4-5 right triangle is the simplest integer example: 9 + 16 = 25.
The angles of a right triangle are found using trigonometry. Given the two legs a and b, angle A = arctan(a/b) and angle B = 90° − A. Given the hypotenuse and one leg, angle A = arcsin(leg/hypotenuse). Given one angle and one side, all remaining sides can be found using SOH CAH TOA: sin(A) = opposite/hypotenuse, cos(A) = adjacent/hypotenuse, tan(A) = opposite/adjacent. These three ratios form the foundation of all trigonometry.
Right triangles appear throughout mathematics, science, and everyday life. In construction, the 3-4-5 rule is used to verify that corners are perfectly square. In navigation, right triangle decomposition resolves a journey into north-south and east-west components. In physics, force vectors are decomposed into perpendicular components using right triangle geometry. In computer graphics, pixel distances on screen are calculated as hypotenuses of right triangles. This calculator solves any right triangle completely from any two known values, giving you all three sides, both acute angles, area, and perimeter instantly.
📐 Formulas
📖 How to Use This Calculator
- Choose your input mode using the tabs at the top: Two Legs (you know both perpendicular sides), Hyp + One Leg (you know the hypotenuse and one leg), or Angle + One Side (you know one acute angle and any one side).
- Enter the known values in the fields that appear. For angles, enter degrees between 0 and 90 (exclusive). All length values must be positive numbers in consistent units (cm, m, inches, etc.).
- Click Calculate to instantly see all results: hypotenuse, both legs, both acute angles, area, and perimeter. A step-by-step note explains exactly how each value was computed.
- Use the example links below in the Examples section to auto-fill worked examples and verify the results match the hand-computed values.
- Share or save your result using the Copy, Print, Permalink, or WhatsApp buttons below the results grid.