Pythagorean Theorem Calculator
Calculate right triangle sides using a² + b² = c²
a² + b² = c²
Enter any two sides to find the third
How to Use This Pythagorean Theorem Calculator
- Identify which two sides of the right triangle you know
- Enter the two known values (leave the third field empty or at 0)
- The sides are: a and b (the two legs), c (the hypotenuse - always the longest)
- Click 'Calculate Missing Side' to find the unknown side plus area and perimeter
Example: Building a deck with sides 6 ft and 8 ft: The diagonal brace (hypotenuse) = sqrt(6^2 + 8^2) = sqrt(36 + 64) = sqrt(100) = 10 ft. This is the famous 3-4-5 triangle scaled by 2.
Tip: The hypotenuse (c) is ALWAYS the longest side. If your calculated 'leg' is longer than the hypotenuse you entered, recheck your inputs.
Why Use a Pythagorean Theorem Calculator?
The Pythagorean theorem is the most practical geometry formula, essential for construction, navigation, and everyday measurements.
- Ensure walls are square using the 3-4-5 method during construction
- Calculate diagonal measurements for TV screens, monitors, and picture frames
- Find the straight-line distance between two points on a map
- Determine ladder reach and safe placement angles
- Calculate ramp lengths for accessibility compliance
- Figure out how much diagonal fencing or cable you need
Understanding Your Results
All three sides are calculated to 4 decimal places. The hypotenuse is always larger than either leg.
| Result | Meaning | Action |
|---|---|---|
| Integer result | Pythagorean triple | 3-4-5, 5-12-13, 8-15-17 are exact - no rounding needed |
| Irrational result | Non-integer side length | Most real measurements need rounding - consider significant figures |
| Very small decimals | Near-integer result | Rounding errors happen - if close to whole number, it likely is one |
Meaning: Pythagorean triple
Action: 3-4-5, 5-12-13, 8-15-17 are exact - no rounding needed
Meaning: Non-integer side length
Action: Most real measurements need rounding - consider significant figures
Meaning: Near-integer result
Action: Rounding errors happen - if close to whole number, it likely is one
Note: Area = 1/2 x a x b (half base times height). The legs serve as base and height since they're perpendicular.
About Pythagorean Theorem Calculator
Formula
a^2 + b^2 = c^2 Where a and b are the legs (sides adjacent to the right angle) and c is the hypotenuse (the side opposite the right angle).
Current Standards: Pythagorean triples are integer solutions: (3,4,5), (5,12,13), (8,15,17), (7,24,25). Any multiple of a triple is also valid.
Frequently Asked Questions
How do I use the 3-4-5 method to check if a corner is square?
Measure 3 feet along one wall from the corner and mark it. Measure 4 feet along the other wall and mark it. If the corner is exactly 90 degrees, the diagonal between marks will be exactly 5 feet. Use multiples (6-8-10, 9-12-15) for larger areas.
Can I use this theorem for non-right triangles?
No - the Pythagorean theorem only works for right triangles. For other triangles, use the Law of Cosines: c^2 = a^2 + b^2 - 2ab*cos(C). The Pythagorean theorem is actually a special case where angle C = 90 degrees (cos(90) = 0).
What's the difference between this and the right triangle calculator?
This calculator focuses purely on the Pythagorean theorem - finding a missing side from two known sides. The right triangle calculator adds trigonometry to find angles and handle cases where you know one side and one angle.
How do I calculate the diagonal of a rectangle?
A rectangle's diagonal creates two right triangles. The length and width are legs; the diagonal is the hypotenuse. For a 10x15 foot room: diagonal = sqrt(10^2 + 15^2) = sqrt(100 + 225) = sqrt(325) = 18.03 feet.
Why are Pythagorean triples useful?
They give exact integer measurements with no rounding errors. Builders use 3-4-5 (or scaled versions) constantly because it's easy to measure and verify. Ancient Egyptians used knotted ropes with 3-4-5 spacing to create right angles for construction.