1CalcHub — Free Online Calculators
Home/Global Math/Pythagorean Theorem Calculator

Math & science

Right triangles

Pythagorean Theorem Calculator

Solve the missing side of a right triangle using the Pythagorean theorem.

Interactive calculator

Solve right triangles with the Pythagorean theorem

Choose which side is missing, enter the known sides, and calculate the remaining side of a right triangle.

Results

Leg A

3

Leg B

4

Hypotenuse

5

How to use it

  1. 01Choose which side you want to solve for.
  2. 02Enter the known side lengths.
  3. 03Review the completed right triangle with the missing side filled in.

Result guide

  • The hypotenuse must always be the longest side in a valid right triangle.
  • When solving for a leg, the hypotenuse must be larger than the known leg.
  • This calculator is limited to right triangles, not arbitrary triangles.

About this calculator

The Pythagorean theorem is one of the most-used geometry relations because right triangles show up in math, construction, surveying, and engineering.

A useful page should solve either the hypotenuse or a missing leg so the user does not need separate tools for different right-triangle setups.

Frequently asked questions

Why must the hypotenuse be the longest side?

Because it lies opposite the right angle and is always longer than either leg in a right triangle.

Can this solve any triangle?

No. The Pythagorean theorem applies specifically to right triangles.

How is this related to the distance formula?

The distance formula is essentially the Pythagorean theorem applied to coordinate differences.

Method and limitations

This calculator uses the formula and assumptions described on this page. We do not claim independent professional review. Direct references will be listed here when they support a specific rule or data source used by this calculator.

Results are estimates for general information. Verify current rules and assumptions before making financial, tax, or health decisions.

Read our Editorial and Verification Policy →

Related calculators

Keep the next question one click away.