The Pythagorean theorem relates the sides of a right triangle: a² + b² = c². The perpendicular sides a and b are the legs, and c is the hypotenuse opposite the right angle. Knowing any two appropriate side lengths lets you find the third.
This Pythagorean theorem calculator solves the selected missing side and reports all three lengths, perimeter and area. It assumes a right triangle. The right-triangle message describes how the missing side was constructed; it is not an independent test of three measured sides.