How the calculation worksHypotenuse = square root of (a² + b²).Worked exampleLegs of 3 and 4 give a hypotenuse of 5.