The formula for area depends on the shape. For example, the area of a rectangle is calculated by multiplying its length and width.