Skip to content
LoveToCalc

Theorem — what does that mean?

Perimeter of a rectangle

The distance around: two bases and two heights, written as a bracket times two.

In Swedish: Rektangelns omkrets

Perimeter of a rectangle

The relation

P=2(b+h)

The distance around it: two bases and two heights.

A rectangle with the base b and the height h. The perimeter P is the whole way round it: two bases and two heights.
Solve for

P=26cm

P equals 2 times (8 plus 5), equals 2 times 13, equals 26 cm

Working3 steps

Practice questions

You are given

  • P=22cm
  • b=7cm
7 cm?

P = 22 cm

Not to scale

Pick the unit your lengths are in. Areas are then labelled in square units and volumes in cubic units; nothing is converted.

Questions in several steps

Questions that start in another formula and end in this one.

Leg → Perimeter

A rectangle has a known side and a known diagonal. How long is the other side, and what is the perimeter?

You are given

  • Leg (a)=16cm
  • Hypotenuse (c)=34cm

Carry a rounded answer into the next step if you like. That is marked right too.

  1. Step 1

  2. Step 2

    Opens when step 1 is answered.

Where the formula comes from

The perimeter is the sides laid end to end. A rectangle has four of them, equal in pairs:

All three lines say the same thing. The last is the one usually written down, because it shows what is happening: you go once around, and half a lap is one base plus one height.

This is why the formula is filed as a theorem rather than a definition. That the perimeter is the distance around the figure is the definition; that this particular distance can be written as 2 · (b + h) is something you work out, even if the working is short.

Worked examples

A fence. The plot is 8 m wide and 5 m deep. The fence is 2 · (8 + 5) = 2 · 13 = 26 m.

Backwards. You have 26 m of fence and want the depth to be 5 m. Half the perimeter is 13 m, so the width is 13 − 5 = 8 m.

Perimeter and area do not move together

Two rectangles with the same perimeter can have very different areas.

Rectangle Perimeter Area
8 × 5 26 m 40 m²
12 × 1 26 m 12 m²

The same amount of fence, more than three times the land. Of all rectangles with a given perimeter, the square holds the largest area — 6.5 × 6.5 gets 42.25 m² out of the same 26 metres.

Questions people ask

What is it called for a circle? The circumference, which is the same idea under another name. The formula differs because there are no sides to add up — see the circumference of a circle.

Why is the answer in metres rather than square metres? Because you are adding lengths instead of multiplying them. A perimeter is a distance, just as each side is.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
bP2−h262−58 cm
hP2−b262−85 cm
P2(b+h)2(8+5)26 cm

Length units

Table

Length units
UnitIn metres
mm0.001
cm0.01
in0.0254
dm0.1
ft0.3048
yd0.9144
m1
km1,000
mi1,609.344
nmi1,852
mil10,000

Last reviewed October 6, 2026 ·How pages are reviewed

Ready-made worksheets with this formula

Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.

Middle school

  • Perimeter

    Sixteen questions on the perimeter of rectangles, squares, triangles and regular polygons. Sometimes a side is asked for when the perimeter is given.

More about the rectangle

The same drawing, measured in the other ways it can be measured.

GeometryAll formulas

Put this formula on your site

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.