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.
Perimeter P
Result-
Solution Steps
Formula: P = a + b + c
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
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.
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
- 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.
- Make sure all three measurements use the same unit. Convert if necessary before entering values.
- Enter leg a into the first input field of the calculator.
- Enter leg b into the second input field.
- Enter hypotenuse c into the third input field.
- Click Calculate. The calculator adds the three values and displays the perimeter P along with step-by-step work.
- 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:
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:
- Leg a: One of the two sides that forms the 90° angle. It can be the vertical or horizontal side, depending on orientation.
- Leg b: The other side that forms the 90° angle. Together with leg a, it defines the right angle.
- Hypotenuse c: The longest side, stretching from one acute angle vertex to the other, directly opposite the right angle.
- The Pythagorean relationship holds: a² + b² = c². This lets you verify that your three values actually form a right triangle.
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:
- If c is missing: c = √a² + b², then P = a + b + √a² + b²
- If b is missing: b = √c² – a², then P = a + √c² – a² + c
- If a is missing: a = √c² – b², then P = √c² – b² + b + c
- Always verify that c > a and c > b when using the subtraction form, otherwise the values do not form a valid right triangle.
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:
- Given: a = 5, b = 12, c = 13
- P = 5 + 12 + 13 = 30 units
- Verification: 5² + 12² = 25 + 144 = 169 = 13² ✓
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.
- P = 8 + 15 + 17 = 40 units
- Verification: 8² + 15² = 64 + 225 = 289 = 17² ✓
- This triple is useful in construction layouts where 40-unit fence or trim lengths are needed.
Example 3 — Decimal Sides
Not all right triangles have neat whole-number sides. Given: a = 2.5, b = 6, c = 6.5.
- P = 2.5 + 6 + 6.5 = 15 units
- Verification: 2.5² + 6² = 6.25 + 36 = 42.25 = 6.5² ✓
- Decimal values work the same way: just add them directly.
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:
- Fencing: A triangular garden bed or corner lot requires fencing around all three sides. The perimeter tells you how many linear feet of fencing to buy.
- Trim and molding: A triangular architectural feature (like a gable end) needs trim along its edges. The perimeter gives the total trim length.
- Wire and rope: Framing a right-angled display, banner, or sail requires rope, wire, or edging equal to the perimeter.
- Jogging and walking paths: A triangular running track or walking path around a right-angled park area has a total distance equal to the perimeter.
- Construction layout: Builders use the 3-4-5 rule to check if a corner is square. Knowing the perimeter helps verify measurements.
- Craft and sewing: Binding, piping, or lace around a triangular cushion or pennant requires perimeter-length material.
- Map and survey calculations: Surveyors measure triangular land plots and need the perimeter for boundary descriptions and property records.
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:
- 1 inch = 2.54 cm
- 1 foot = 12 inches = 0.3048 m
- 1 yard = 3 feet = 0.9144 m
- 1 meter = 100 cm = 3.2808 feet
- 1 kilometer = 1000 m = 0.6214 miles
- 1 mile = 5280 feet = 1.6093 km
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:
- Using only two sides: The perimeter requires all three sides. Forgetting the hypotenuse or one leg gives an incomplete answer.
- Mixing units: If leg a is in inches and leg b is in centimeters, the sum has no meaning. Convert to a single unit first.
- Confusing perimeter with area: Perimeter is a length (measured in units), while area is a surface (measured in square units). Make sure you know which one the problem is asking for.
- Using sides that don’t form a right triangle: Check that a² + b² = c². If this equation doesn’t hold, the triangle isn’t a right triangle and c is not a true hypotenuse.
- Rounding too early: If one side is irrational (like √2), keep full precision until the final addition to avoid accumulating rounding error.
- Entering the hypotenuse as a leg: The hypotenuse must be the longest side. If you place a shorter value in the hypotenuse field, the diagram will look wrong and the Pythagorean check will fail.
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:
- P is always greater than 2 × (longest side) because the other two sides add additional length.
- P is always less than 3 × (longest side) because c > a and c > b, so a + b < 2c.
- For a 45-45-90 triangle with legs of length k, P = k + k + k√2 = k(2 + √2) ≈ 3.414k.
- For a 30-60-90 triangle with shortest leg k, P = k + k√3 + 2k = k(3 + √3) ≈ 4.732k.
- Among all right triangles with the same hypotenuse, the isosceles right triangle (45-45-90) has the largest perimeter.
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.