Pythagorean theorem calculator
Enter any two sides of a right triangle and leave the third empty. Side c is the longest side, across from the right angle.
What is the Pythagorean theorem?
In any right triangle, the two shorter sides squared and added equal the longest side squared: a² + b² = c². The longest side, c, is called the hypotenuse; it's across from the right angle. Example: sides 3 and 4 give 9 + 16 = 25, so c = √25 = 5. To find a shorter side, subtract instead: a = √(c² − b²).
How we calculate this
c = √(a² + b²); a = √(c² − b²); b = √(c² − a²). Answers are rounded to 4 decimal places. It only works for right triangles (one 90° angle). Saved only on this device.
Questions moms ask
Does it work for any triangle?
No, only right triangles (with one 90° angle).
What's a “Pythagorean triple”?
Whole numbers that fit exactly, like 3-4-5, 5-12-13 and 8-15-17.
Where is it used in real life?
Checking square corners, finding a TV's screen size, or how long a ladder needs to be.
Is it saved?
Your last numbers are saved on this device.
Related tools
This tool gives an estimate, not medical advice. Every pregnancy and every baby is different. If you're worried about anything, talk to your doctor or midwife.