What Equation Describes a Rectangle with a Given Perimeter?
At a glance
- 1. Write the perimeter
For side lengths length and width, use perimeter = 2 × (length + width).
- 2. Substitute the given value
Set the perimeter expression equal to the known perimeter.
- 3. Solve for a side
Rearrange to express one side in terms of the other.
- 4. Use any extra condition
If area is also known, substitute the side relation into the area formula.
If you know a rectangle’s perimeter, its length and width are related by a simple equation. The perimeter alone does not usually determine both side lengths: many different rectangles can have the same perimeter.
The standard equation is , where is the length, is the width, and is the perimeter. If you know the area as well, you can combine this equation with the area formula to determine the dimensions.
The perimeter equation
A rectangle has two sides of length and two sides of width . Adding all four sides gives
If the perimeter is given, rearrange to express one side in terms of the other:
This is the equation relating the side lengths. It shows that once you choose a length, the width is fixed if the perimeter must stay the same. For a genuine rectangle, both dimensions must be positive, so and .
If the area is also given
The area of a rectangle is . Substitute into that formula:
This gives the area in terms of one side and the fixed perimeter. If both and are known, solve the resulting quadratic equation for :
The two roots, when they are valid, give the rectangle’s side lengths. They may appear in either order because swapping length and width describes the same rectangle.
Worked example: perimeter 40 and area 96
Suppose a rectangle has perimeter units and area square units. First use the perimeter equation:
Now substitute this into the area equation:
Rearranging gives
Factor the quadratic:
Thus or . Since the two sides add to , the corresponding widths are and . The rectangle’s side lengths are therefore units and units. Check: and .
What the perimeter alone tells you
For a fixed perimeter, there are many possible rectangles. For example, perimeter gives , so side lengths and , and , or and all satisfy the perimeter condition. Their areas differ, even though their perimeters are equal.
Among rectangles with a fixed perimeter, the square has the greatest area. To see this, write
The squared term is never negative, so the area is largest when it is zero: . Then as well, and the maximum area is .
For perimeter , the maximum area is square units, achieved by a -by- square. An area of is possible, as in the worked example, while an area greater than is not possible with that perimeter.
Common mistakes
- Using . That is the sum of two adjacent sides, not the full perimeter. The correct equation is .
- Assuming one perimeter gives one rectangle. Without another condition, such as the area or one side length, the dimensions are not uniquely determined.
- Mixing units. Perimeter is measured in linear units; area is measured in square units. For instance, a perimeter of cm and an area of cm use different units for different quantities.
- Accepting impossible roots. A solution must give positive side lengths. If a proposed area exceeds , no rectangle with that perimeter has that area.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.