Right Triangle Solver logo
Right Triangle Solver

Measurement Calculator

Right Triangle Perimeter Calculator

Enter leg a, leg b, and hypotenuse c to calculate the total perimeter of a right triangle.

Calculate Right Triangle Perimeter

This calculator finds Perimeter P using P = a + b + c.

Enter inputs to calculate Perimeter P.

How This Right Triangle Perimeter Calculator Works

Enter all three sides of a right triangle to instantly compute the total distance around it. The calculator shows the formula, step-by-step work, and a live diagram so you can verify every value before using the result.

Use this page when you already know all three side lengths of a right triangle and need the total boundary length. It is designed for quick arithmetic, unit-aware inputs, and easy visual checking.

Known values

Leg a, leg b, and hypotenuse c

Finds

Perimeter P, the total distance around the triangle

Main formula

P = a + b + c

Best for

Fencing, trim, layout checks, geometry homework, and edge-length planning

Right Triangle Perimeter Formula

P=a+b+cP = a + b + c

The perimeter of any polygon is the total length of its boundary. For a right triangle, the boundary consists of exactly three straight sides: two legs (a and b) that form the 90° angle, and one hypotenuse (c) that stretches across from the right angle to the opposite vertex.

Because a right triangle has only three sides, the perimeter formula is the simplest possible sum. No trigonometry, square roots, or exponents are needed — just addition.

Right Triangle Diagram: Perimeter Uses All Three Sides

The diagram highlights the full outside path of the right triangle. Perimeter is not an inside measurement; it is the sum of the two legs and the hypotenuse.

Right Triangle Diagram: Perimeter Uses All Three Sides Right triangle perimeter diagram showing side a, side b, hypotenuse c, and formula P = a + b + c. a b c P = a + b + c

Diagram Key

a = first leg

Leg a is one side of the 90 degree corner and is included once in the perimeter.

b = second leg

Leg b is the other side of the right angle and is added together with a and c.

c = hypotenuse

Hypotenuse c is the longest side, opposite the right angle, and completes the boundary.

P = total boundary length

The calculator adds a + b + c and returns the perimeter in the selected linear unit.

  • All three sides should use the same unit before you compare or reuse the answer.
  • If one side is missing, solve that side first with the Pythagorean theorem, then return to perimeter.
  • The perimeter result is a length, not a square-unit area.

How to Find the Perimeter of a Right Triangle

  1. Identify all three sides of the right triangle. Label the two shorter sides as leg a and leg b, and the longest side as hypotenuse c.
  2. Make sure all three measurements use the same unit. Convert if necessary before entering values.
  3. Enter leg a into the first input field of the calculator.
  4. Enter leg b into the second input field.
  5. Enter hypotenuse c into the third input field.
  6. Click Calculate. The calculator adds the three values and displays the perimeter P along with step-by-step work.
  7. Review the result in the diagram to visually confirm the side lengths match your triangle.

Worked Example: Find the Perimeter of a 3-4-5 Right Triangle

The 3-4-5 triangle is one of the most common Pythagorean triples. Given a = 3, b = 4, c = 5:

P=a+b+cP = a + b + c
P=3+4+5P = 3 + 4 + 5
P=12P = 12

The perimeter of this right triangle is 12 units. Since 3² + 4² = 9 + 16 = 25 = 5², the sides satisfy the Pythagorean theorem and confirm a valid right triangle.

What Is the Perimeter of a Right Triangle?

The perimeter of a right triangle is the total distance you would travel if you walked along all three edges of the triangle, starting at one vertex and returning to the same vertex. It represents the outer boundary of the triangular shape.

Every right triangle has three sides: two legs that meet at the right angle (90°) and one hypotenuse opposite the right angle. The hypotenuse is always the longest of the three sides. When you add the lengths of all three sides together, you get the perimeter.

The perimeter is a one-dimensional measurement expressed in linear units (such as centimeters, meters, feet, or inches). This is different from the area, which measures the two-dimensional space inside the triangle and is expressed in square units.

Understanding the Sides of a Right Triangle

Before calculating the perimeter, it helps to clearly identify each side of the right triangle. Mislabeling a side is the most common source of errors.

In the standard labeling convention, the two sides that form the right angle are called legs. The side opposite the right angle is called the hypotenuse. The hypotenuse is always longer than either leg individually, but it is always shorter than the sum of the two legs.

The three sides at a glance:

How the Perimeter Formula Is Derived

The perimeter formula P = a + b + c is a direct application of the general polygon perimeter definition: add the lengths of all sides. For a triangle, there are exactly three sides, so the perimeter is the sum of three lengths.

No derivation or rearrangement is needed because the formula is the simplest possible case of perimeter measurement. However, the formula becomes more interesting when only two sides are known, because you can use the Pythagorean theorem to find the missing third side and then compute the perimeter.

Finding Perimeter When One Side Is Missing

If you know only two of the three sides of a right triangle, you can still find the perimeter. Use the Pythagorean theorem (a² + b² = c²) to calculate the missing side first, then add all three to get the perimeter.

This approach lets you work with the two most common scenarios: knowing both legs but not the hypotenuse, or knowing the hypotenuse and one leg but not the other.

Formulas for each missing-side case:

Additional Worked Examples

Practicing with different triangles helps build confidence. Below are three more worked examples using common Pythagorean triples and decimal values.

Example 1 — The 5-12-13 triangle:

Example 2 — The 8-15-17 Triangle

Given: a = 8, b = 15, c = 17. This is another Pythagorean triple where all sides are whole numbers.

Example 3 — Decimal Sides

Not all right triangles have neat whole-number sides. Given: a = 2.5, b = 6, c = 6.5.

Perimeter vs. Area: What Is the Difference?

Perimeter and area both describe a triangle, but they measure different things. The perimeter measures the total edge length around the outside (a linear measurement), while the area measures the enclosed space inside the triangle (a square measurement).

For a right triangle with legs a and b and hypotenuse c, the two formulas are: P = a + b + c for perimeter, and A = (a × b) / 2 for area. Notice that the area formula uses only the two legs (because they are perpendicular), while the perimeter formula uses all three sides.

A common mistake is confusing the two. If a problem asks for the distance of fencing around a triangular plot, you need the perimeter. If it asks for the surface coverage (like painting or tiling), you need the area.

Real-World Applications of Right Triangle Perimeter

Knowing the perimeter of a right triangle is essential in many practical situations. Whenever you need to measure, cut, or purchase material that goes around the edges of a right-angled triangular shape, the perimeter tells you exactly how much material is required.

Common real-world uses:

Relationship Between Perimeter and Semiperimeter

The semiperimeter (s) is exactly half the perimeter: s = P / 2 = (a + b + c) / 2. While the perimeter gives you the total boundary length, the semiperimeter is a convenience value used in more advanced formulas.

The semiperimeter appears in Heron’s formula for triangle area: A = √[s(s–a)(s–b)(s–c)]. It is also used to calculate the inradius (the radius of the inscribed circle): r = A / s. So the perimeter is the starting point for several important triangle calculations.

If you have already calculated the perimeter using this tool, you can find the semiperimeter by simply dividing the result by 2, or use our dedicated semiperimeter calculator.

Unit Conversion Tips

The perimeter result is only meaningful when all three input sides use the same unit. If your measurements are in different units, convert them first. The calculator includes a unit selector for each input field to handle conversions automatically.

Remember that the perimeter is a linear measurement, so conversions follow standard length ratios — not area ratios. For example, to convert from feet to meters, multiply by 0.3048 (not by 0.3048²).

Quick conversion reminders:

Common Mistakes When Calculating Perimeter

The perimeter formula is simple, but mistakes still happen. Most errors come from incorrect inputs rather than wrong arithmetic. Catching these issues before you calculate saves time and prevents wrong answers.

Watch out for these pitfalls:

Perimeter Properties of a Right Triangle

Right triangles have special perimeter properties that set them apart from other triangles. Understanding these properties can help you verify your calculations and catch errors.

In any right triangle, the hypotenuse c is always less than the sum of the two legs (a + b) but greater than either leg alone. This means the perimeter P is always greater than 2c (since a + b > c) and less than 2(a + b), which equals 2a + 2b.

Key perimeter properties:

help

Frequently Asked Questions

Answers to the most common right-triangle solving questions.

01 What is the formula for the perimeter of a right triangle? expand_more

The perimeter formula is P = a + b + c, where a and b are the two legs (the sides forming the 90° angle) and c is the hypotenuse (the longest side, opposite the right angle). Simply add all three side lengths together.

02 What does each variable mean in P = a + b + c? expand_more

P is the perimeter (total boundary length). a is one leg of the right triangle. b is the other leg. c is the hypotenuse — the longest side that sits opposite the right angle. The two legs form the 90° corner.

03 Can I find the perimeter with only two sides? expand_more

Yes, but you must first calculate the missing third side using the Pythagorean theorem: c = a² + b² if the hypotenuse is missing, or a missing leg = c² – known leg². Then add all three sides to get the perimeter.

04 Is perimeter the same as area? expand_more

No. Perimeter (P = a + b + c) measures the total distance around the triangle in linear units (cm, m, ft). Area (A = a×b/2) measures the enclosed space inside the triangle in square units (cm², m², ft²). They are fundamentally different measurements.

05 Do all three sides need to be in the same unit? expand_more

Yes. All three sides must be expressed in the same unit before adding. If one side is in inches and another in centimeters, convert them to a common unit first. The calculator includes unit selectors on each input to handle this automatically.

06 What is the perimeter of a 3-4-5 right triangle? expand_more

The perimeter is 3 + 4 + 5 = 12 units. The 3-4-5 triangle is the smallest Pythagorean triple with integer sides. Any scaled version (like 6-8-10 or 9-12-15) maintains the same ratio with the perimeter scaling proportionally.

07 How do I verify my triangle is actually a right triangle? expand_more

Check that a² + b² = c², where c is the longest side. If this equation holds true, the triangle has a 90° angle and is a right triangle. If it doesn’t hold, the perimeter formula still works but the triangle is not right-angled.

08 What is the relationship between perimeter and semiperimeter? expand_more

The semiperimeter is exactly half the perimeter: s = P/2. If the perimeter P = 12, then the semiperimeter s = 6. The semiperimeter is used in Heron’s formula and inradius calculations.

09 Can the perimeter of a right triangle be an odd number? expand_more

Yes. The perimeter can be any positive number — integer, decimal, or irrational. For example, a right triangle with legs 1 and 1 has hypotenuse 2 ≈ 1.414, giving perimeter ≈ 3.414, which is neither an integer nor rational.

10 Why is the hypotenuse always the longest side? expand_more

In a right triangle, the hypotenuse is opposite the largest angle (90°). A fundamental rule in geometry is that the longest side is always opposite the largest angle. Since no angle in a triangle can exceed the right angle, c is always the longest side.

Related Calculators