Pythagorean Hypotenuse
Calculates the Straight-line distance / hypotenuse with c = √(a² + b²). Enter Leg a and Leg b; the default example returns 5.
Calculator InputsFormula v1.0
c = √(a² + b²)
Straight-line distance / hypotenuse
Step-by-Step Mathematical Working
Formula and method
c = √(a² + b²)The hypotenuse is always longer than either leg but shorter than their sum, and the relationship holds only for triangles with a true 90° angle.
Variables
- x
- Leg a
- y
- Leg b
Worked example
With Leg a = 3 and Leg b = 4, the formula gives straight-line distance / hypotenuse = 5. Change one input to see how the result responds.
Who this calculator is for
Written for students checking geometry and percentage homework, teachers preparing worked examples, and anyone who needs a quick sanity check on a hand calculation. It shows the substitution, the arithmetic and the units so the result can be checked by hand.
Complete guide to the pythagorean hypotenuse
Every figure below comes from this calculator itself. The method is c = √(a² + b²), applied to the tool's default inputs and then stress-tested one input at a time.
What the Pythagorean Hypotenuse works out
Pythagorean Hypotenuse answers one specific question: Calculates the Straight-line distance / hypotenuse with c = √(a² + b²). Enter Leg a and Leg b; the default example returns 5. It is written for written for students checking geometry and percentage homework, teachers preparing worked examples, and anyone who needs a quick sanity check on a hand calculation. It shows the substitution, the arithmetic and the units so the result can be checked by hand.
The method is c = √(a² + b²). The inputs are Leg a, Leg b. With the default values - Leg a = 3, Leg b = 4 - the result is Straight-line distance / hypotenuse: 5. Raising Leg a from 3 to 3.30 moves the headline result from 5 to 5.1856.
Working through the reported figures
Alongside 5 this method reports 2 supporting quantities: Leg a: 3; Leg b: 4. Taken together they show which input moved the answer and by how much.
The arithmetic as executed: Use the stated relationship: c = √(a² + b²). Substitute Leg a = 3 and Leg b = 4. Evaluate: Straight-line distance / hypotenuse = 5. Sensitivity check: multiply Leg a by 1.1 and confirm the result changes in the direction the formula predicts. Run the same substitution yourself; a match confirms the inputs were read as you intended.
How to interpret the answer
The hypotenuse is always longer than either leg but shorter than their sum, and the relationship holds only for triangles with a true 90° angle.
Read it as one scenario: 5 with leg a at 3 holds only for the inputs shown. Change whichever input you are genuinely unsure about and read the pair of figures together.
Common mistakes to avoid
Using the formula on a triangle without a right angle, where the general law of cosines is required instead. Solving for a leg with the same addition step, when a leg needs the other leg squared subtracted from the hypotenuse squared.
Before relying on the figure, re-read Leg a, Leg b and confirm each entry matches its label, including whether a quantity is entered in the unit the label names. Adjust Leg a on its own and watch whether the result behaves as the method says it should - here 5 should shift smoothly rather than jump.
Limitations and responsible use
Requires Euclidean geometry and one right angle; it does not apply to spherical or non-Euclidean triangles. Returns the hypotenuse only, so a missing leg needs the rearranged c² − a² form.
All of the above holds only within those limits. You can retrace every step from the formula printed above; what cannot be checked from here is whether the inputs describe your situation accurately. For a consequential decision, check the current figure against a primary source, since published values are revised.
Frequently asked questions
What is the hypotenuse of a triangle with legs 3 and 4?
√(9 + 16) = √25 = 5. The 3-4-5 triple is the smallest whole-number right triangle, which is why builders use it to square a corner.
How do I check a corner is really 90°?
Measure 3 units along one wall and 4 along the other; if the diagonal is exactly 5 the angle is square. Any deviation from 5 indicates an angle above or below 90°.
Related Mathematics Calculators
Explore another calculator in this subject.
Scientific Calculator – Free Online Calculator With Trig, Logs & Memory
A full scientific calculator with DEG/RAD trigonometry, inverse and hyperbolic functions, powers, roots, logarithms, factorials, percentages, constants, memory registers, Ans recall and a running calculation tape.
Basic Calculator – Free Online Four-Function Calculator
Add, subtract, multiply, divide, and take percentages with a clean four-function calculator that also reports the running expression and a transparent result breakdown.
Random Number and Password Generator
Generate cryptographically strong random integers in a range, unique lottery-style picks, or secure passwords with configurable length and character classes.