Geometry

How to work out the perimeter of a rectangle

The perimeter is the distance all the way around a shape. For a rectangle, add up its four sides: length + width + length + width, or more quickly (length + width) × 2. A rectangle 6 cm by 4 cm has a perimeter of (6 + 4) × 2 = 20 cm. For a square, it's side × 4.

Ages 7–114 min read
In shortRectangle: P = (L + W) × 2. Square: P = side × 4. Any shape: add up all the sides. Perimeter is measured in cm, m, km… (not cm²).

Perimeter is the distance around

Imagine an ant walking all the way around a rectangle along its edges: the distance it walks is the perimeter. Or think of the length of fence you'd need to go round a garden.

6 cm4 cm
A rectangle 6 cm by 4 cm. All the way round: 6 + 4 + 6 + 4 = 20 cm.

Why (L + W) × 2?

A rectangle has two equal lengths and two equal widths. Going all the way round means walking a length, a width, a length and a width:

6 + 4 + 6 + 4 = 20

You can group them: (6 + 4) + (6 + 4) = 10 + 10 = 20. Hence the formula (L + W) × 2. You can also work out L × 2 + W × 2 = 12 + 8 = 20.

TipFor any other shape (a triangle, a pentagon, an L-shape), just add up all the sides. For a regular shape where all sides are equal, multiply one side by the number of sides.

The perimeter of a square

A square has four equal sides, so its perimeter is side × 4. A square with 5 cm sides has a perimeter of 5 × 4 = 20 cm.

Watch the units

The lengths must be in the same unit before adding. A rectangle 2 m by 50 cm:

See how to convert cm to m.

Finding a missing side from the perimeter

A rectangle has a perimeter of 30 cm and a length of 9 cm. What is its width?

  1. Half the perimeter is 30 ÷ 2 = 15 cm (that's L + W).
  2. The width is 15 − 9 = 6 cm.

Check: (9 + 6) × 2 = 30. ✔

Perimeter or area?

PerimeterArea
What it isthe distance aroundthe surface inside
Rectangle 6 × 4(6 + 4) × 2 = 20 cm6 × 4 = 24 cm²
Unitscm, mcm², m²

See also how to find the area of a rectangle.

How to explain it to your child

The most common mistakes

  1. Adding only two sides: 6 + 4 = 10 (that's only half the perimeter).
  2. Multiplying instead of adding: 6 × 4 = 24 (that's the area).
  3. Forgetting the brackets: 6 + 4 × 2 = 14 (wrong: the sum must be worked out first).
  4. Mixing units (m and cm).
In EasyMaths, your child works out the perimeter of squares and rectangles.
In EasyMaths, your child works out the perimeter of squares and rectangles.EasyMaths exercise

Worked examples

Perimeter of a rectangle 8 cm by 3 cm
(8 + 3) × 2 = 22 cm.
Perimeter of a square with 7 m sides
7 × 4 = 28 m.
Perimeter of a rectangle 1.5 m by 80 cm, in cm
1.5 m = 150 cm. (150 + 80) × 2 = 460 cm.
A square has a perimeter of 36 cm. How long is each side?
36 ÷ 4 = 9 cm.
A rectangle has a perimeter of 24 cm and a width of 4 cm. What is its length?
Half the perimeter: 12 cm. Length: 12 − 4 = 8 cm.

Frequently asked questions

What is the formula for the perimeter of a rectangle?

P = (length + width) × 2. For a rectangle 6 cm by 4 cm: (6 + 4) × 2 = 20 cm.

How do you work out the perimeter of a square?

Multiply the length of one side by 4, because all four sides are equal: a square with 5 cm sides has a perimeter of 20 cm.

When do children learn about perimeter?

In England, children measure the perimeter of simple shapes in Year 3, work out the perimeter of rectangles in Year 4, and solve perimeter problems in Year 5 and Year 6.


Keep reading: our lesson Perimeter and area.

Find out where your child stands in 20 minutes

The EasyMaths assessment is free: around thirty varied questions covering the whole year’s curriculum, with clear results skill by skill and the exercises to work on next.

Take the free assessment →

In the curriculum: Grade 3 (Year 3) · Grade 4 (Year 4) · Grade 5 (Year 5)