Home · Math · Trigonometry · Perimeter of a Right Triangle Calculator

Perimeter of a Right Triangle Calculator

Perimeter of a right triangle from its legs: the two legs plus the hypotenuse from Pythagoras.

Your figures

Example result — edit the figures to make it yours

12

Perimeter

Hypotenuse5.00
Area6.00

What this calculator does

Perimeter of a right triangle from its legs: the two legs plus the hypotenuse from Pythagoras. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Perimeter = a + b + √(a² + b²)

The perimeter adds all three sides; the third side is the hypotenuse, sqrt(a² + b²). All lengths must share the same unit.

All angles are entered and returned in degrees.

Side lengths may use any consistent unit; areas use the square of that unit.

Worked example

With the example inputs this page opens with (leg a 3, leg b 4), the result is 12.00 — perimeter. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying leg a
Leg aPerimeter
1.59.77
2.411.06
312.00
3.7513.23
4.514.52
617.21

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Perimeter of a Right Triangle Calculator work?

Perimeter of a right triangle from its legs: the two legs plus the hypotenuse from Pythagoras. Leg a, leg b → Perimeter, hypotenuse, area. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Perimeter of a Right Triangle Calculator need?

Leg a, leg b → Perimeter, hypotenuse, area. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Perimeter of a Right Triangle Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.