Polygon Area Calculator (Shoelace)
List the polygon's vertices in order, one x,y pair per line.
Result
How it is calculated
Enter one x,y pair per line (or separated by semicolons), in order around the outline. For n vertices the engine sums xᵢ·yᵢ₊₁ − xᵢ₊₁·yᵢ, wrapping the last point back to the first, and returns area = |sum| ÷ 2. The perimeter is the sum of the straight distances √(Δx² + Δy²) between consecutive points, including the closing side. Results are shown to four decimals, in the unit of your coordinates (squared for the area). At least three valid points are required. Taking the absolute value means clockwise or counter-clockwise order both work.
Worked example
A house-shaped outline: (0,0), (8,0), (8,5), (4,8), (0,5). The five cross terms (one per side, closing back to the start) are 0, 40, 44, 20 and 0, so the signed sum is 104. Area = 104 ÷ 2 = 52.0000. Perimeter: 8 + 5 + 5 + 5 + 5 = 28.0000. The engine counts 5 vertices. This matches a rectangle of 8 × 5 = 40 plus a roof triangle of base 8 and height 3 = 12.
Common mistakes
- Listing the points in the wrong order (for instance jumping between opposite corners); the formula then describes a self-crossing figure and gives a smaller or even zero area. A bowtie such as (0,0), (4,4), (4,0), (0,4) returns 0.0000.
- Repeating the first point at the end "to close" the shape; it still gives the right area and perimeter, but the vertex count is one too high.
- Mixing units, such as some coordinates in metres and others in feet, or using latitude and longitude degrees and expecting square metres.
- Forgetting that the perimeter is in the same unit as the coordinates while the area is in that unit squared.
About this calculator
The shoelace formula (also called Gauss's area formula) computes the area of any simple polygon directly from the (x, y) coordinates of its vertices, listed in order around the shape: Area = ½|Σ(xᵢ·yᵢ₊₁ − xᵢ₊₁·yᵢ)|, summed over all vertex pairs and wrapping back to the first point at the end — the name comes from the crisscross pattern the multiplication terms trace when written out, resembling laced shoe eyelets. Perimeter follows separately by summing the straight-line distance between consecutive vertices.
This calculator takes a list of (x, y) vertex coordinates in order and returns the polygon's area and perimeter. Land surveyors and GIS analysts use this exact formula to compute parcel or plot areas from a set of boundary coordinates, and game developers and computational geometry programmers use it inside collision detection, mesh processing, and procedural generation code wherever an arbitrary polygon's area needs to be known from its vertices alone.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments