Rectangle Perimeter Calculator

P = 2(l + w). Length plus width, doubled.

Inputs

Result

Loading calculatorโ€ฆ
โ€”

How to use this calculator

  • Enter length and width.
  • Read perimeter, area, and diagonal.

About this calculator

A rectangle's perimeter is the sum of all four sides: P = 2(l + w). Useful for fencing, picture-framing, room baseboards, or anything that traces the boundary of a rectangle. The formula is symmetric โ€” swap length and width without effect. Area scales differently (l ร— w), so a square (l = w) gives the maximum area for a given perimeter.

Frequently asked

Square is a special rectangle?+
Yes โ€” when l = w. Perimeter formula reduces to P = 4s.
How is this different from area?+
Perimeter = boundary length (linear). Area = enclosed surface (square units). Don't confuse.
Picture-framing use?+
Frame outside dimensions: outer perimeter. Inside (mat) cutout: inner perimeter. Add both for total moulding length needed.
Why is diagonal useful?+
For laying out, knowing diagonals helps verify a rectangle is square (corners 90ยฐ): equal diagonals = right angles.
Doors and windows?+
Subtract the perimeter portion that's a door/window if you're computing trim length, not the actual rectangle perimeter.

Related calculators

More tools you might like

Hand-picked tools that pair well with this one โ€” same audience, same intent.