How it’s calculated
List the corners of a polygon in order around its edge. The shoelace (surveyor’s) formula multiplies each x by the next y, subtracts each next x times this y, adds everything up and halves it. The sign tells you the direction: positive for counterclockwise, negative for clockwise. The area is the absolute value.
The centroid formula is the area-weighted average of the centroids of the triangles that each edge makes with the origin (each triangle’s centroid is the average of its three corners).
Example: the “house” (0, 0), (4, 0), (4, 3), (2, 5), (0, 3). The terms are 0, 12, 14, 6 and 0, so 2A = 32 and the area is 16 square units (a 4 × 3 rectangle plus a triangle of base 4 and height 2). The perimeter is 4 + 3 + √8 + √8 + 3 ≈ 15.657 and the centroid is (2, 2.0417).
If the outline crosses itself (a figure-eight or a star typed in the wrong order), the formula returns a net signed area in which loops traced in opposite directions cancel. The calculator warns you when edges cross.
Frequently asked questions
Why is it called the shoelace formula?
When you write the coordinates in two columns and draw the cross-multiplications, the diagonal lines criss-cross like the laces of a shoe.
Does the order of the points matter?
Yes. The points must go around the outline in order, either clockwise or counterclockwise. Jumping across the shape makes edges cross and gives a wrong (net signed) area.
Does it work for concave shapes, like an L-shaped lot?
Yes. It works for any polygon whose edges do not cross, convex or concave. It does not handle curved edges or holes.
Can I use it for a plot of land?
Yes, with coordinates from a survey or a site plan (for example in feet or meters). Choose the unit and switch the area to acres or hectares. For legal boundaries, rely on a licensed surveyor.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Mathematical Reasoning, 4.2 2-D Geometry (shoelace formula, worked example) — LibreTexts
- 18.900 Geometry and Topology in the Plane, Lecture 3: The shoelace formula and the winding number — MIT OpenCourseWare
- Calculus Volume 2, 2.6 Moments and Centers of Mass — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator