Pythagorean Theorem Calculator
Fill in any two sides of a right triangle — the two legs, or one leg and the hypotenuse — and this tool solves for the missing side using a² + b² = c².
📌 Enter Two Sides
📊 Result
Disclaimer: This tool performs standard mathematical calculations for educational and reference purposes. Always double-check results independently for graded coursework, exams, or safety-critical applications.
Understanding the Pythagorean Theorem
The Pythagorean theorem describes a fixed relationship between the three sides of any right triangle — a triangle containing one 90° angle. It states that the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides, called the legs.
The Formula
a² + b² = c², where a and b are the two legs and c is the hypotenuse. Rearranged, this gives three versions depending on which side is missing: c = √(a² + b²), a = √(c² − b²), or b = √(c² − a²).
Worked Example
A right triangle has legs of 3 units and 4 units. Find the hypotenuse.
- Step 1: a² + b² = 3² + 4² = 9 + 16 = 25
- Step 2: c = √25 = 5 units
Because 3, 4, and 5 are all whole numbers, this is a well-known Pythagorean triple. Any multiple of it — 6-8-10, 9-12-15, and so on — also forms a valid right triangle with whole-number sides.