Perimeter of a Rectangle

Definition: The total distance around the outside of a rectangle
Try this Drag any orange dot to resize the rectangle. The perimeter is calculated as you drag.

How to find the perimeter of a rectangle

Like any polygon, the perimeter is the total distance around the outside, which can be found by adding together the length of each side. I the case of a rectangle, opposite sides are equal in length, so the perimeter is twice its width plus twice its height. Or as a formula: where:
w is the width of the rectangle
h is the height of the rectangle

In the figure above, drag any orange dot to resize the rectangle. From the width and height shown, calculate the perimeter and verify your result matches the formula at the top of the diagram.


Side 1 clear
Side 2 clear

Use the calculator above to calculate the properties of a rectangle.

Enter the two side lengths and the rest will be calculated. For example, enter the two side lengths. The area, perimeter and diagonal lengths will be found.

Other polygon topics


Types of polygon

Area of various polygon types

Perimeter of various polygon types

Angles associated with polygons

Named polygons