MATH

Right triangle calculator

Find the hypotenuse from two perpendicular sides.

01 / INPUTS

Your numbers

02 / YOUR RESULT
5
Hypotenuse, in your input units

Default inputs are examples. Change them to match your situation.

How to use this calculator

Find the hypotenuse from two perpendicular sides. Enter side a (same units), side b (same units). The result updates when you change an input. To compare two sets of inputs, save scenario A, then enter the second set; the result panel shows the difference.

Formula and limits

For a right triangle: c = √(a² + b²). The inputs must be the two sides that meet at the right angle.

Worked example

The following example uses the calculator’s starting values. It is an illustration of the method, not a recommended target.

InputExample value
Side a (same units)3
Side b (same units)4

Hypotenuse, in your input units: 5

Interpreting your result

Use consistent units when a calculator asks for lengths or areas. Negative inputs are accepted only where the operation supports them. Display rounding does not change the underlying formula.

Comparing alternatives

Save the first result as scenario A, then change one input. The comparison shows the numeric difference; it does not label either result as better. Choose inputs that describe realistic alternatives. Values shown on screen are rounded, so calculations from rounded intermediate results may differ slightly.

Background reading

OpenStax Algebra and Trigonometry. This is a subject reference, not an endorsement or independent review of Calcaven.

Implementation updated September 25, 2026 · How we check calculations