Right triangle hypotenuse calculator

Find hypotenuse, area and an acute angle from the two positive legs of a right triangle.

Enter values

Start with the example below, or enter your own values.

How it works

Use the Pythagorean theorem and atan2. Both legs must use the same length unit.

Try an example

Leg a: 3; Leg b: 4. The form starts with these values; change them to explore your own case.

Example result: 5

  1. Apply Pythagoras: c² = a² + b².
  2. Compute hypot(a,b).

Learn more in Matrix algebra and right triangle methods.

Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.