Skip to content
Advertisement
Hosinger Special Offer

Pythagorean Theorem Calculator

Pythagorean Theorem Calculator from Gizcalc helps you estimate results quickly within the Math & Statistics category.

  • Instant results
  • Charts & tables
  • Save & compare
  • Private – runs in your browser
Missing Side —

Sample inputs are pre-filled so you can see a result quickly. Results are estimates only and may not be accurate because prices, interest rates, taxes, fees, fuel costs, tariffs, market returns, medical costs, and local rules can change. Please verify current values before making financial, tax, legal, medical, or business decisions.

Formula used

c = √(a² + b²) and b = √(c² − a²)

  • a, b = the two legs (the sides forming the right angle)
  • c = the hypotenuse, the longest side

About the Pythagorean Theorem Calculator

What is the 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: a² + b² = c². It is one of the most used results in geometry, construction, navigation and physics.

Choose whether to find the hypotenuse or a missing leg, then enter the two known sides. The calculator also gives the triangle's area, its perimeter and the two acute angles, so you get the complete solution of the triangle.

How to use the Pythagorean Theorem Calculator

  1. Find (sample: Hypotenuse c (from legs a and b))
  2. Leg a (sample: 3)
  3. Leg b (when finding the hypotenuse) — used when finding the hypotenuse. (sample: 4)
  4. Hypotenuse c (when finding a leg) — used when finding a leg; it must be longer than leg a. (sample: 5)
  5. Press Solve Triangle (results also refresh as you type). The result card shows the Missing Side, along with Area, Perimeter, Angle opposite a and Angle opposite b.

Formula used

c = √(a² + b²) and b = √(c² − a²)

  • a, b = the two legs (the sides forming the right angle)
  • c = the hypotenuse, the longest side

The angle opposite a is tan⁻¹(a ÷ b), and the two acute angles always add up to 90°.

Worked example

These are the sample values already filled in the calculator above, and the result it returns for them:

InputSample value
FindHypotenuse c (from legs a and b)
Leg a3
Leg b (when finding the hypotenuse)4
Hypotenuse c (when finding a leg)5
ResultValue
Hypotenuse c5
Area6
Perimeter12
Angle opposite a36.8699°
Angle opposite b53.1301°

Tips for using the Pythagorean Theorem Calculator

  • Well-known whole-number triples: 3-4-5, 5-12-13, 8-15-17 and 7-24-25. Any multiple, such as 6-8-10, also works.
  • Builders use the 3-4-5 rule to set out a right angle: mark 3 m and 4 m along two lines; the diagonal between the marks should be exactly 5 m.
  • Ladder problems: a 5 m ladder with its foot 3 m from a wall reaches √(25 − 9) = 4 m up the wall.

Frequently asked questions

In a right-angled triangle, a² + b² = c², where c is the hypotenuse and a and b are the other two sides.

Square both legs, add them and take the square root. For legs of 3 and 4: √(9 + 16) = √25 = 5.

Subtract the square of the known leg from the square of the hypotenuse and take the square root. With c = 13 and a = 5: √(169 − 25) = √144 = 12.

Only for right-angled triangles. For other triangles use the law of cosines, c² = a² + b² − 2ab cos C, which reduces to Pythagoras when C = 90°.