The formula for the perimeter of a rectangle is often written as P = 2l + 2w, where l is the length of the rectangle and w is the width of the rectangle. The area of a two-dimensional figure describes the amount of surface the shape covers.