Skip to content
MasterMath

Right Triangle Calculator

Solve a right triangle completely from any two values: two sides, or one side and an acute angle.

The three sides

—

The three sides—
Angle A—
Angle B—
Area—
Perimeter—
Height on the hypotenuse—

How this was worked out

    The formula

    a² + b² = c² · tan A = a ÷ b · area = ab ÷ 2

    Where it comes from

    A right triangle has one angle fixed at 90°, so two more values determine it entirely. Two sides give you the third by Pythagoras and the angles by the inverse ratios; a side and an angle give you everything by the ratios directly.

    How to work it out by hand

    1. Fill in any two values and leave the rest at zero
    2. Missing sides come from Pythagoras
    3. Missing angles come from the inverse ratios
    4. The two acute angles always add to 90°

    What is worth knowing

    The height on the hypotenuse is the one value people forget, and it is worth knowing because it is what the geometric mean theorem is about: that height is the geometric mean of the two segments it cuts the hypotenuse into. It also gives you the triangle's area a second way, which makes a useful cross-check. One caution when working from an angle: the two acute angles are complementary, so an error in one propagates directly into the other, and a slip of half a degree can move a long side noticeably.

    Frequently asked questions

    How many values do I need?

    Two, and at least one has to be a side. Two angles alone give the shape but not the size.

    Do the acute angles always add to 90°?

    Yes. All three angles add to 180°, and the right angle already accounts for 90°.

    What is the height on the hypotenuse?

    The perpendicular from the right angle to the hypotenuse. It is the geometric mean of the two pieces it divides the hypotenuse into.

    Can I use degrees or radians?

    This calculator takes degrees. Convert first if your values are in radians.