# 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. The word comes from Latin words meaning "right" and angle".

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

## Formulas

If a rectangle has length <math>\ell</math> and width *w*

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

40x40px | Wikimedia Commons has media related to .Rectangles |