Hypotenuse Calculator

Hypotenuse Calculator

Calculate the hypotenuse of a right triangle using the Pythagorean theorem.

Last updated: April 2026 | By Patchworkr Team

Right Triangle Sides

Result will appear here...

What is the Hypotenuse?

The hypotenuse is the longest side of a right triangle, opposite the right angle (90°). The Pythagorean theorem, formalized by the ancient Greek mathematician Pythagoras around 570 BCE, establishes the fundamental relationship: c² = a² + b², where c represents the hypotenuse and a and b are the other two sides. This elegant mathematical principle has been known to ancient civilizations for millennia, including the Babylonians, Egyptians, and Indians, though it bears Pythagoras's name. The theorem extends beautifully into three-dimensional space through the distance formula, allowing us to calculate diagonal distances in 3D coordinates: d = √[(x₂-x₁)² + (y₂-y₁)² + (z₂-z₁)²]. In physics, the hypotenuse concept applies to vector magnitudes, where the components of a velocity vector can be combined to find the total velocity magnitude. The hypotenuse is always longer than either of the other two sides, making it geometrically unique. This relationship forms the foundation for trigonometry, coordinate geometry, and countless engineering calculations where diagonal measurements are essential.

Real-world applications of hypotenuse calculations are ubiquitous in construction, surveying, physics, and engineering. Construction workers regularly use the 3-4-5 Pythagorean triple to ensure square corners when framing houses and buildings—if the diagonal of a rectangle measures exactly to the calculated hypotenuse, the corners are at perfect 90° angles. Surveyors use hypotenuse calculations to measure distances across terrain, determining land plot dimensions and distances between survey points. In navigation and GPS technology, the Pythagorean theorem calculates straight-line distances between waypoints, forming the basis for route optimization in transportation systems. Architects use hypotenuse calculations for roof spans, diagonal bracing in structural designs, and calculating sight lines. In physics and engineering, velocity vectors combine using the Pythagorean theorem—an object moving north at 3 m/s and east at 4 m/s has a resultant velocity magnitude of 5 m/s at a 45° angle. Electrical engineers apply this in AC circuit analysis with impedance calculations. Computer graphics relies heavily on distance calculations using the Pythagorean theorem for rendering, collision detection, and animation. The hypotenuse forms the basis of signal processing, where multi-component signals are combined to find total magnitude, essential in audio engineering, telecommunications, and radar systems.

How to Calculate the Hypotenuse

  1. 1.
    Identify the two sides of the right triangle
    Why: You need to know both perpendicular sides to apply the theorem. Make sure one side is the hypotenuse (opposite the 90° angle)—never use the hypotenuse as an input side.
  2. 2.
    Square both side measurements
    Why: The Pythagorean theorem specifically works with squared values. Squaring brings the relationship into quadratic form, which eliminates the need to deal with the square root until the final calculation.
  3. 3.
    Add the two squared values together
    Why: The theorem states that the sum of squares of the two sides equals the square of the hypotenuse. This additive relationship is the core of the mathematical principle and allows us to combine the two perpendicular dimensions into a single diagonal measurement.
  4. 4.
    Take the square root of the sum
    Why: Since we squared the values in step 2, we must undo that operation by taking the square root. This inverse operation converts the calculated squared hypotenuse back into the actual hypotenuse length in the original units.
  5. 5.
    Verify and interpret the result
    Why: Always check that the hypotenuse is longer than both input sides—if not, there's an error. Verify units are consistent and the magnitude makes sense for your application before using it for construction, design, or calculations.

Real-World Example

Construction: Roof Span Measurement

Scenario:

A construction crew is building a house with a roof pitched against a wall. They need to install a brace from the top of the wall (8 feet high) to the ground at a horizontal distance of 6 feet from the wall base. This brace forms the hypotenuse of a right triangle.

Given Information:

  • Vertical height: a = 8 feet (wall height)
  • Horizontal distance: b = 6 feet (ground distance)

Step-by-Step Calculation:

Step 1: Square the vertical side: 8² = 64
Step 2: Square the horizontal side: 6² = 36
Step 3: Add the squares: 64 + 36 = 100
Step 4: Take the square root: √100 = 10
Step 5: Apply the formula: c = √(8² + 6²) = √(64 + 36) = √100 = 10 feet
Step 6: Verification: 10 > 8 and 10 > 6 ✓ (hypotenuse is longest)
Step 7: For material ordering: The brace must be at least 10 feet long, buy 10.5 feet for cutting margins
Step 8: Application: This diagonal brace provides structural support, preventing wall sway and distributing roof weight

Result:

10 feet (brace length)

This calculation ensures the brace fits properly and can support the structural load as designed.

Frequently Asked Questions

Can any triangle use this formula?

No, only right triangles. The triangle must have a 90° angle.

What if I know the hypotenuse and one side?

Rearrange: the other side = √(c² - known_side²)

What are Pythagorean triples?

Sets of three whole numbers that satisfy a² + b² = c². Common examples: (3,4,5), (5,12,13), (8,15,17).

Is (3,4,5) special?

Yes! It's the simplest Pythagorean triple. It scales up too: (6,8,10), (9,12,15), etc.

How accurate is the calculator?

The calculator uses floating-point arithmetic, accurate to about 8 decimal places for most values.

Can the hypotenuse be shorter than the other sides?

No. By definition, the hypotenuse is always the longest side of a right triangle.

Who discovered this theorem?

While named after Pythagoras, ancient civilizations (Babylonians, Egyptians, Indians) knew of this relationship.

What's an isosceles right triangle?

A right triangle where the two non-hypotenuse sides are equal. The hypotenuse = side × √2.

Related Tools