📐 Pythagorean Theorem Calculator
Enter any two sides of a right triangle.
Also known as: Hypotenuse Calculator · Right Triangle
Loading calculator…
How to use the Pythagorean Theorem Calculator
- Enter your values in the fields above — the defaults show a worked example.
- The result updates instantly as you type; change any input to compare scenarios.
- Copy or share the result, or open a related calculator below.
How it's calculated
a² + b² = c².
Frequently asked questions
Is the Pythagorean Theorem Calculator free?
How accurate is the Pythagorean Theorem Calculator?
Can I use the Pythagorean Theorem Calculator on my phone or offline?
Read more about the Pythagorean Theorem Calculator
The theorem
In any right 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². To find the hypotenuse, c = √(a² + b²). To find a leg, a = √(c² − b²).
Read more
Pythagorean triples
Some whole-number sides fit exactly: 3-4-5, 5-12-13, 8-15-17, 7-24-25, and any multiple such as 6-8-10. Builders use the 3-4-5 rule to check that corners are square: measure 3 ft along one wall and 4 ft along the other; the diagonal should be exactly 5 ft.
Real-world uses
How long a ladder do you need to reach 12 ft up a wall when its foot is 5 ft away? √(12² + 5²) = √169 = 13 ft. A TV screen’s diagonal, the shortest distance across a rectangular field and the distance between two points on a map grid all use the same formula.
Distance between two points
The distance between (x₁, y₁) and (x₂, y₂) is √((x₂ − x₁)² + (y₂ − y₁)²) — the Pythagorean theorem applied to the horizontal and vertical differences. The slope calculator shows this distance too.
When to use the Pythagorean Theorem Calculator
Use the Pythagorean Theorem Calculator for find the missing side of a right triangle. It is one of 73 free math calculators, and pairs well with the Triangle Calculator, Distance & Midpoint Calculator, Percentage Calculator and Scientific Calculator.
Tips for accurate results
Check that your input uses the expected format (decimals, fractions or one value per line), keep full precision until the final step, and use the worked formula below the result to verify the answer by hand or for homework.
Sources and review
Sources:
Every calculator is checked against published reference values before release and re-reviewed when laws, rates or guidelines change. Read our methodology and editorial policy. Found a problem? Report it — we fix errors quickly.
More Math Calculators
- 🟰 Equation Solver
- 📈 Percentage Change Calculator
- σ Standard Deviation Calculator
- ✖️ Quadratic Equation Solver
- 🎰 Random Number Generator
- ⬛ Area Calculator
- 💾 Binary / Hex / Octal Converter
- 🔣 Decimal ↔ Fraction Converter
- ⚖️ Ratio Calculator
- √ Square Root & Nth Root Calculator
- 📐 Trigonometry Calculator
- 🧱 GCD / GCF Calculator
Popular calculators
Results are estimates for information only. Calculations run privately in your browser.