Right triangle calculator
Solve a right triangle from its two perpendicular legs.
Formula
c = √(a²+b²); A = atan(a/b) in degrees; B = 90°−A
Leg a: 3 m · Leg b: 4 m · Hypotenuse ≈ sqrt((3 m)^2+(4 m)^2) · Angle opposite a ≈ atan((3 m)÷(4 m))×180÷pi · Angle opposite b ≈ 90-(36.86989765)
How to use
- Enter legs a and b with units.
- Check that they meet at 90°.
- Read the hypotenuse and acute angles.
Examples
- Legs 3 m and 4 m: c=5 m, A≈36.869898°.
- Equal legs: A=B=45°.
Frequently asked questions
Which angle is A?
The angle opposite leg a; B is opposite leg b.
Can I enter a leg and hypotenuse?
No. This form requires the two perpendicular legs.
Should the acute angles add to 90°?
Yes, before display rounding. The third angle is 90°.
Sources
Updated: