Pythagorean Theorem Calculator

Calculate any side of a right triangle using the Pythagorean theorem (a² + b² = c²). Enter any two sides to find the third.

Inputs

Right triangle diagramA right triangle with legs a and b meeting at the right angle, and hypotenuse c opposite, illustrating a² + b² = c².CABabc
a^2 + b^2 = c^2

Results

\begin{aligned} c &= \sqrt{a^2 + b^2} \\ &= \sqrt{(3\,\text{m})^2 + (4\,\text{m})^2} \\ &= ?\,\text{m} \end{aligned}
\begin{aligned} a &= \sqrt{c^2 - b^2} \\ &= \sqrt{(?\,\text{m})^2 - (4\,\text{m})^2} \\ &= 3\,\text{m} \end{aligned}
\begin{aligned} b &= \sqrt{c^2 - a^2} \\ &= \sqrt{(?\,\text{m})^2 - (3\,\text{m})^2} \\ &= 4\,\text{m} \end{aligned}

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?