Skip to main content
← Back to all tools

Pythagoras' Theorem Calculator

Pythagoras' theorem for a right-angled triangle — enter 2 sides.

Find a side
a = 3b = 4c = ?
Diagram for illustration only — not to scale
Examples

How to use it

  • Pythagoras' theorem: in any right-angled triangle, the square of the hypotenuse equals the sum of the squares of the two legs — c² = a² + b².
  • Choose which side is unknown: a or b (a leg) or c (the hypotenuse — the side opposite the right angle).
  • Enter the two known sides; they must be positive numbers.
  • Note: when finding a leg, the hypotenuse must be the longest side.
  • The result is rounded to 4 decimal places and shown with a guided solution.

Related tools

✍️ Written by the MathsUK teamChecked against the National Curriculum and GCSE specifications

We keep your progress and preferences in your browser only (local storage), and use analytics cookies to improve the site. Read the privacy notice.

More information