Rectangle Perimeter Calculator

Calculate the perimeter, area, and diagonal of a rectangle from its length and width.

Enter Length & Width

Result

Perimeter
--
units

Step-by-Step Solution

Rectangle Perimeter Formula

A rectangle is a quadrilateral with four right angles. Opposite sides are equal in length. The perimeter is the total distance around the outside of the rectangle, calculated by adding all four sides together. Since opposite sides are equal, the formula simplifies to twice the sum of length and width.

Key Rectangle Formulas

Perimeter

The total distance around the rectangle.

P = 2(l + w)

Area

The space enclosed within the rectangle.

A = l × w

Diagonal

The line connecting opposite corners, found using the Pythagorean theorem.

d = √(l² + w²)

Alternate Perimeter Formulas

There are several equivalent ways to express the perimeter of a rectangle:

  • P = 2l + 2w - Adding twice the length and twice the width.
  • P = 2(l + w) - Factored form, the most commonly used.
  • P = 4s - Special case when l = w (a square).

Properties of a Rectangle

  • All four angles are right angles (90 degrees).
  • Opposite sides are parallel and equal in length.
  • Diagonals are equal in length and bisect each other.
  • A square is a special case of a rectangle where all sides are equal.
  • The diagonal divides the rectangle into two congruent right triangles.

Real-World Applications

Rectangle perimeter calculations are among the most common in everyday life. They are used for calculating the amount of fencing for a rectangular yard, the length of trim for a room, the border material for a picture frame, or the edging for a rectangular garden bed. Understanding this simple formula is fundamental to many construction and design tasks.

Perimeter and Area Relationship

For a fixed perimeter, the rectangle with the maximum area is a square. Conversely, for a fixed area, the rectangle with the minimum perimeter is also a square. This principle is used in optimization problems and is why many storage containers and rooms tend toward square proportions for efficiency.