Pythagorean Theorem Calculator
Local ProcessingCalculate hypotenuse c = √(a² + b²) of a right triangle from leg lengths a and b.
How It Works & Processing Standards
Enter values above to calculate results automatically. Check each input field for guidance and units.
Example: Leg a = 3, Leg b = 4 → 5
Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.
Enter the two sides next to the right angle to get the hypotenuse or the two acute angles.
What You Can Do
- Hypotenuse
- c = √(a² + b²) — a diagonal from width and height.
- Angles
- The two non-right angles in degrees (they add up to 90°).
How to Use Pythagorean Theorem Calculator
- 1Choose a calculationPick hypotenuse or angles.
- 2Enter the two legsBoth must be greater than 0.
- 3Read the resultLengths use your unit; angles are in degrees.
Examples
Hypotenuse of 6 and 8
Input: a 6, b 8
Result: 10
Angles with equal legs
Input: a 1, b 1 (angles)
Result: 45°, 45°
Common Use Cases
- A screen diagonal from its width and height
- The slope length of a ramp or staircase
- Checking a right angle on site (3-4-5 rule)
Frequently Asked Questions (FAQ)
What if I know the hypotenuse and one leg?
Use the Triangle Calculator (SSS etc.) or b = √(c² − a²).
Can the units differ?
No, both legs must use the same unit, and so does the result.
