Geometry
Pythagorean Theorem
Hypotenuse from two legs.
Formula
Formula
c = √a2 + b2
Variables
| Symbol | Definition | Type & range | Units | Role |
|---|---|---|---|---|
| a, b | legs | real number (ℝ) | — | input |
| c | hypotenuse | computed result | — | result |
Try it yourself
Interactive calculator
Worked examples
Example 1
Givena = 3, b = 4
Result5
Example 2
Givena = 5, b = 12
Result13