Quick guide
Try an example
You enter
- Vertex coordinates
0, 0 4, 0 4, 3 0, 3
You get
12
How it works and limits
List vertices in boundary order, one x, y pair per line. Use a simple polygon whose edges do not cross.
Calculate the area enclosed by a polygon’s vertices using the shoelace formula.
Numbers Stateless0, 0 4, 0 4, 3 0, 3
12
List vertices in boundary order, one x, y pair per line. Use a simple polygon whose edges do not cross.