A clear answer before the details
For a right triangle, a² + b² = c². The hypotenuse c is opposite the right angle and must be longer than either leg.
A right triangle calculator for finding a, b, or c
The Pythagorean theorem calculator works only for a right triangle, where one angle is 90°. The two shorter sides are the legs a and b, and the longest side opposite the right angle is the hypotenuse c. Choose find a, find b, or find c, enter the two known sides, and the result shows the square-root rearrangement. The right triangle calculator also estimates the two acute angles so you can check the geometry.
Using consistent units and checking the theorem
A Pythagorean calculator with feet and inches needs consistent measurements. Convert inches to decimal feet, or convert every dimension to inches before calculating; do not mix 6 feet with 8 inches as if both were the same unit. After solving, verify a² + b² = c² and confirm that c is longer than either leg. This makes the tool useful for ramps, ladders, diagonals, coordinate distances, and classroom geometry.
Formula guide
The key equations are separated below. Start with the calculator mode, then choose the shape or model that matches your problem.
Pythagorean theorem
c is the hypotenuse opposite the right angle.
Find the hypotenuse
Use this when both legs are known.
Find a missing leg
The hypotenuse must be longer than the known leg.
Find the other leg
Use this when leg a and hypotenuse c are known.
Acute angles
The calculator also reports both acute angles in degrees.
Worked example
With legs 3 and 4, c = √(3² + 4²) = √25 = 5. The acute angles are approximately 36.87° and 53.13°.
Formulas for common use cases
Use the matching equation for the problem you are solving, then enter its variables in the calculator above.
Ramps and ladders
Treat the rise and run as the two legs of a right triangle.
Coordinate distance
Horizontal and vertical changes form the legs.
Check a right triangle
A true right triangle satisfies the theorem.
How to use this calculator
- Select the side you want to find.
- Enter the two known positive sides.
- Check that a valid right triangle is possible.
- Read the missing side, radical form when exact, and angles.
Where it helps
This right-triangle calculator helps with classroom exercises, construction layouts, ramps, ladders, coordinate geometry, and distance problems. A diagram keeps the roles of the legs and hypotenuse clear, and the angle results make the page useful for trigonometry practice as well as the theorem itself.
Common mistakes
The hypotenuse is never one of the legs and must be the longest side. If you solve for a leg, the known hypotenuse must exceed the other leg. Do not use the theorem for a triangle without a right angle; general triangles require a different rule such as the law of cosines.