To get the perimeter of a rectangle, add the length and width, then double the result:

P=2(l+w)P = 2(l + w)

Here ll is the length and ww is the width. Perimeter is the total distance around the outside, so the answer is written in linear units such as cm, m, or ft. The same rule can be written P=2l+2wP = 2l + 2w — both forms are correct, and both assume the two sides are in the same unit.

Why Doubling the Sum Works

A rectangle has two sides of length ll and two of width ww. Add all four:

l+w+l+wl + w + l + w

Combine like terms:

2l+2w2l + 2w

Factor out the 22:

2(l+w)2(l + w)

That is the whole reason for the formula. You are measuring a boundary, not the space inside, which is why the result is a length rather than an area.

Worked Example: Length 8 cm, Width 5 cm

A rectangle has length 88 cm and width 55 cm. Apply the formula:

P=2(l+w)=2(8+5)P = 2(l + w) = 2(8 + 5)

Add inside the parentheses, then multiply:

P=2(13)=26P = 2(13) = 26

So the perimeter is 2626 cm. Verify by adding all four sides directly:

8+5+8+5=268 + 5 + 8 + 5 = 26

The results match, so the setup is correct.

Practice and Self-Check

Work this one out: a rectangle with length 1212 m and width 44 m. Start from P=2(l+w)P = 2(l + w), then run two checks of your own:

  • Is your final unit meters, not square meters?
  • Is your answer larger than either single side? It must be, because the perimeter includes all four sides. If it comes out smaller than the length or the width, the setup is wrong.

Common Mistakes

  1. Mixing up perimeter and area. Perimeter is the distance around; area is the space inside.
  2. Forgetting that each side length appears twice. Using l+wl + w alone misses half the boundary.
  3. Mixing units — meters for one side and centimeters for the other without converting first.
  4. Writing square units. Perimeter is measured in linear units like cm, m, or ft, never cm2\text{cm}^2.

When You Use It

Reach for rectangle perimeter whenever you need the length around a rectangular object: fencing a garden, framing a picture, trimming a window, or measuring the border of a tabletop. If the shape is actually a square, this formula still works because l=wl = w, and it simplifies to P=4sP = 4s.

Frequently Asked Questions

What is the formula for the perimeter of a rectangle?
The perimeter of a rectangle is P equals 2 times the sum of the length and width, which can also be written as 2l plus 2w. Both forms are correct because a rectangle has two sides of each length, so adding all four sides gives l plus w plus l plus w. The formula only works if both side lengths use the same unit.
How do you find the perimeter of a rectangle with length 8 cm and width 5 cm?
Substitute into the formula: 2 times the quantity 8 plus 5, which is 2 times 13, giving 26 cm. You can check by adding all four sides directly: 8 plus 5 plus 8 plus 5 equals 26. The answer should always be larger than either single side, since the perimeter includes all four sides.
What units should perimeter be written in?
Perimeter is a distance around a boundary, so it should be written in linear units such as centimeters, meters, or feet, never in square units. Writing square centimeters is a common mistake that confuses perimeter with area, which measures the space inside the shape rather than the distance around it.
Does the rectangle perimeter formula work for a square?
Yes. A square is a rectangle whose length equals its width, so the formula 2 times the sum of length and width still applies. In that case it simplifies to 4 times the side length. So you can use either the rectangle formula or the shortcut 4s and get the same answer.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →