Perimeter: Definition, Method and Examples
Perimeter is the total distance around the outside boundary of a two-dimensional shape. Add all side lengths, using a shortcut formula only when the shape's equal-side properties justify it. Write the result in linear units.
What is perimeter?
Perimeter measures the continuous length of a shape's outer edge. If you imagine walking along the boundary of a flat field until you return to your starting point, the total distance you walked is the perimeter.
Because perimeter measures a single dimension—length—it is always recorded in linear units, such as millimeters, centimeters, meters, or kilometers.
Perimeter focuses only on the outside boundary, never on the space inside the shape.
Trace and add the boundary
The most reliable method for finding the perimeter of any polygon is to select a starting corner, trace the outside edge, and add every side length together.

For the irregular pentagon above, the perimeter is . This addition method always works, regardless of how many sides the shape has.
Use formulas efficiently
When a shape has equal side lengths, you can use a formula to speed up the calculation. These formulas turn repeated addition into simpler multiplication.
- Square: Because a square has four equal sides, multiply one side length by . The formula is .
- Rectangle: Because opposite sides are equal, you have two identical lengths and two identical widths. Add one length and one width together, then multiply by . The formula is .
- Regular Polygon: Multiply the length of one side by the total number of sides.

Using these formulas is always a shortcut for addition, never a replacement for the concept of tracing the boundary.
Find missing side lengths
Sometimes, composite shapes—such as L-shaped rooms—are drawn with only a few measurements shown. You must calculate the missing side lengths before finding the total perimeter.

Find missing vertical lines by comparing them to the total vertical length. Find missing horizontal lines by comparing them to the total horizontal width. Only calculate the final total once every side is known.
Compare perimeter in different shapes
It is common to assume that shapes with identical boundary lengths must take up the same amount of space. However, perimeter and area behave independently.
A rectangle measuring by has a boundary length of . A square measuring by also has a boundary length of . Even though both shapes require the same amount of fencing, the square contains a larger inner space.
Understanding this boundary length prepares you to compare area and perimeter directly.
Worked examples
When calculating the perimeter of triangles, ensure all three sides are in the same unit before adding. For four-sided shapes like quadrilaterals, you add all four boundary measurements.
Example 1: Calculating boundary length
Question: What is the perimeter of a rectangle with a length of and a width of ?
Method:
- Identify the shape and the given dimensions.
- Choose the correct formula for a rectangle: .
- Substitute the given values into the formula: .
- Add the values inside the parentheses: .
- Multiply by : .
Answer: The perimeter is .
Check: Use repeated addition instead of the formula. . The result matches. You can master these specific shortcuts when you explore area and perimeter of a rectangle.
Example 2: Finding a missing side
Question: A triangle has a total perimeter of . Two of the side lengths are and . What is the length of the third side?
Method:
- Start with the formula for the perimeter of a triangle: .
- Substitute the known values: .
- Add the known side lengths: .
- Subtract from both sides to isolate the unknown side: .
- Solve for : .
Answer: The third side is long.
Check: Add all three sides together: . The result matches the total perimeter given in the question.
Example 3: Deriving an unlabelled side on a composite figure
Question: An L-shaped room has a total bottom width of and a total left height of . The top horizontal edge is and the right vertical edge is . Find the perimeter of the room.
Method:
- Identify the missing horizontal side (the inner corner). The total width is . Subtract the top width: .
- Identify the missing vertical side. The total height is . Subtract the right height: .
- List all six outer boundary sides: (bottom), (right), (inner horizontal), (inner vertical), (top), and (left).
- Add all six sides together: .
Answer: The perimeter is .
Check: A shortcut for an L-shaped figure without inward indents is . Calculate . The result is confirmed.
Common mistakes
Adding internal lines: Perimeter only measures the outside boundary. When two shapes are pushed together to form a new composite figure, the line where they touch is no longer on the outside. Do not include it in your addition.
Forgetting unlabelled sides: It is easy to assume a shape only has the sides marked with numbers. Always count the edges first to guarantee you have an equal number of measurements to add together.
Omitting units: A number alone is not a distance. Always include the correct linear unit, such as centimeters or inches, in the final answer.
Frequently asked questions
Do circles have a perimeter?
Yes, but the distance around a circle has a specific name: circumference. Because a circle has no straight sides to add, you calculate it using its radius or diameter. You can learn how to use to find this distance by studying circumference and area of a circle.
Are perimeter units squared?
No. Squared units, such as , measure the 2D space inside a shape (area). Linear units, such as , measure a 1D distance. Because perimeter is a distance, it never uses squared units.
Practice questions

What is the perimeter of this regular hexagon?
A square has a total perimeter of . What is the length of one side?

What is the missing width of the rectangle?
Which shape has the longest perimeter?
A rectangle with sides measuring and
A square with sides measuring
A triangle with sides measuring , , and
A regular pentagon with sides measuring
A regular pentagon with sides measuring

What is the correct perimeter of the complete outer figure?
