Calculate a Missing Side in Seconds
Use this Pythagorean theorem calculator to find the unknown side of a right triangle.
Tip: Use positive numbers only. For leg calculations, the hypotenuse must be larger than the known leg.
What Is a Right Triangle Side Calculator?
A right triangle side calculator helps you quickly compute a missing side when you already know two sides of a right triangle. It uses the famous Pythagorean theorem:
a2 + b2 = c2, where:
- a and b are the two legs (the sides that form the 90° angle)
- c is the hypotenuse (the longest side, opposite the right angle)
Instead of doing manual square and square-root math each time, this tool provides instant results and a formula breakdown.
How the Formulas Work
1) Finding the hypotenuse
If you know both legs, use:
c = √(a2 + b2)
2) Finding a leg
If you know the hypotenuse and one leg, rearrange the theorem:
a = √(c2 - b2) or b = √(c2 - a2)
Because the hypotenuse is always the longest side, c must be greater than either leg.
How to Use This Calculator
- Select what you want to find: hypotenuse, leg a, or leg b.
- Enter the two known side lengths.
- Optionally enter a unit (like cm, m, or ft).
- Click Calculate to see the missing side and formula steps.
Example Calculations
Example A: Find the hypotenuse
Given a = 5 and b = 12:
c = √(52 + 122) = √(25 + 144) = √169 = 13
Example B: Find a leg
Given c = 10 and b = 6:
a = √(102 - 62) = √(100 - 36) = √64 = 8
Where Right Triangle Side Calculations Are Used
- Construction: checking square corners, ramp design, roof geometry
- Navigation: calculating direct paths from perpendicular distances
- Engineering: force components and structural triangles
- Computer graphics: distance between points on a grid
- Education: geometry homework and exam prep
Common Mistakes to Avoid
- Using a non-right triangle (the theorem applies only to 90° triangles)
- Setting a leg larger than the hypotenuse in leg calculations
- Mixing units (for example, entering one side in cm and another in m)
- Rounding too early during multi-step calculations
Quick FAQ
Can I use decimals?
Yes. The calculator accepts decimal values and returns a rounded result.
Does this work for any triangle?
No. It works only for right triangles.
What if I get an error?
Check that both values are positive and that the hypotenuse is larger than the known leg when solving for a leg.
Final Thoughts
A right triangle side calculator is one of the fastest ways to solve geometry problems accurately. Whether you are a student, teacher, engineer, or DIY builder, this tool saves time and reduces arithmetic mistakes while keeping the underlying math transparent.