Perimeter of a triangle
P
The distance around it: the three sides added together.

P=12cm
P equals (3 plus 4) plus 5, equals 7 plus 5, equals 12 cm
Den här sidan finns på svenska. Byt till svenska
Definition — what does that mean?
The distance around: the three sides laid end to end.
In Swedish: Triangelns omkrets
P
The distance around it: the three sides added together.

P=12cm
P equals (3 plus 4) plus 5, equals 7 plus 5, equals 12 cm
You are given
Pick the unit your lengths are in. Areas are then labelled in square units and volumes in cubic units; nothing is converted.
Questions that start in another formula and end in this one.
A right-angled triangle has two known legs. How long is the hypotenuse, and what is the perimeter of the triangle?
You are given
Carry a rounded answer into the next step if you like. That is marked right too.
Opens when step 1 is answered.
The perimeter is the sides laid end to end. A triangle has three:
That is the definition of a perimeter, written for a figure with three sides. No side has to equal any other, and no angle has to be a right angle.
The perimeter. A triangle has sides of 3 cm, 4 cm and 5 cm. The perimeter is 3 + 4 + 5 = 12 cm.
Backwards. The perimeter is 12 cm and two of the sides are 3 cm and 4 cm. The third is 12 − 3 − 4 = 5 cm.
With Pythagoras first. A right-angled triangle has legs of 5 cm and 12 cm. The hypotenuse is √(5² + 12²) = 13 cm by the Pythagorean theorem, so the perimeter is 5 + 12 + 13 = 30 cm.
The sum can always be worked out, but it does not always belong to a triangle. Each side has to be shorter than the other two together:
| Sides | Sum | Triangle? |
|---|---|---|
| 3, 4, 5 | 12 | Yes |
| 2, 3, 4 | 9 | Yes |
| 2, 3, 6 | 11 | No — 2 + 3 is shorter than 6 |
Worked backwards, the same rule says the side you get has to be shorter than half the perimeter. The card above shows a warning when it is not.
How do I find the perimeter of an equilateral triangle?
All three sides are equal, so the perimeter is the side times three. An equilateral triangle with sides
of 9 cm has a perimeter of 27 cm.
Is there a formula for other shapes?
Yes — see the perimeter of a rectangle.
The idea is the same: the sides laid end to end.
| Solve for | Rearranged | With the numbers | Comes to |
|---|---|---|---|
| a | P | 12 | 3 cm |
| b | P | 12 | 4 cm |
| c | P | 12 | 5 cm |
| P | a | 3 | 12 cm |
Last reviewed October 6, 2026 ·How pages are reviewed
Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.
Sixteen questions on the perimeter of rectangles, squares, triangles and regular polygons. Sometimes a side is asked for when the perimeter is given.
Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.