📏 Enter known values
Formula Reference
Worked example
If we use the result to calculate Side A, we should get the value you entered:
How to calculate the perimeter of a triangle
The perimeter of a triangle is the sum of its three sides:
\[ P = \text{Side}_A + \text{Side}_B + \text{Side}_C \]
If you know the perimeter and two sides, the third one is:
\[ \text{Side}_C = P - \text{Side}_A - \text{Side}_B \]
How to use the calculator
- Enter three of the four values.
- Leave empty the one you want to find.
- Press Calculate. Use the same unit for all the sides.
Worked examples
1. Sides of 5, 7 and 9 cm
\[ P = 5 + 7 + 9 = 21\ \text{cm} \]
2. Third side with a perimeter of 30 m
Sides of 8 m and 12 m: \( 30 - 8 - 12 = 10 \) m.
3. Right triangle with only the legs
If you only know the legs of a right triangle, find the hypotenuse first with the Pythagorean theorem. With legs of 6 and 8, the hypotenuse is \( \sqrt{36 + 64} = 10 \) and the perimeter is \( 6 + 8 + 10 = 24 \).
Special triangles
- Equilateral (three equal sides): \( P = 3 \times \text{Side} \).
- Isosceles (two equal sides): \( P = 2 \times \text{Equal side} + \text{Base} \).
- Scalene (three different sides): add the three.
Can these three sides form a triangle?
Each side must be shorter than the sum of the other two (the triangle inequality). With 3, 4 and 9 there is no triangle, because 3 + 4 = 7 is less than 9. Check it before trusting a perimeter.
Area from the three sides (Heron's formula)
With the perimeter you can also get the area. Call \( s \) half the perimeter:
\[ A = \sqrt{s(s - a)(s - b)(s - c)} \]
For sides of 5, 7 and 9: \( s = 10.5 \) and \( A = \sqrt{10.5 \times 5.5 \times 3.5 \times 1.5} \approx 17.41 \).
When Do You Need to Calculate the Perimeter of a Triangle?
Corner lots and plots between roads are often triangular. Adding the three sides gives the length of fence or wall to enclose them.
Accurate fencing for corner and wedge-shaped lotsTriangular sails, pennants and tent panels get a hem or a rope along their edges. The perimeter tells how much tape or rope you need.
Buy the right length of edging or ropeThe gable end of a roof and each roof truss form a triangle. The perimeter gives the length of timber or trim needed to build or finish it.
Material lists for roof framingBeds in corners are often triangular. The perimeter gives the edging, and the area (with Heron's formula) the soil.
Plan edging and soil for corner bedsA trip between three points and back to the start is the perimeter of the triangle they form. It helps estimate the length of a delivery or a training loop.
Estimate the length of a closed routePerimeter problems often check whether three lengths can form a triangle, or combine the perimeter with the Pythagorean theorem.
Practice with sums and inequalitiesCommon Mistakes
⚠️ Leaving Out a Side
⚠️ Impossible Triangles
⚠️ Using the Height as a Side
⚠️ Confusing Perimeter and Area
⚠️ Missing Hypotenuse
⚠️ Mixed Units
Applications by Industry
Construction
- Trusses: Timber length for triangular roof trusses
- Gables: Trim along the edges of gable ends
- Bracing: Triangular bracing in frames
Surveying
- Triangulation: Measuring land by splitting it into triangles
- Corner lots: Fence length for triangular plots
- Traffic islands: Curbs around triangular islands
Sailing & Outdoor Gear
- Sails: Edge tape and bolt rope for triangular sails
- Tents: Seams of triangular tent panels
- Shade sails: Cable along the edges of shade sails
Manufacturing
- Sheet metal: Weld length on triangular gussets
- Signs: Border of triangular warning signs
- Packaging: Edges of triangular prism boxes
Design & Crafts
- Bunting: Ribbon for triangular flags
- Quilting: Edges of triangle quilt pieces
- Jewelry: Wire for triangular frames
Education
- Geometry: Types of triangles and their perimeters
- Inequalities: The triangle inequality
- Heron's formula: Area from the three sides
External Resources
- Types of triangles and how to find the perimeter by adding the sides — Math is Fun
- Triangle definition, properties, and perimeter — Wikipedia
- The triangle inequality: when three lengths form a triangle — Wolfram MathWorld