Right Triangle Calculator
How long is the hypotenuse, and what are the angles, given the two legs? Enter the values below to calculate the result.
Result for the values shown.
Calculations run in your browser.
What to enter
| Input | Meaning and units |
|---|---|
| Side a (length) | Enter side a in length; use the same basis as the other measurements. |
| Side b (length) | Enter side b in length; use the same basis as the other measurements. |
Understanding your result
Read c (length), area (length^2), A (degree), B (degree) in the units and model stated on this page. The formula c=hypot(a,b) · area=a*b/2 · A=atan2(a,b)*180/pi · B=90-A defines the relationship; measurement accuracy and model applicability are separate from numerical precision.
Common mistakes
- Mixing input units or changing the physical meaning of a variable without changing the model.
Check your calculation
- Use the worked example as a known reference case, then change one input at a time and check the direction and units of the response.
Calculation checks, sources and review limits
How long is the hypotenuse, and what are the angles, given the two legs?
How long is the hypotenuse, and what are the angles, given the two legs? Enter the values below to calculate the result.
Common uses
- How long is the hypotenuse, and what are the angles, given the two legs
How it works
c=hypot(a,b); area=a*b/2; A=atan2(a,b)*180/pi; B=90-A
Worked example
Enter Side a: 3 length; Side b: 4 length. Results: c: 5 length; area: 6 length^2; A: 36.869897645844 degree; B: 53.130102354156 degree.