Shoelace is a surveyor’s hack
The “shoelace” formula is the same trick land surveyors used with notebooks: multiply down, multiply up, subtract, and you’ve got area—no calculus needed.
Tip: Click to add a vertex. Drag points to adjust. The polygon is closed automatically for calculations.
| # | x | y | Actions |
|---|
Accepted formats: “x,y” or “x y” per line. Scientific notation OK.
This tool uses the classic shoelace formula (a.k.a. Gauss’s area formula) for a simple polygon with vertices ordered around the boundary. It reports the signed area to indicate orientation (positive for counterclockwise, negative for clockwise) and also the absolute area. The perimeter is the sum of edge lengths, and the centroid uses the polygon centroid formula based on the same cross products.
All computation and rendering occur entirely in your browser.
The “shoelace” formula is the same trick land surveyors used with notebooks: multiply down, multiply up, subtract, and you’ve got area—no calculus needed.
Reverse your vertex order and the signed area becomes negative. 3D engines use that sign to decide which face of a polygon is “front.”
GIS files decide whether a ring is a “hole” or “island” by its winding: outer rings counterclockwise, inner rings clockwise—your area sign is the clue.
Every simple polygon can be chopped into n−2 triangles. Shoelace is just all those tiny wedge areas summed in one swipe.
A bow-tie polygon has edges that cross; the shoelace sums cancel and area turns weird. That’s why intersection checks matter before you trust the number.
Click on the diagram to add vertices, drag them to adjust, or type coordinates in the table. You can paste CSV or “x y” pairs; use Auto-order (radial) if your pasted points aren’t in boundary order.
The shoelace (Gauss’s) formula. The tool shows both signed area (for orientation) and absolute area.
Yes. Concave polygons work fine. The tool also warns if the shape self-intersects; in that case, the simple area becomes ambiguous.
Yes. Everything runs locally; nothing is uploaded.