Rectangle Perimeter Calculator
Enter length, width to find perimeter. P = 2(length + width).
The shape behind the formula
Schematic diagram; proportions are not to scale. Use the formula and current values below for the numerical result.
About this calculation
Rectangle perimeter measures the complete distance around its four straight edges. Both the length and the width appear twice in that boundary. Use this rectangle perimeter calculator to find perimeter from length, width.
Formula
P = 2(length + width)
Worked example
With Length: 8 units, Width: 5 units, perimeter is 26 units.
How to calculate perimeter
The rule is P = 2(length + width).
In the rectangle perimeter example, length 8 units produces perimeter 26 units. Entering 9 units instead produces 28 units.
Reading perimeter
The result is a linear length for edging or fencing. It describes the outside path, regardless of how much surface the rectangle encloses. With length 8 units, width 5 units, the calculator returns perimeter 26 units.
Practical use
Estimate a continuous border around a rectangular frame, garden, or room before accounting for gaps and joins. Estimate trim or fencing around all edges of a rectangular boundary.
Limits and common mistakes
Measure adjacent edges in the same unit and count both matching pairs. An area value alone does not fix the perimeter, because rectangles of different proportions can share an area. Perimeter adds the lengths of all four edges; it is not the amount of material covering the rectangle.
Why the relationship works
Walking around a rectangle crosses one long edge, one short edge, and their matching opposite edges. Adding that complete circuit gives the boundary length; multiplying adjacent sides would instead measure the enclosed surface. The rectangle perimeter rule uses length (units), width (units) in P = 2(length + width); read each symbol as the field named on this page.
Interpreting another set of values
The entered length (units), width (units) locate the two distinct edge lengths. The rule P = 2(length + width) counts each matching edge pair to give perimeter in units. Treat this as a continuous outline before subtracting a doorway or allowing for a trim joint.
For a second rectangle perimeter check, keep the other default inputs fixed and change length from 8 units to 10 units. Perimeter changes from 26 units to 30 units. Length contributes through both opposite edges, so its change affects the full circuit twice. Width would have the same boundary role if it were the changed field.
Checks and limits
Two sides with the same label must be parallel and equal in the ideal rectangle. A perimeter cannot be smaller than the sum of one length and one width. If an opening interrupts a fence, subtract that opening only after finding the full boundary. The worked 26 units follows the four-edge boundary. It has the same linear unit as the entered sides, unlike a surface measurement expressed in square units.
Inputs
- Length (units)
- Width (units)