The area of a rectangle is given by:

where h is the height and W is the width.

## Circumference

The circumference is the sum of all the side lengths, or given by the formula:

where h is the height and W is the width.

## Calculate the area and the circumference of a rectangle