How to Calculate the Hypotenuse of a Right Triangle: Formula and Step-by-Step Guide

Math

How to Calculate the Hypotenuse of a Right Triangle: Formula and Step-by-Step Guide

Published: June 15, 2026
Updated: June 15, 2026

Understanding the Hypotenuse of a Right Triangle

In the world of geometry, the right triangle is one of the most fundamental shapes. It is defined by having one angle that measures exactly 90 degrees, often referred to as a right angle. The side opposite this right angle is known as the hypotenuse. It is always the longest side of the triangle and plays a crucial role in various mathematical and real-world applications. Understanding how to calculate the hypotenuse is essential for students, architects, engineers, and even DIY enthusiasts working on home improvement projects.

The other two sides of the triangle, which meet at the 90-degree angle, are called the legs. In mathematical notation, these legs are usually labeled as 'a' and 'b', while the hypotenuse is labeled as 'c'. The relationship between these three sides is governed by a mathematical principle that has been used for thousands of years: the Pythagorean theorem. By using this theorem, you can find the length of the hypotenuse as long as you know the lengths of the other two sides.

The Pythagorean Theorem Formula

The most reliable way to calculate the hypotenuse is by using the Pythagorean theorem. This formula states that in any right-angled triangle, the square of the length of the hypotenuse is equal to the sum of the squares of the lengths of the other two sides. The formula is expressed as follows:

a² + b² = c²

In this equation, 'a' and 'b' represent the lengths of the two legs, and 'c' represents the length of the hypotenuse. To find the actual length of 'c', you must take the square root of the sum of the squares of 'a' and 'b'. Therefore, the formula to solve for the hypotenuse directly is:

c = √(a² + b²)

This formula is the foundation of trigonometry and is used extensively in fields ranging from navigation to computer graphics. It allows for precise measurements without needing to physically measure every single distance, provided the relationship between the sides forms a right angle.

How to Calculate the Hypotenuse Step by Step

Calculating the hypotenuse manually is a straightforward process if you follow a logical sequence of steps. Even if you are using a calculator at calculatorr.com, understanding the manual process helps you verify the results and understand the underlying logic.

Step 1: Identify the Legs

First, ensure that the triangle you are working with is indeed a right triangle. Look for the 90-degree angle symbol (usually a small square in the corner). Once confirmed, identify the lengths of the two legs, 'a' and 'b'. It does not matter which leg is 'a' and which is 'b', as the addition in the formula is commutative.

Step 2: Square the Lengths of the Legs

Multiply the length of each leg by itself. For example, if leg 'a' is 3 units long, its square (a²) is 9. If leg 'b' is 4 units long, its square (b²) is 16. Squaring the numbers ensures that all values are positive and prepares them for the geometric relationship defined by the theorem.

Step 3: Add the Two Squares Together

Take the results from the previous step and add them. Using our example, you would add 9 and 16 to get 25. This sum represents the square of the hypotenuse (c²).

Step 4: Find the Square Root

The final step is to find the square root of the sum. The square root of 25 is 5. Therefore, the length of the hypotenuse 'c' is 5 units. This specific combination (3, 4, 5) is known as a Pythagorean triple because all three sides are whole numbers.

Practical Examples of Hypotenuse Calculation

To better understand how this works in practice, let's look at a few scenarios with different numbers. These examples reflect common problems found in textbooks and real-life situations.

Example 1: The Standard 5-12-13 Triangle

Suppose you have a right triangle where one leg is 5 cm and the other leg is 12 cm. To find the hypotenuse:
1. Square the legs: 5² = 25 and 12² = 144.
2. Add the squares: 25 + 144 = 169.
3. Take the square root: √169 = 13.
The hypotenuse is 13 cm.

Example 2: Dealing with Decimals

In many real-world cases, the numbers are not perfect integers. Imagine a triangle with legs of 7.5 meters and 10.2 meters.
1. Square the legs: 7.5² = 56.25 and 10.2² = 104.04.
2. Add the squares: 56.25 + 104.04 = 160.29.
3. Take the square root: √160.29 ≈ 12.66.
The hypotenuse is approximately 12.66 meters.

Example 3: The Isosceles Right Triangle

An isosceles right triangle has two legs of equal length. If both legs are 10 inches long:
1. Square the legs: 10² = 100 and 10² = 100.
2. Add the squares: 100 + 100 = 200.
3. Take the square root: √200 ≈ 14.14.
The hypotenuse is approximately 14.14 inches.

Real-World Applications of the Pythagorean Theorem

The ability to calculate the hypotenuse is not just an academic exercise; it has significant practical utility in daily life and professional industries. Here are some ways this calculation is applied:

Construction and Carpentry

Builders use the Pythagorean theorem to ensure that corners are perfectly square. By measuring 3 feet on one wall and 4 feet on the adjacent wall, the diagonal distance (the hypotenuse) must be exactly 5 feet. If it is not, the corner is not at a 90-degree angle. This is often called the 3-4-5 rule in the trades.

Determining Screen Sizes

When you buy a television or a computer monitor, the size advertised (e.g., 55 inches) is the diagonal length of the screen. If you know the width and height of the screen, you can use the hypotenuse formula to verify the diagonal size or determine if a specific TV will fit in your cabinet.

Navigation and Travel

If you are traveling 30 miles North and then 40 miles East, the shortest distance back to your starting point is the hypotenuse of the right triangle formed by your path. Navigators and pilots use these calculations to determine the most efficient routes between two points.

Ladder Safety

When leaning a ladder against a wall, the ladder itself forms the hypotenuse. The distance from the base of the wall to the foot of the ladder is one leg, and the height the ladder reaches on the wall is the other. Calculating these lengths helps in determining if a ladder is long enough for a specific job or if it is placed at a safe angle.

Common Mistakes When Calculating the Hypotenuse

Even though the formula is simple, errors can occur. Being aware of these common pitfalls can help you maintain accuracy in your calculations.

  • Forgetting to Square the Numbers: Some users mistakenly add the lengths of the legs (a + b) and then try to square the result. This is mathematically incorrect. You must square each leg individually before adding them.
  • Forgetting the Square Root: It is common to stop after adding a² and b². Remember that the sum is c², not c. You must always perform the final square root operation to get the actual length.
  • Using the Wrong Triangle Type: The Pythagorean theorem only works for right triangles. If the triangle does not have a 90-degree angle, you must use the Law of Cosines instead.
  • Rounding Too Early: If you are working with decimals, try to keep as many decimal places as possible until the final step. Rounding early in the process can lead to significant errors in the final hypotenuse length.

Using an Online Hypotenuse Calculator

While manual calculation is a great way to learn, using an online calculator at calculatorr.com offers several advantages, especially when dealing with complex numbers or multiple calculations. An online tool provides instant results, reducing the risk of human error in squaring or finding square roots.

To use a hypotenuse calculator, you simply need to enter the lengths of the two legs. The tool automatically applies the Pythagorean theorem and provides the result, often with high precision. This is particularly useful for professionals who need to perform these calculations quickly and accurately throughout the day. Furthermore, many online calculators can also help you find the length of a missing leg if you already know the hypotenuse and one other side, by rearranging the formula to a² = c² - b².

Interpreting Your Results

Once you have calculated the hypotenuse, it is important to check if the result makes sense. Since the hypotenuse is the longest side of a right triangle, the value you obtain must always be greater than either of the two legs. If your calculated hypotenuse is shorter than one of the legs, there has been an error in your calculation.

Additionally, the units of measurement must remain consistent. If your legs are measured in inches, your hypotenuse will be in inches. If you are working with different units (e.g., one leg in centimeters and one in meters), you must convert them to the same unit before starting the calculation. Understanding these results allows you to apply the data effectively, whether you are cutting a piece of wood, planning a travel route, or solving a physics problem.

Summary Table of Pythagorean Triples

Pythagorean triples are sets of three positive integers that perfectly satisfy the theorem. Knowing these can help you quickly identify hypotenuse lengths without a calculator.

Leg ALeg BHypotenuse C
345
51213
81517
72425
94041

These triples are often scaled up. For example, a triangle with legs of 6 and 8 will have a hypotenuse of 10, which is simply the 3-4-5 triple multiplied by two. Recognizing these patterns can save significant time in both academic and professional settings.

Why Choose Calculatorr.com?

We're dedicated to providing the most accurate, easy-to-use calculators for all your needs.

100% Free

All of our calculators are completely free to use, no hidden fees or subscriptions.

Private & Secure

Your data never leaves your browser. We don't store any of your calculations.

Mobile Friendly

Use our calculators on any device - desktop, tablet, or smartphone.