Irregular Polygon Area Calculator

Enter the vertices of a polygon in order to find its area.

Type the corners in order round the shape as (x, y) pairs.

Try

Result

You entered(0,0), (4,0), (4,3), (0,3)\left(0, 0\right),\ \left(4, 0\right),\ \left(4, 3\right),\ \left(0, 3\right)

12\displaystyle 12

Perimeter

14\displaystyle 14
Show the work
  1. Shoelace formula

    For a polygon with corners (xi,yi)(x_i, y_i) listed in order round the edge, each pair of neighbours contributes the cross product xiyi+1−xi+1yix_i y_{i+1} - x_{i+1} y_i, and the last corner joins back to the first. The area is half the absolute value of the sum.

    Using A=12∣∑(xiyi+1−xi+1yi)∣A = \frac{1}{2}\left|\sum \left(x_i y_{i+1} - x_{i+1} y_i\right)\right|

  2. Cross products of neighbouring corners

    Work out xiyi+1−xi+1yix_i y_{i+1} - x_{i+1} y_i for each of the 44 edges and add them.

    S=(0×0−4×0)+(4×3−4×0)+(4×3−0×3)+(0×0−0×3)=24\begin{aligned} S &= \left(0 \times 0 - 4 \times 0\right) + \left(4 \times 3 - 4 \times 0\right) + \left(4 \times 3 - 0 \times 3\right) + \left(0 \times 0 - 0 \times 3\right) \\ &= 24 \end{aligned}
  3. Take half the absolute value

    The sum is negative when the corners run clockwise, and an area cannot be negative, so take the absolute value and halve it.

    A=12∣24∣=12\begin{aligned} A &= \frac{1}{2}\left|24\right| \\ &= 12 \end{aligned}
  4. Result

    So the area of the polygon is 1212 square units.

Worked examples