# Rectangle

A rectangle

A rectangle is a shape with four sides and four corners. The corners are all right angles. It follows that the lengths of the pairs of sides opposite each other must be equal.

People make many rectangular things, including most tables, boxes, books, and papers.

A rectangle with all four sides equal in length is called a square.

## Formulas

The formula for the perimeter of a rectangle.

If a rectangle has length ${\displaystyle \ell }$ and width w

• it has area ${\displaystyle K=\ell w\,}$,
• it has perimeter ${\displaystyle P=2\ell +2w=2(\ell +w)\,}$,
• each diagonal has length ${\displaystyle d={\sqrt {\ell ^{2}+w^{2}}}}$,
• it has an aspect ratio = ${\displaystyle \ell }$ : w,
• and when ${\displaystyle \ell =w\,}$, the rectangle is a square.