math
Pythagorean Theorem Calculator
Find the hypotenuse or a missing leg of a right triangle with the Pythagorean theorem.
Hypotenuse (c)
5
c = √(a² + b²)
How it works
- 1Choose whether to find the hypotenuse or a missing leg.
- 2For the hypotenuse, c = √(a² + b²).
- 3For a leg, leg = √(c² − a²), where c is the hypotenuse.
Use cases
- Find the diagonal of a rectangle or screen.
- Check whether three lengths form a right triangle.
- Solve Pythagorean theorem homework.
Frequently asked questions
What is the Pythagorean theorem?
For a right triangle, a² + b² = c², where c is the hypotenuse (the side opposite the right angle).
How do I find a missing leg?
Rearrange to leg = √(c² − a²). The hypotenuse c must be longer than the known leg.
Does it only work for right triangles?
Yes. The relationship a² + b² = c² holds only when the triangle has a 90° angle.
Related tools
See all →Rectangle Calculator
Calculate the area and perimeter of a rectangle from its width and height, with a labeled diagram.
Circle Calculator
Calculate the area and circumference of a circle from its radius, with a labeled diagram.
Triangle Calculator
Calculate the area (Heron’s formula) and perimeter of a triangle from its three sides.
Trapezoid Calculator
Calculate the area and perimeter of a trapezoid from its two parallel sides, height, and legs.