The signed area of a polygon with vertices

numbered

through

can be calculated exactly by the formula

, where

and

. If the polygon is simple (non-intersecting sides), with the vertices numbered in a counterclockwise direction, the signed area is the area. This formula is surprisingly useful in surveying, architecture, and many other applications.