Hypotenuse Calculator

Calculate the length of the hypotenuse, missing angles, and visualize your right triangle instantly.

Pythagorean Theorem (a² + b² = c²)
Triangle Dimensions
Leg A (Side 1)
Enter the length of the first short side of the right triangle.
Leg B (Side 2)
Enter the length of the second short side.
Unit (Optional)
Ensure both sides A and B use this same unit for accurate results.
Hypotenuse (Side C)
--
Length
Angle A (α)
--°
Opposite to Side A
Angle B (β)
--°
Opposite to Side B
Triangle Area
--
Square units
Perimeter
--
Total boundary length

Right Triangle Visualization

A proportionally accurate scatter plot of your calculated triangle geometry.

Side Length Proportions

A breakdown of how much of the total perimeter each side occupies.

Metric Profile Radar

Comparing the geometric magnitudes of your triangle.

Step-by-Step Calculation

How the Pythagorean theorem was applied to your numbers.

c = √(a² + b²)
  • 1. Square Leg A: --
  • 2. Square Leg B: --
  • 3. Sum of Squares: --
  • 4. Square Root (Hypotenuse): --
The Math: The Pythagorean theorem states that in a right-angled triangle, the square of the hypotenuse side (c) is equal to the sum of squares of the other two sides (a and b). We simply square both your inputs, add them together, and take the final square root to find your exact distance.

Common Pythagorean Triples

Sets of positive integers that fit the rule a² + b² = c² perfectly.

Leg A Leg B Hypotenuse (C) Area Perimeter
345612
512133030
815176040
724258456
9404118090
20212921070

What is the Hypotenuse and Why Does it Matter?

If you've ever looked at a right-angled triangle, you've likely noticed that one side is noticeably longer than the other two. That longest side is known as the hypotenuse. By geometric definition, it is the side that lies directly opposite the right angle (the 90-degree corner).

Whether you're a high school student tackling geometry homework, a carpenter building a structurally sound deck, or an engineer mapping out vectors, knowing how to find the hypotenuse is a foundational skill. Instead of doing the tedious math by hand, an advanced hypotenuse calculator instantly determines the precise length of this crucial missing side. It ensures your structural angles are true, your distances are accurate, and your calculations are error-free.

How to Use This Hypotenuse Calculator

Our right triangle calculator is designed for light-speed performance and high accuracy. To calculate the hypotenuse online, follow these steps:

  1. Identify the Legs: Find the lengths of the two shorter sides of your right triangle. These are the sides that form the 'L' shape (the 90-degree angle). It doesn't matter which one you call Leg A and which one you call Leg B.
  2. Enter the Values: Type these measurements into the Leg A and Leg B input fields above. Make sure both measurements use the same unit (e.g., both in inches or both in meters).
  3. Select a Unit (Optional): Choose your unit from the dropdown to have your final results accurately labeled.
  4. Click Calculate: The engine will instantly run the hypotenuse equation, providing you not only with the missing side 'C', but also the total area, perimeter, and the exact degrees of both interior acute angles.

Once calculated, switch over to the "Visual Charts" tab to see a proportionally accurate scatter plot of your shape!

The Mathematical Formula: a² + b² = c²

The math powering this tool was discovered thousands of years ago and is attributed to the ancient Greek philosopher Pythagoras. The Pythagorean theorem calculator relies on a remarkably elegant equation:

The Formula:
c = √(a² + b²)

Where 'a' and 'b' are the legs of the right triangle, and 'c' is the hypotenuse.

Example breakdown: If Leg A is 6 and Leg B is 8. First, you square them: 6×6 = 36, and 8×8 = 64. Next, you add the squares together: 36 + 64 = 100. Finally, you take the square root of 100, which gives you a hypotenuse length of exactly 10.

The Magic of Pythagorean Triples

In most real-world scenarios, finding the hypotenuse results in a long, messy decimal number (an irrational number). However, there are special sets of numbers that fit the formula perfectly, resulting in clean, whole integers. These are called Pythagorean Triples.

Knowing common triples is the ultimate "cheat code" for estimating a triangle side calculation without a calculator. The most famous is the 3-4-5 triangle. If a triangle has legs of 3 feet and 4 feet, the hypotenuse is exactly 5 feet. Any multiple of this also works (e.g., multiply by 2 to get a 6-8-10 triangle). Builders use the 3-4-5 rule constantly to ensure room corners are perfectly square (exactly 90 degrees).

4 Real-World Examples & Applications

The Pythagorean theorem isn't just for math class; it is used every day by professionals across various industries. Here are four practical examples using our missing side calculator:

🔨 Example 1: Marcus (Carpenter)

Marcus is laying out a wooden foundation for a shed. He measures 9 feet down one wall and 12 feet down the adjacent wall.

Leg A / Leg B: 9 ft / 12 ft
Calculated Hypotenuse: 15 ft
Insight: To check if his corner is perfectly square (90°), Marcus hooks his tape measure diagonally. If it reads exactly 15 feet, he knows the corner is perfect.

📐 Example 2: Elena (Architect)

Elena is designing a sloped roof. The vertical height (rise) from the attic floor is 10 meters, and the horizontal distance (run) is 24 meters.

Leg A / Leg B: 10 m / 24 m
Calculated Hypotenuse: 26 m
Insight: By calculating the hypotenuse, Elena determines she needs exactly 26 meters of roofing material for the sloped rafter section.

🎒 Example 3: David (Physics Student)

David is calculating the resultant displacement vector of an object that moved 5 units East and 7 units North.

Leg A / Leg B: 5 / 7
Calculated Hypotenuse: 8.602
Insight: The calculator not only gives David the exact magnitude of the vector (8.602), but the "Results" tab also gives him the vector angle (≈54.4°).

✂️ Example 4: Sarah (DIY Enthusiast)

Sarah wants to cut a diagonal support beam for a custom rectangular shelf that is 30 inches wide and 40 inches tall.

Leg A / Leg B: 30 in / 40 in
Calculated Hypotenuse: 50 in
Insight: Sarah knows she needs to cut her wooden support brace to exactly 50 inches to perfectly span the diagonal gap.

Finding the Hypotenuse Using Trigonometry

While our calculator uses two known sides (Leg A and Leg B) via the a2 + b2 = c2 calculator method, what if you only know ONE side and one angle? In that case, you must step beyond the Pythagorean theorem and use Trigonometry (SOH CAH TOA).

  • If you have the Opposite side and an Angle: Use the Sine function. Hypotenuse = Opposite / Sin(θ).
  • If you have the Adjacent side and an Angle: Use the Cosine function. Hypotenuse = Adjacent / Cos(θ).

Fortunately, if you have two sides, our tool automatically calculates these trigonometric angles for you behind the scenes, outputting Angle A (α) and Angle B (β) instantly.

Add This Calculator to Your Website

Are you an educator, math blogger, or construction professional? Give your readers access to a lightning-fast, visually stunning geometric tool. Add this calculate hypotenuse online widget securely to your pages.

👇 Copy the HTML code below to embed:

Frequently Asked Questions (FAQ)

Get quick, accurate answers to the most common Google search questions about right triangles and hypotenuses.

What is a Hypotenuse?

The hypotenuse is strictly defined as the longest continuous side of a right-angled triangle. Visually, it is the diagonal line that perfectly connects the two shorter legs, and it is always located directly opposite the 90-degree angle.

How do I find the hypotenuse of a right triangle?

To calculate it manually, you apply the Pythagorean theorem. Take the length of the first short side and square it. Take the length of the second short side and square it. Add those two numbers together, and then find the square root of the total sum.

What is the Pythagorean theorem formula?

The global standard mathematical formula is a² + b² = c². In this equation, 'a' and 'b' represent the two shorter legs of the right triangle, while 'c' exclusively represents the long hypotenuse.

Can the hypotenuse be shorter than the other legs?

Absolutely not. The laws of Euclidean geometry dictate that because the hypotenuse is opposite the largest angle in the triangle (the 90-degree right angle), it must universally be the longest of the three sides.

How do you calculate hypotenuse without a calculator?

If your measurements form a known Pythagorean Triple (such as 3-4-5, 5-12-13, or 8-15-17), you can do the math instantly in your head. If the numbers are random, you must square the legs mentally, add them, and use long-division square root estimation techniques, which can be highly complex.

What are Pythagorean Triples?

Pythagorean triples are magical sets of three positive whole numbers (integers) that completely satisfy the a² + b² = c² formula without leaving any messy decimal remainders. For example, 3² (9) + 4² (16) = 5² (25).

Do I need to know the angles to find the hypotenuse?

If you know the lengths of both Leg A and Leg B, you do not need to know any interior angles (other than knowing it is a 90-degree right triangle). However, if you only have the length of one leg, you must know at least one other interior acute angle to use trigonometric functions to solve for the hypotenuse.

Is the hypotenuse always 'C' in the formula?

Yes, by mathematical convention around the world. While you could technically assign any variable letter you want, 'a' and 'b' are universally recognized as the legs, and 'c' is the standard identifier for the hypotenuse in academic texts.

Why is calculating the hypotenuse important in real life?

It is the cornerstone of structural engineering and navigation. Carpenters use it to ensure walls and foundations are perfectly "square" (90 degrees). Architects use it to calculate roof pitches. Programmers use it to calculate the shortest distance between two points on a screen, and pilots use it to map direct flight vectors.

Engineered by Calculator Catalog

We build tools that make complex mathematics accessible. This Hypotenuse Calculator leverages high-speed algorithms to provide exact geometric outputs, detailed visual charts, and educational step-by-step breakdowns, making math effortless for students, DIYers, and professionals worldwide.