Right triangle · sides & angles

Right triangle · sides & angles: use first perpendicular leg, second perpendicular leg. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
c=√(a²+b²); A=atan(a/b); B=90°−A

Variables & units

First perpendicular leg
units · minimum 0.000001, maximum 1000000000000
Second perpendicular leg
units · minimum 0.000001, maximum 1000000000000

Worked example

Legs 3 and 4 give hypotenuse 5 and acute angles approximately 36.869898° and 53.130102°.

Assumptions

The two supplied sides must meet at a right angle. Angles are in degrees.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.