Pythagorean Theorem Calculator

The Pythagorean theorem states that in a right-angled triangle, the square of the hypotenuse (the side opposite the right angle) equals the sum of the squares of the other two sides. Use this calculator to find any missing side or the angles of a right triangle.

Hypotenuse c
5
Leg a
3
Leg b
4
Angle A
36.87 °
Angle B
53.13 °

Frequently asked questions

What is the hypotenuse?

The hypotenuse is the longest side of a right triangle, always opposite the right angle (90°). It is what 'c' represents in the theorem.

Can this be used for 3D distances?

Yes - for 3D distance, extend the formula: d = √(a² + b² + c²). Calculate in two steps: first find the 2D diagonal using two sides, then use it with the third side.

Related calculators

Embed this calculator

Free to use on any site. Please keep the credit link.

<iframe
  id="letmecalc-pythagorean-calculator"
  src="https://letmecalc.com/embed/math/pythagorean-calculator"
  title="Pythagorean Theorem Calculator"
  width="100%"
  height="620"
  style="border:0;max-width:100%"
  loading="lazy"
></iframe>
<p><a href="https://letmecalc.com/math/pythagorean-calculator" target="_blank" rel="noopener">Pythagorean Theorem Calculator</a> by letmecalc</p>
<script>
(function () {
  var f = document.getElementById("letmecalc-pythagorean-calculator");
  window.addEventListener("message", function (e) {
    if (e.origin !== "https://letmecalc.com") return;
    if (!f || e.source !== f.contentWindow) return;
    var d = e.data;
    if (!d || d.source !== "letmecalc-embed" || d.type !== "resize") return;
    if (typeof d.height === "number" && d.height > 0) {
      f.style.height = d.height + "px";
    }
  });
})();
</script>