Right Triangle Calculator for Sides, Angles, Area and Perimeter

Choose two known measurements to solve the remaining sides, acute angles, altitude, area and perimeter of a right triangle.

Known measurements

a² + b² = c²

Enter two different, independent measurements. Two acute angles alone determine shape but not size. Lengths must use the same unit.

How the right triangle calculator works

A right triangle has one 90-degree angle. The side opposite that angle is the hypotenuse c, and it is always the longest side. The two shorter sides are legs a and b.

Two independent measurements are enough to solve a right triangle when at least one measurement establishes its size. The calculator applies the Pythagorean theorem and trigonometric relationships to determine the missing values.

Right triangle formulas

  • Pythagorean theorem: a² + b² = c²
  • Acute angles: α + β = 90°
  • Area: A = ab ÷ 2
  • Perimeter: P = a + b + c
  • Altitude to the hypotenuse: h = ab ÷ c

Special right triangles

A 45°–45°–90° triangle has equal legs in the ratio 1:1:√2. A 30°–60°–90° triangle has sides in the ratio 1:√3:2. Integer side sets such as 3–4–5 and 5–12–13 are called Pythagorean triples.

Choosing valid known values

You can enter combinations such as two sides, one side and one acute angle, a side and area, or hypotenuse and perimeter. Two acute angles are not enough because they fix the proportions without defining the triangle’s size.

Some combinations that do not distinguish the two legs can describe the same triangle reflected across its altitude. In that situation, the calculator reports the orientation with a ≤ b.

Frequently asked questions

What values do I need to solve a right triangle?

Enter two independent values, with at least one side, altitude, area or perimeter measurement. Two angles alone do not establish the size.

Which side is the hypotenuse?

The hypotenuse is the side opposite the 90-degree angle. It is labelled c and is the longest side.

Can the calculator use radians?

Yes. Choose radians as the angle unit before entering α or β. Acute angles must lie between 0 and π/2 radians.

Why can the same values describe a reflected triangle?

If the measurements do not name leg a or b, swapping the legs produces the same size and shape. The calculator uses the orientation with a no greater than b.