On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Geometry Fundamentals · Grade 3-5

Perimeter

Perimeter is the total distance around the boundary of a two-dimensional shape.

P=sum of all side lengths

Quick Answer

Perimeter is the total distance around the boundary of a two-dimensional shape. Use it when a problem asks how much fence, ribbon, trim or edging goes around something, or how far you walk along the edge. Add the lengths of all the sides. A rectangle 5 m long and 3 m wide has perimeter 5+3+5+3=16 m. The answer is a length, in plain units like metres, not square units.

Why This Matters

Perimeter tells you how much material goes around something: fence for a garden, a frame for a picture, a border for a bulletin board. Buy too little fence and there is a gap. Working out area by mistake gives a number in square units that does not tell you how much fence to buy. Perimeter also compares routes, such as walking around a field instead of across it.

Intuitive Explanation

Imagine an ant walking along the edge of a rectangular sticker 5 cm long and 3 cm wide. It walks 5 cm, turns, walks 3 cm, turns, walks 5 cm, turns, walks 3 cm and is back where it began. Altogether it walked 5+3+5+3=16 cm. That total walk is the perimeter. Because a rectangle's opposite sides match, you can also double the length and the width: 2×5+2×3=16 cm.

Every side counts, even ones that are easy to miss. An L-shaped room has 6 walls, so its perimeter has 6 lengths to add. If a side has no label, work it out from the others: if the whole bottom edge of the L is 8 m and one of its two top edges is 5 m, the other top edge must be 8−5=3 m, because together the two top edges span the same width as the bottom.

Perimeter is not the space inside. A 4 m by 4 m square and a 6 m by 2 m rectangle both have perimeter 16 m, yet the square holds 16 squares of 1 m by 1 m and the long rectangle holds only 12. Ask what the job needs: a fence or a border goes around, so it is perimeter; grass or carpet covers the inside, so it is area, measured in square units.

Think of it like this. Perimeter is like a piece of string laid once around the edge of a shape. Cut the string where the ends meet and pull it straight: its length is the perimeter. Bend the same string into a different outline and the perimeter stays the same, even though the space inside changes.

Core idea. Perimeter measures the distance around a shape.


When to Use

Find the perimeter when the problem says around, fence, border, frame, trim or edge, or asks how far someone walks along the outside. Add every side, including sides you have to work out from the others. If the problem says cover, fill, paint or tile, it wants area. If it asks for the distance around a circle, use circumference, which needs π.

Tip. Ask: Would I solve it by tracing the boundary?

How to Recognize It

Before adding sides, check that the answer is a length around the outside and that you know every side, labelled or not.

  1. Does the job run along the edge, like a fence, a frame or a ribbon?

    If yes, add the side lengths to get the perimeter. If the job covers the inside, like carpet, paint or grass, it is area, and you multiply instead of adding.

  2. Are any side lengths missing from the picture?

    If yes, work them out first. In a rectangle, opposite sides are equal; in an L-shape, the two short pieces on one side add up to the long side across from them. Every side counts once, even the unlabelled ones.

  3. Is the shape round?

    If yes, the distance around it is called circumference, and it needs π, because there are no straight sides to add. If every side is straight, a plain sum of the sides gives the perimeter.

  4. Does the question ask for one edge only?

    If yes, it wants a side length, not the perimeter. Sometimes it runs backwards: a square has a perimeter of 20 m, so each side is 20÷4=5 m.

Perimeter compared with Area and Side length

Perimeter, area and side length all use the same side measurements, so it is easy to grab the wrong one. Ask whether you go once around the edge, cover the inside, or need just one side.

Perimeter

Meaning
Use this when the problem asks for distance around a flat shape.
Key test
Would I solve it by tracing the boundary?
Formula
P=sum of all side lengths
Example
A rectangular garden is 9 meters long and 4 meters wide. How much fencing is needed?

Area

Meaning
Amount of surface inside the shape.
Key test
Use for covering or tiling.
Formula
A=lw
Example
Carpet for a room

Side length

Meaning
One part of the boundary.
Key test
Use when only one edge is requested.
Example
Width of a garden

Formula & Notation

P=sum of all side lengths
For a polygon with vertices V1,V2,…,Vn: P=∑i=1n∣ViVi+1∣ where Vn+1=V1

How to read it: Perimeter is a length, so units stay linear: centimeters, meters, feet, and so on.

Worked Examples

Example 1 — Garden fence

Easy

A rectangular garden is 9 meters long and 4 meters wide. How much fencing is needed?
Show the steps and the answer
  1. List all four sides: two are 9 m and two are 4 m.

    A rectangle's opposite sides are equal, so the two sides not mentioned match the ones given.

  2. Add them: 9+4+9+4=26.

    The fence runs along every side once, so each side's length is added once.

  3. Check with the shortcut: 2×9+2×4=18+8=26.

    Doubling the length and the width gives the same total, which shows no side was skipped.

  4. Write the unit: 26 meters.

    Fencing is a length, so the unit is meters, not square meters.

Answer: 26 meters

Takeaway: For fencing, add every side once; for a rectangle that is two lengths plus two widths.

Example 2 — Garden soil

Standard

The same garden needs soil spread over the inside. Which measure is needed?
Show the steps and the answer
  1. Ask where the soil goes: across the whole inside, not along the edge.

    Covering a surface is measured by area, the number of unit squares inside.

  2. Find the area: 4 rows of 9 one-meter squares, 4×9=36 square meters.

    Multiplying counts the squares row by row instead of one at a time.

  3. Compare with the fence: 26 meters around, 36 square meters inside.

    The units differ because the numbers measure different things: a length around and a surface inside.

Answer: Area, not perimeter

Takeaway: Soil, grass and tiles cover the inside, so they need area in square units; fences and borders go around, so they need perimeter.

Example 3 — Find the mistake: ribbon around a picture

Application

A rectangular picture is 12 inches long and 8 inches wide. Mia wants ribbon around its edge and writes: "12×8=96 inches of ribbon." Find the mistake and correct it.
Show the steps and the answer
  1. Ask what the ribbon does: it goes around the edge.

    Going around the edge is perimeter, so the side lengths must be added.

  2. Mia multiplied, which finds the area: 96 square inches of picture.

    Multiplying length by width counts the squares inside the rectangle, not the distance around it.

  3. Add the four sides: 12+8+12+8=40 inches.

    The ribbon covers each side once.

  4. Sense check: 96 inches is 8 feet of ribbon, far too much for a picture only 1 foot long.

    12 inches make 1 foot, so the trip around a 12 by 8 inch picture cannot be 8 feet.

Answer: 40 inches of ribbon

Takeaway: Ribbon, frames and fences go around, so add the sides; multiplying gives the inside, in square units.

Where You'll See It

  • Fencing a dog run

    A dog run 10 m long and 6 m wide has perimeter 2×10+2×6=32 m. If the gate is 1 m wide, the fence panels only have to cover 32−1=31 m.

  • Running laps around a soccer field

    A soccer field 100 m long and 64 m wide has perimeter 2×100+2×64=328 m. Three laps around the edge is 3×328=984 m, almost a kilometre.

  • Framing a poster

    A poster 60 cm by 40 cm needs a frame strip 60+40+60+40=200 cm long, which is 2 m. Frame shops price frames by this length, so they measure the perimeter, not the area of the poster.

Common Mistakes

  1. The slip: Multiplying length and width for a fence problem

    Instead: add side lengths for perimeter.

  2. The slip: Forgetting hidden or repeated sides

    Instead: every boundary segment counts.

  3. The slip: Using square units

    Instead: perimeter is measured in ordinary length units.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. A square photo frame has sides of 12 cm. What is its perimeter?

    Hint: How many sides does a square have, and are they equal?

  2. A triangle has sides of 5 m, 7 m and 9 m. What is its perimeter?

    Hint: Add every side once.

  3. A rectangle has a perimeter of 30 cm and a length of 10 cm. How wide is it?

    Hint: Take away the two lengths first, then share what is left between the two widths.

  4. An L-shaped room has sides of 8 m, 4 m, 5 m, 2 m, 3 m and 6 m. What is its perimeter?

    Hint: Count every side of the boundary, even the short ones near the inside corner.

  5. You want to glue ribbon around the edge of a card that is 20 cm by 15 cm. Do you need the perimeter or the area?

    Hint: Does the ribbon go around the edge or cover the inside?

  6. A student finds the perimeter of a 7 m by 4 m rectangle as "7×4=28 square metres." Correct the mistake.

    Hint: Walk around the rectangle and add each side.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Why does cutting a corner out of a rectangle sometimes leave the perimeter the same?

Cut a small square notch out of one corner. You lose two short pieces of the outside edge, but two new edges of exactly the same lengths appear inside the notch, so the trip around stays the same length. A 6 cm by 4 cm rectangle has a perimeter of 20 cm. Cut a 1 cm square from a corner and the perimeter is still 20 cm, even though the area drops from 24 to 23 square cm.

Why do people write the perimeter of a rectangle as 2(l+w)?

In a rectangle the sides come in two matching pairs, so length plus width is half the trip around, and doubling it gives the whole perimeter. For a 7 m by 3 m rectangle, 2(7+3)=2×10=202(7+3)=2\times10=20 m, the same as 7+3+7+37+3+7+3. The shortcut only works for rectangles and squares, where opposite sides are equal.

On grid paper, can I count the squares along the edge to get the perimeter?

Count the edges of squares, not the squares. Along a straight side each border square touches the edge with one side, so the counts match. A corner square touches the edge with two sides, so counting squares misses one unit at every corner. A 3 by 2 rectangle has 6 squares, and every one touches the edge, yet its perimeter is 3+2+3+2=103+2+3+2=10 units.

Is there a quick way when all the sides are equal?

Yes: multiply instead of adding. The perimeter is the number of sides times the length of one side. A square with 7 cm sides has a perimeter of 4×7=284\times7=28 cm, and a stop-sign shape with 8 equal sides of 30 cm has a perimeter of 8×30=2408\times30=240 cm. The shortcut fails if even one side is a different length, so check the side marks first.

Learning Path

Perimeter

You are here

You need Addition and Basic Shapes first: perimeter means knowing the sides of a shape and adding their lengths. Perimeter adds the idea of measuring a boundary, plus the shortcut 2×length+2×width for rectangles. Next comes Area, which measures the inside instead, and Circumference, which is the perimeter of a circle.

See Also