Polygon Area from Vertex Coordinates: Shoelace Formula Explained

PublishedToolShoelace Formula Polygon Area Calculator

Contents
  1. Why land that isn't a rectangle is a problem
  2. The shoelace formula: vertex coordinates are all you need
  3. Why the absolute value: the sign is the direction
  4. Why concave shapes work too: the condition is "simple," not "convex"
  5. ★If you get an area of 0: the order is usually scrambled
  6. Where to get the vertex coordinates for your land
  7. With lots of vertices, hand calculation gets painful
  8. A note on units
  9. If your calculated area differs from the registered area
  10. Summary
  11. Frequently asked questions

You don't have to chop an irregular piece of land or shape into triangles to find its area. If you know the vertex coordinates in order, one shoelace formula gives you the area right away. It even works for shapes with a dent in them.

Summary List the vertices (x, y) in one direction around the boundary, then apply A = ½|Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|. That's it. Because you take the absolute value, clockwise and counterclockwise give the same result, and the shape doesn't have to be convex. An area of 0 doesn't mean your math is broken — it usually means the coordinate order got scrambled (rarely, a coordinate itself is mistyped).

Why land that isn't a rectangle is a problem

Most area formulas assume a tidy shape: "width × height," or "base × height ÷ 2." But real land has 5 or 6 vertices, and sometimes it's an L-shape with one side caved in.

The usual approach here is to cut the shape into triangles. You draw diagonals, split it into several triangles, then measure the base and height of each and add them up.

There are two problems with that. First, you have to re-measure the height for every triangle, and drawing a truly vertical line on a drawing isn't easy. Second, with a concave shape, if you pick the wrong way to split it, you end up including area outside the boundary.

The shoelace formula: vertex coordinates are all you need

If you know the vertex coordinates, there's nothing to split. For a polygon with vertices listed in boundary order as (x₁, y₁), (x₂, y₂), …, (xₙ, yₙ), the area comes out like this.

A = ½ × |(x₁y₂ + x₂y₃ + … + xₙy₁) − (y₁x₂ + y₂x₃ + … + yₙx₁)|

In other words, A = ½|Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|, and after the last vertex you wrap back to the first ((xₙ₊₁, yₙ₊₁) = (x₁, y₁)).

This formula is also called Gauss's area formula, the surveyor's formula, or the diagonal formula. Meister described it in 1769, building on the trapezoid method Gauss wrote about. The name "shoelace" comes from the way you write the coordinates in two rows and multiply x and y crosswise — it looks like lacing up a sneaker.

Try it by hand once

Take the quadrilateral with vertices (1, 1), (7, 1), (6, 6), (2, 5). Write the coordinates vertically and repeat the first coordinate once at the bottom.

x    y
1    1
7    1
6    6
2    5
1    1   ← first coordinate repeated

Multiply and add going down to the right (S₁ = Σ xᵢyᵢ₊₁)

1×1 + 7×6 + 6×5 + 2×1 = 1 + 42 + 30 + 2 = 75

Multiply and add going down to the left (S₂ = Σ yᵢxᵢ₊₁)

1×7 + 1×6 + 6×2 + 5×1 = 7 + 6 + 12 + 5 = 30

A = ½ × |75 − 30| = ½ × 45 = 22.5

No calculator needed. Eight multiplications and one subtraction.

Why the absolute value: the sign is the direction

Drop the absolute value and this formula gives you a signed area. Put the vertices in counterclockwise and you get a positive number; go clockwise and you get a negative one.

Reverse the vertices of the quadrilateral above and enter them as (2, 5), (6, 6), (7, 1), (1, 1), and S₁ = 30 and S₂ = 75 swap places, giving −22.5. Same size, opposite sign.

That's why you take the absolute value. If all you want is the area, you never have to worry about clockwise versus counterclockwise. This is the part that lifts the biggest burden in practice, yet plenty of people don't know it and get stuck wondering "which direction do I go?"

Why concave shapes work too: the condition is "simple," not "convex"

The only condition this formula requires is a simple polygon — one whose sides don't cross each other. It doesn't need to be convex.

Here's the intuition. Each term ½(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ) is the signed area of the triangle formed by the origin and one side. As you go once around the boundary, triangles that "sweep forward" from the origin's point of view add up as +, and triangles that "sweep back" add up as −. In a concave dent, the sweep-back terms cancel exactly the excess already added. So the dent drops out on its own. This triangle form is also a special case of Green's theorem.

If you plug in the L-shape (0,0), (4,0), (4,2), (2,2), (2,4), (0,4), you get S₁ = 32 and S₂ = 8, so the area is 12. That's a 4×4 square with a 2×2 bite taken out, so 16 − 4 = 12. Correct.

Points that aren't turning points are safe to include

Add an extra point in the middle of a straight stretch of side and the result doesn't change, because the term that point creates contributes nothing to the area. If you copied coordinates off a drawing and picked up one extra point where the boundary doesn't actually bend, the area stays the same.

★If you get an area of 0: the order is usually scrambled

This is the most common mistake and the most misunderstood result.

If you enter coordinates out of boundary order, the sides cross each other. The value you get then often isn't "a slightly odd area" — it's exactly 0, because the + and − regions cancel completely when the scramble is symmetric.

  • Bowtie shape (0,0), (4,4), (4,0), (0,4) → S₁ = 16, S₂ = 16 → area 0
  • Same square coordinates with the order shuffled → 0

Nothing is broken. The coordinates themselves are usually right; the connection order is wrong. There's only one fix: write them again in the order you'd meet them walking once around the boundary on the map or drawing. Either direction is fine.

Rarely, you can get 0 even with the right order. That happens when the coordinates themselves have an error — three or more points sitting on one straight line (collinear), or the same point entered twice. Check the order first, and if it's still 0, look for overlapping or collinear points in the coordinates.

Where to get the vertex coordinates for your land

This is where a lot of people get stuck. But in Korea, the method the law prescribes is itself "find the area from coordinates."

Article 20 (Methods of Area Measurement, etc.), Paragraph 1, Item 1 of the Enforcement Rule of the Cadastral Survey Act states that area measurement for each parcel in an area where a detailed survey was done using the transit surveying method shall "follow the boundary point coordinates." The name of that method is the coordinate area calculation method. The same article specifies that measured area is determined to 1/1,000 of a square meter, and the calculated area is rounded to 1/100 m² for areas at a cadastral map scale of 1:600 and for areas registered in the boundary point coordinate register, and to 1/10 m² elsewhere.

And those coordinates exist as a document. Article 73 (Matters to be Registered in the Boundary Point Coordinate Register) of the Act on the Establishment, Management, etc. of Spatial Data sets out the register's contents: the location of the land, the parcel number, the coordinates, and anything else the Ministry of Land, Infrastructure and Transport prescribes by ordinance. Article 71, Paragraph 3 of the Enforcement Rule of the same Act, delegated by that article, adds the land's unique number, the number of the cadastral map sheet, and the volume and page number of the boundary point coordinate register for each parcel, and the register form (Attached Form No. 69) includes the parcel code and code map. A boundary point here means a turning point of the line that divides parcels. Land that has this register is land where boundary points were registered as coordinates through a cadastral confirmation survey or a scale change survey — not all land.

You can get a certified copy of the boundary point coordinate register online through Government24 (under the Ministry of Land, Infrastructure and Transport). The applicant must be the owner or an interested party. Counter fees are 500 won for issuance and 300 won for inspection, but online issuance has no fee.

So here's the summary. Get the coordinates from the boundary point coordinate register → list them in the order shown on the code map → plug them into the shoelace formula, and you can run the same calculation the government uses to determine area.

With lots of vertices, hand calculation gets painful

The principle is all covered above. But once the vertex count climbs to 8 or 12, the multiplication terms climb with it, and one term copied wrong throws off the result. On top of that, you have no way to check with your eyes whether you got it wrong.

So we built a tool that takes your coordinates and computes area and perimeter right away, then expands every S₁ and S₂ term and the full substitution step by step. You can paste coordinates one per line (commas, semicolons, and spaces all work as separators), and you can drag points on the grid with your mouse to shape the polygon yourself. Best of all, the polygon is drawn on the screen, so you can see at a glance whether the order got tangled.

Shoelace Formula Polygon Area Calculator

Paste vertex coordinates or drag points on the grid to see the area, perimeter, and the S₁ · S₂ work step by step

A note on units

The shoelace formula doesn't know about units. It's a pure coordinate calculation. If you entered coordinates in meters, the result is read as ㎡ — and that reading is up to whoever entered them.

Many people want to convert to pyeong (평), but pyeong is not a legal unit. Article 6, Paragraph 2 of the Act on Measurement states that "no one shall use non-legal units for measurement or advertising," and violations are subject to an administrative fine. However, under Paragraph 3 of the same article, if you meet the labeling requirements set by Ministerial Ordinance of the Ministry of Trade, Industry and Energy, you may write it alongside a legal unit. In other words, "300㎡" alone is fine, and "300㎡ (about 90.8 pyeong)" written together is fine, but "90 pyeong" on its own is not. By the Korea Agency for Technology and Standards standard, 1 pyeong is about 3.3058㎡.

If your calculated area differs from the registered area

The value you calculate yourself and the area on the public record can differ. Which one is correct is not something this article or a calculator can settle.

Here's the structure of it. A parcel's area is determined through a legal process called a cadastral survey, and that falls under the cadastral authority (city, county, or district office) and the Korea Land and Geospatial Informatix Corporation. Whether the gap comes from a simple slip while copying coordinates, a rounding difference under the unit rules for computed area, or a matter of re-examining the survey itself is something you need to confirm with those agencies. The accurate use of your own calculation is as evidence of where to go check.

Summary

  • List the vertex coordinates in order around the boundary and apply A = ½|Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)| and you get the area of any polygon.
  • Don't worry about direction. Clockwise or counterclockwise, the absolute value gives the same number.
  • Concave is fine. The only condition is a simple polygon with no crossing edges — not convexity.
  • If the area comes out 0, suspect the connection order first. Most of the time it's an ordering problem; occasionally it's a bad coordinate, such as three or more points on one line or a duplicated point.
  • If it's your own land, you can get the coordinates from the Boundary Point Coordinate Register (free to issue online).
Shoelace Formula Polygon Area Calculator

Paste vertex coordinates or drag points on the grid to see the area, perimeter, and the S₁ · S₂ work step by step

Frequently asked questions

Do I enter the vertices clockwise or counterclockwise?

Either one works. Counterclockwise gives a positive number and clockwise gives a negative one, but since you take the absolute value, the area is exactly the same. What matters isn't direction but keeping the order that follows the boundary. Just write them down in the order you'd meet them walking once around the plot.

Why does the area come out as 0?

Most of the time it's not the coordinates but the connection order that's tangled. If you connect points in an order that isn't the boundary order, the edges cross each other, the + regions and − regions cancel out, and you often get exactly 0. For example, (0,0), (4,4), (4,0), (0,4) cross into a bowtie shape with an area of 0. First try re-listing the coordinates in boundary order; if it's still 0, check whether three or more points sit on a single line or whether the same point got entered twice.

Does it work for shapes with a dent in them?

Yes. The only requirement this formula makes is that the polygon be simple — no crossing edges — not that it be convex. In a dented shape, terms with the opposite sign cancel out the excess and the notch drops out automatically. L-shapes, jagged star-like shapes, anything without crossings is accurate.

Is the result in ㎡ or in pyeong?

Neither. This is a pure coordinate calculation with no units. If you entered the coordinates in meters, you read the result as ㎡, and interpreting the units is up to you. When converting to pyeong for display, Article 6, Paragraph 2 of the Act on Measurement rules out writing pyeong on its own; only writing it alongside a legal unit is allowed, and only if you meet the labeling requirements in Paragraph 3.

This article was adapted from our Korean original. Read the Korean original

Related articles

  1. Prepayment Penalty Formula: How the Fee Shrinks DailyLearn how the prepayment penalty is calculated, how it drops each day you keep the loan, and see a worked example with a 50 million won loan.
  2. Loan EMI Formula: Calculate Your Monthly PaymentWork through the EMI formula with a full example, see why each payment splits differently between principal and interest, and check your own numbers.
  3. Loan Interest Calculator: Total Interest by Repayment MethodEnter a loan amount, rate, and term to compare total interest across amortized, equal-principal, and interest-only balloon plans.
  4. Loan Refinance Comparison: The Real Interest Savings FormulaCalculate net savings from refinancing: interest saved minus prepayment fees and closing costs, with a worked example on a 100 million won loan.
  5. Loan Amortization Schedule: How Each Payment Is CalculatedSee how each payment on a loan schedule splits into interest and principal, and how equal-payment, equal-principal, and interest-only loans differ.
  6. Change of Base Formula: Find Any Log Without a Log ButtonUse the change of base formula to get log_b(x) with only ln or log10 keys, then check natural, common, and binary log values on a graph.

Related tools