Pythagorean Theorem Calculator

Last updated: 2026-08-24

Pythagorean Theorem Calculator — Calculate hypotenuse or legs of right triangle.
Inputs
Result
Enter values and press Calculate

How to use it

  1. {'step': 1, 'description': 'Square both legs: 5.5² = 30.25 and 12.3² = 151.29'}
  2. {'step': 2, 'description': 'Add squares: 30.25 + 151.29 = 181.54'}
  3. {'step': 3, 'description': 'Take square root: √181.54 = 13.4737 (hypotenuse)'}
  4. {'step': 4, 'description': 'Area = (5.5 × 12.3) ÷ 2 = 33.825; Perimeter = 5.5 + 12.3 + 13.4737 = 31.2737'}

Common mistakes

  • ⚠️ Adding legs directly instead of squaring first (5.5 + 12.3 ≠ hypotenuse)
  • ⚠️ Forgetting to take square root after adding the squares
  • ⚠️ Using this formula for non-right triangl is where it doesn't apply

Worked example

Calculate hypotenuse with sid is 3 and 4.

The hipotenusa ({hipotenusa}) is the longest side opposite the right angle; area_triangulo ({area_triangulo}) is half the product of legs; perimeter ({perimeter}) is total boundary length.

Input guide

FieldTypical range
cateto_aConstruction: 0.5-50m; Surveying: 1-1000m; General: any positive value
cateto_bSame as cateto_a; both must be positive non-zero values