AbraCalc

Pythagorean Leg Calculator

Find the missing leg of a right triangle when the hypotenuse and one leg are known. Uses the rearranged Pythagorean theorem to solve for leg b = sqrt(c^2 - a^2). Instant result.

Embed this tool on your site

How to use this tool

  1. Enter hypotenuse c and known leg a in the fields above.
  2. Results update instantly as you type โ€” or click Calculate.
  3. Read your missing leg b and the full breakdown beneath it.

Formula

b = sqrt(c^2 - a^2)

How it works

Rearrange the Pythagorean theorem: b = โˆš(cยฒ โˆ’ aยฒ). The hypotenuse must be longer than leg a.

Worked example

3-4-5 triangle (find 4)

  1. c
  2. =
  3. 5
  4. ,
  5. a
  6. =
  7. 3
  8. .
  9. b
  10. =
  11. s
  12. q
  13. r
  14. t
  15. (
  16. 2
  17. 5
  18. -
  19. 9
  20. )
  21. =
  22. s
  23. q
  24. r
  25. t
  26. (
  27. 1
  28. 6
  29. )
  30. =
  31. 4
  32. .

Common mistakes to avoid

  • Entering the two legs instead of the hypotenuse and one leg โ€” this calculator solves for a missing leg given the hypotenuse c and known leg a; entering two legs instead gives a meaningless result.
  • Getting the formula backwards and computing sqrt(a^2 + c^2) instead of sqrt(c^2 - a^2), giving a number larger than c which violates triangle geometry.
  • Entering a value for the known leg that is larger than the hypotenuse โ€” since b = sqrt(c^2 - a^2), if a > c the argument is negative and there is no real solution.

Key terms

Frequently asked questions

How do I know which side is the hypotenuse?
The hypotenuse is always the side opposite the right angle (90 degree corner). It is always the longest side in a right triangle.
Can I use this to verify that a triangle is a right triangle?
Yes. If a^2 + b^2 = c^2 holds for the three given side lengths (with c as the longest), the triangle is a right triangle by the converse of the Pythagorean theorem.
What if I know both legs and need the hypotenuse?
Use the standard Pythagorean theorem: c = sqrt(a^2 + b^2). This calculator is specifically for finding a missing leg when the hypotenuse and one leg are known.

References & sources