Math Last updated: July 2026

Hypotenuse Calculator

Instantly find the hypotenuse or a missing leg of a right triangle using the Pythagorean theorem. Enter the lengths of the two legs to get the step-by-step solution.

How to Use the Hypotenuse Calculator

Interactive calculator available after JavaScript loads.

Loading calculator...

Written by Calculator Archive Team

Math & Finance Experts — Verified Formulas, Peer-Reviewed Sources, Expert Analysis

Looking for a deeper explanation?

Read our comprehensive, peer-reviewed educational article in our Blog to learn the underlying math, formulas, and step-by-step examples.

Read Blog Guide ›

Mathematical Formula & Logic

c = sqrt(a^2 + b^2)
Variable Glossary
a, b The lengths of the perpendicular sides (legs)
c The length of the hypotenuse

Step-by-Step Worked Calculation

Scenario: Finding the Hypotenuse of a 5-12 Right Triangle

A carpenter is laying out a corner and needs to verify the diagonal length of legs measuring 5 inches and 12 inches.

1

Step 1: Set leg a = 5, leg b = 12.

2

Step 2: Square both legs: 5² = 25, 12² = 144.

3

Step 3: Add squared values: 25 + 144 = 169.

4

Step 4: Take the square root of 169 to find hypotenuse c = 13.

How to Use the Hypotenuse Calculator

  1. 1. To find the hypotenuse, enter the lengths of both perpendicular legs (Side a and Side b).
  2. 2. To find a missing leg, enter the known leg and the hypotenuse.
  3. 3. Observe the precise decimal result and the step-by-step equation expansions.

What Is a Hypotenuse Calculator?

Hypotenuse Calculator is a mathematical computation tool that helps you calculate the hypotenuse (c) of a right triangle instantly. Supports decimal outputs, square root simplify steps, and finds missing leg lengths. It applies established mathematical principles to deliver accurate results, often showing the underlying formula and step-by-step working so you can understand the computation process.

Why This Calculation Matters

Mathematical calculations form the foundation of science, engineering, finance, and everyday problem-solving. Hypotenuse Calculator helps you work through calculations accurately and efficiently, reducing the risk of manual arithmetic errors. Whether you are a student learning concepts, a professional verifying work, or anyone needing quick and reliable math results, this tool ensures precision and saves time.

Historical Background

Mathematics has evolved over thousands of years, from ancient Babylonian clay tablets and Egyptian papyri to Greek formal proofs by Euclid and Archimedes. The development of algebra by Persian mathematician al-Khwarizmi in the 9th century and the invention of calculus by Newton and Leibniz in the 17th century laid the groundwork for modern computation. Hypotenuse Calculator continues this tradition by making mathematical operations accessible through digital technology.

Frequently Asked Questions

Complete indexable directory of answers (6 questions)

What is a Pythagorean triple?

A Pythagorean triple consists of three positive integers (a, b, c) that satisfy the formula, such as (3, 4, 5), (5, 12, 13), or (8, 15, 17).

Which side of a right triangle is the hypotenuse?

The hypotenuse is always the longest side and is situated directly opposite the 90-degree right angle.

Can a hypotenuse be shorter than one of the legs?

No. Geometrically, the hypotenuse must always be strictly longer than either individual leg.

What mathematical formula does the Hypotenuse Calculator use?

The Hypotenuse Calculator uses standard mathematical formulas validated against authoritative references. The specific formula is displayed in the calculator interface with a detailed explanation of each variable.

How can I verify the Hypotenuse Calculator results manually?

Each calculator includes a step-by-step worked example showing exactly how the formula is applied. You can follow these steps with pen and paper to verify any result.

What types of inputs does the Hypotenuse Calculator accept?

The Hypotenuse Calculator accepts numeric inputs including integers and decimals. Invalid inputs (letters, special characters) are rejected with clear error messages.