Pythagorean Theorem Calculator
Find the missing side of a right triangle with the Pythagorean theorem, along with its two acute angles, its area and its perimeter.
Hypotenuse c
5
- Angles
- α = 36.87°, β = 53.13°
- Area
- 6
- Perimeter
- 12
Steps
- 1Apply the Pythagorean theorem: c = √(a² + b²) = √(3² + 4²) = √25 = 5
About this tool
In a right triangle, the square of the hypotenuse, the side opposite the right angle, equals the sum of the squares of the other two sides, called legs: a² + b² = c². With legs of 3 and 4, c = √(3² + 4²) = √25 = 5. Conversely, if you know the hypotenuse and one leg, the other leg is √(c² − a²): with c = 13 and a = 5, b = √(169 − 25) = 12.
The calculator also gives the acute angles, from α = arctan(a / b) and β = 90° − α: for the 3-4-5 triangle, α ≈ 36.87° and β ≈ 53.13°. The area is half the product of the legs (3 × 4 / 2 = 6), and the perimeter is the sum of the three sides (3 + 4 + 5 = 12).
The theorem is used everywhere: a 5 m ladder whose foot stands 1.5 m from a wall reaches √(5² − 1.5²) ≈ 4.769696 m up; the diagonal of a square with 10 cm sides is 10√2 ≈ 14.142136 cm; and the distance between two points on a map or a screen is √(Δx² + Δy²). Builders use the 3-4-5 rule to check right angles: a triangle with sides of 60, 80 and 100 cm has a perfectly square corner.
Worked example
- 1Choose what you want to find: the hypotenuse or a leg.
- 2Enter the two known sides: both legs, or the hypotenuse and one leg.
- 3Read the missing side, the angles, the area and the perimeter. Example: legs of 6 and 8 give a hypotenuse of 10.
Formula
a² + b² = c² ; c = √(a² + b²) ; b = √(c² − a²) ; α = arctan(a / b), β = 90° − α
Related tools
Frequently asked questions
- Which side is the hypotenuse?
- The longest side, opposite the right angle. The theorem only applies to right triangles; for other triangles, use the law of cosines, c² = a² + b² − 2ab × cos γ.
- How do I check whether a triangle has a right angle?
- Check whether the square of the longest side equals the sum of the squares of the other two, which is the converse of the theorem. For 5, 12 and 13: 25 + 144 = 169 = 13², so the triangle has a right angle.
- How do I find the width and height of a TV from its diagonal?
- The diagonal is the hypotenuse of the triangle formed by the width and the height. A 55-inch 16:9 screen is about 47.94 in wide and 26.96 in tall, since 47.94² + 26.96² ≈ 55².
- What are Pythagorean triples?
- Sets of three whole numbers that satisfy a² + b² = c², such as 3-4-5, 5-12-13 and 8-15-17. Multiplying a triple by any whole number gives another one: 6-8-10, 9-12-15 and so on.