Right Angle Triangle Calculator
Calculate right angle triangle sides using the Pythagorean theorem workflow.
Choose which right-triangle side is missing.
One leg of the right triangle. Required unless solving for side a.
The other leg of the right triangle. Required unless solving for side b.
The side opposite the right angle. Required when solving for a leg.
Status: initial
Results
Awaiting calculation
Introduction
The Right Angle Triangle Calculator supports right-angle wording with the verified right triangle calculation engine.
Purpose
Use this calculator to solve right triangle side examples and review the relationship between the legs and hypotenuse.
Right triangle method
Use c = sqrt(a^2 + b^2) to find the hypotenuse, or rearrange the formula to find a missing leg: a = sqrt(c^2 - b^2) or b = sqrt(c^2 - a^2).
Variable explanations
One leg of the right triangle.
The other leg of the right triangle.
The longest side, opposite the right angle.
For a right triangle, area = a x b / 2.
The sum of all three side lengths.
Formula guide
Find hypotenuse
c = sqrt(a^2 + b^2)
- a and b are legs.
- c is the hypotenuse.
Use this when both legs are known.
Find leg a
a = sqrt(c^2 - b^2)
- b is the known leg.
- c must be greater than b.
Use this when the hypotenuse and leg b are known.
Find leg b
b = sqrt(c^2 - a^2)
- a is the known leg.
- c must be greater than a.
Use this when the hypotenuse and leg a are known.
Worked examples
Classic 3-4-5 triangle
- a = 3 and b = 4 gives c = sqrt(9 + 16) = 5.
Missing leg
- c = 13 and a = 5 gives b = sqrt(169 - 25) = 12.
Diagonal distance
- A rectangle 6 by 8 has diagonal sqrt(36 + 64) = 10.
Common mistakes
Using it for non-right triangles
The theorem applies to right triangles only.
Treating a leg as the hypotenuse
The hypotenuse is always the longest side and opposite the right angle.
Forgetting the square root
After solving for a squared side, take the square root to get the side length.
Entering a hypotenuse shorter than a leg
A valid right triangle requires c to be greater than either leg.
FAQs
What does this Pythagorean Theorem Calculator do?
What is the Pythagorean theorem formula?
What is the hypotenuse?
Can this find a missing leg?
Can this find the hypotenuse?
Does this work for every triangle?
Why must the hypotenuse be longer than a leg?
Can I use decimals?
What units should I use?
How is area calculated?
How is perimeter calculated?
What is a 3-4-5 triangle?
Can this check construction diagonals?
What if my answer is not a whole number?
Does this replace a full triangle calculator?
References
Related calculators
Last updated and version history
Last updated: 2026-07-10
- 1.0.0 (2026-07-10): Initial right angle triangle page using the verified right triangle engine.