5.00000000
Use the inputs above for your own values. The result follows the method and assumptions shown below.
How it works
c=sqrt(a2+b2); area=ab/2; angle A=atan(a/b).
Input definitions
- Known leg a
- Enter the value in the labeled unit.
- Known leg b
- Enter the value in the labeled unit.
A worked example
- Known leg a
- 3
- Known leg b
- 4
Assumptions & limits
Both legs must be positive and use the same unit.
Sources & review
Maintained by AnsRio. Methods and examples are reviewed against the stated formula; this is not professional certification.
Method updated 2026-11-15. Reviewed against the stated method and example. Our verification approach.
Report an issue with this tool or suggest an improvement ↗
Common questions
How does the Right triangle calculator - Pythagorean theorem work?
c=sqrt(a2+b2); area=ab/2; angle A=atan(a/b). The result is calculated locally from the values you enter.
What inputs does this calculator need?
Enter the labeled values, check the units and review the assumptions before using the result.
Are the results exact?
Both legs must be positive and use the same unit. Results are calculated in your browser and displayed with suitable rounding.