Skip to main content

Right Triangle Calculator

Calculate the hypotenuse, area, perimeter, and angles of a right triangle from two legs.

Advertisement

Length of the first leg.

Length of the second leg.

AI Math Assistant

Beta

Ask questions about your calculation results

I can help you understand your results and explore your options. Try asking:

3 free questions per session

AI provides general assistance. Always verify important calculations.

About This Calculator

Right triangles contain one 90-degree angle and obey special relationships that make them uniquely useful in trigonometry and practical measurement. This calculator solves for any missing side or angle using the Pythagorean theorem and trigonometric ratios, given at least two known values. Surveyors, architects, and navigators depend on right triangle calculations to determine heights, distances, and angles that cannot be measured directly.

Quick Tips

  • 1 The hypotenuse is always the longest side, opposite the 90-degree angle.
  • 2 Common Pythagorean triples (3-4-5, 5-12-13) let you skip calculations.
  • 3 SOH-CAH-TOA: Sine=Opposite/Hypotenuse, Cosine=Adjacent, Tangent=Opp/Adj.

Example Calculation

Scenario

A ladder reaches 12 feet up a wall, base 5 feet from the wall.

Result

Hypotenuse (ladder): 13 ft | Angle at base: 67.38 degrees | Area: 30 ft2

Right Triangle Properties

A right triangle has one 90° angle. The side opposite the right angle is the hypotenuse — the longest side. The other two sides are called legs. The Pythagorean theorem (a² + b² = c²) relates the three sides and is one of the most fundamental relationships in mathematics.

Calculating Angles in a Right Triangle

Since one angle is always 90°, the other two must sum to 90° (complementary). Use trigonometry: angle A = arctan(a/b) and angle B = arctan(b/a). Alternatively, angle A = arcsin(a/c) or arccos(b/c). All methods give the same result.

Common Right Triangle Ratios

Special right triangles have memorized ratios. The 3-4-5 triangle (and multiples like 6-8-10, 5-12-13) are Pythagorean triples. The 45-45-90 triangle has sides in ratio 1:1:√2. The 30-60-90 triangle has sides in ratio 1:√3:2. These shortcuts speed up calculations.

Applications of Right Triangles

Right triangles are used in construction (roof pitch), navigation (bearing calculations), surveying (measuring heights), physics (force components), and computer graphics (distance calculations). Trigonometric functions (sine, cosine, tangent) are all defined using right triangles.

Frequently Asked Questions