Polygon Area Shoelace Calculator
Computes area of a simple polygon from a list of vertices using the Gauss shoelace formula and absolute value.
—
Polygon area from vertices — shoelace formula
Give the shoelace formula (you may also see it called Gauss's area formula) the coordinates of a polygon's vertices in order and it hands back the area: A = ½·|Σᵢ(xᵢ·yᵢ₊₁ − xᵢ₊₁·yᵢ)|, with indices taken modulo n. Convex or concave, it doesn't matter, as long as the edges never cross each other. Drop the absolute value and the signed sum tells you the orientation too: a positive number means you entered the vertices counterclockwise, a negative one means clockwise. Take the rectangle (0,0), (4,0), (4,3), (0,3): A = ½·|(0·0−4·0) + (4·3−4·0) + (4·3−0·3) + (0·0−0·3)| = ½·|0 + 12 + 12 + 0| = 12.
Applications
It's the workhorse behind area figures in GIS tools like QGIS and ArcGIS, whether you're measuring georeferenced plots, drainage basins, conservation zones or built-up footprints. Brazil's INCRA SIGEF system leans on the same shoelace-style math to validate the area of rural plots during georeferenced certification. You'll also find it inside CAD packages (AutoCAD, BricsCAD), pulling polygon areas out of vertex lists; in game development, where collision and visibility polygons need it; and across computational geometry, in hull and triangulation routines.
FAQ
Does it work for concave polygons? It does, for any simple polygon (edges that don't intersect themselves), concave ones included. Once edges start crossing, what you get back is an algebraic sum of signed areas rather than the geometric area.
Does the order of vertices matter? It does. List them as you'd walk the perimeter, all clockwise or all counterclockwise. Scramble that order and the number you get is meaningless.
What does the sign of the unsigned-out result mean? A positive sum means the vertices run counterclockwise; negative means clockwise. GIS relies on that to keep winding canonical, for instance CCW for outer rings and CW for holes in shapefiles.
Does it close the polygon automatically? Yes. The modulo on the indices wraps the last vertex back to the first, so there's no need to repeat the opening point at the end.
Related Tools
Polygon Shoelace Area
Compute simple polygon area (non self-intersecting) using the Shoelace formula given vertices (x,y).
Pentagon Area Calculator
Calculate the area of a regular pentagon from its side length. Instant result in the browser.
Hexagon Area Calculator
Calculate the area of a regular hexagon from its side length. Instant result in the browser.
Regular Polygon Area Calculator
Calculate the area of any regular polygon by entering the number of sides and side length.
Regular Polygon Calculator
Compute area, perimeter, apothem and interior angle of regular polygons (3-100 sides) given side or circumradius.
Home Fire Extinguishers by Area
Estimates the number of home fire extinguishers by total area.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.