Pythagoras Theorem Calculator
Find any side of a right-angled triangle using Pythagoras' theorem (a² + b² = c²). Enter any two sides to calculate the third, with full step-by-step working — from squaring each side to taking the square root.
Finding hypotenuse (c) — a² + b² = c²
Side c
5
How it works
Write Pythagoras' theorem
In a right-angled triangle, the square of the hypotenuse (c) equals the sum of the squares of the other two sides.
Substitute known sides
Substitute a = 3, b = 4.
Calculate squares
3² = 9, 4² = 16.
Add
9 + 16 = 25.
Square root
c = √25 = 5.
Result:c = 5
Pythagoras' theorem
Example substitution
The classic 3-4-5 right triangle. 9 + 16 = 25, so c = √25 = 5.
Worked examples
A right triangle has legs a = 3 and b = 4. Find the hypotenuse.
- 1Formula: a² + b² = c²
- 2Substitute: 3² + 4² = 9 + 16 = 25
- 3Square root: c = √25 = 5
A right triangle has hypotenuse c = 13 and leg b = 5. Find a.
- 1Rearrange: a² = c² − b²
- 2Substitute: a² = 169 − 25 = 144
- 3Square root: a = √144 = 12
A ladder 10 m long leans against a wall. The base is 6 m from the wall. How high does it reach?
- 1Setup: a² + 6² = 10²
- 2Calculate: a² = 100 − 36 = 64
- 3Square root: a = 8 m
Frequently asked questions
What is the Pythagoras theorem?+
In a right-angled triangle, a² + b² = c², where c is the hypotenuse (longest side, opposite the right angle).
How do you find the hypotenuse?+
c = √(a² + b²). Square both shorter sides, add them, then take the square root.
How do you find a shorter side using Pythagoras?+
Rearrange: a = √(c² − b²). Subtract the square of the known short side from the hypotenuse squared.
What is a Pythagorean triple?+
Three whole numbers that satisfy a² + b² = c². Common examples: 3,4,5 and 5,12,13.
Who was Pythagoras?+
Pythagoras was an ancient Greek mathematician (c. 570–495 BC). The theorem bearing his name was known in Babylon centuries earlier, but he is credited with its proof.
How do I know which side is the hypotenuse?+
The hypotenuse is always the longest side and is always opposite the right angle (90° angle).