Coordinates describe where a shape’s corners sit on a flat drawing. Join them around the boundary and return to the start. We will first calculate a small triangle, then use a point-by-point method for a larger polygon.
Use the vertex area calculator to enter each corner on a separate line. The first example needs only three points and a base-times-height calculation.
What does a coordinate such as (4,3) mean?
A coordinate pair gives a position relative to a common starting point, the origin (0,0). Read x first for the horizontal position, then y for the vertical position. On our drawing, (4,3) means 4 units right and 3 units up. A negative x moves left; a negative y moves down.
A vertex is a corner. An edge is the straight segment joining two consecutive corners. A polygon is a closed outline made from these edges; “closed” means the final edge returns to the first corner. A simple polygon has no crossing or touching non-adjacent edges.
Use the same planar length unit on both axes. If the positions are in meters, a difference of 4 on the x axis means 4 m horizontally.
How do you calculate a three-point triangle?
List (0,0), (4,0) and (0,3) around the triangle. The bottom edge is 4 units long, and its perpendicular height is 3. Use the familiar triangle calculation first:
A = 4 × 3/2 = 6 square units
At meter coordinates, the area is 6 m².
- Enter one pair per line: 0,0 then 4,0 then 0,3.
- Select m. Leave out a repeated starting point: the calculator closes the last edge automatically.
- Read 6 m² and a perimeter of 12 m. The three sides measure 4, 5 and 3 m.
For the five-sided shape below, a single base and height are less convenient. The shoelace method uses every edge in the ordered list instead.
How do you list the corners of a larger shape?
Choose one corner as a starting point and walk around the outline. Record each corner exactly once, in clockwise or counterclockwise order. Do not sort points by x coordinate or join them in the order they happen to appear in a file; that can change the boundary.
Each x,y pair must use the same flat coordinate system and length unit. For a small drawing, this could mean meters right and meters up from a chosen origin. Negative coordinates are valid. A negative area is not the final geometric answer.
The diagram's list is A(0,0), B(6,0), C(6,3), D(3,5), E(0,3). The side calculator accepts one x,y pair per line and closes the final edge automatically. Do not repeat A at the bottom of its input.
How does the point-by-point calculation work?
For each edge, multiply the current point’s x by the next point’s y in one column. In the other column, multiply the current y by the next x. Include the last-to-first edge. On a manual sheet, write the start point again below the list to see that closing pair; the calculator closes it automatically.
| From → to | Current x × next y | Current y × next x |
|---|---|---|
| A → B | 0 × 0 = 0 | 0 × 6 = 0 |
| B → C | 6 × 3 = 18 | 0 × 6 = 0 |
| C → D | 6 × 5 = 30 | 3 × 3 = 9 |
| D → E | 3 × 3 = 9 | 5 × 0 = 0 |
| E → A | 0 × 0 = 0 | 3 × 0 = 0 |
| Total | 57 | 9 |
Forward products total = 57
Backward products total = 9
Signed sum = 57 − 9 = 48
Area = |48|/2 = 24 square coordinate units
Each product multiplies two coordinates, so it has square units. If the coordinates are meters, the answer is 24 m². If they are unspecified drawing units, do not silently relabel the answer as square meters.
What do the symbols in the shoelace formula mean?
The five-point ledger is an example of this general rule:
- n is the number of vertices; i is the current vertex number.
- i + 1 means the next vertex. After the last vertex, use the first again.
- Σ means “add these contributions for every edge.” Each contribution is the difference between two cross-multiplications.
- |…| means take the non-negative size of the final sum: |−48| and |48| are both 48. Then divide by two.
Keep the plus and minus signs while adding. Taking an absolute value for each edge separately changes the rule. The next section explains the geometry behind those signs.
Why edge products measure area: a fan of signed triangles
The word determinant here is a short name for the cross-product difference x₁y₂ − y₁x₂. A signed area uses a plus or minus to record direction; its final non-negative size is the geometric area.
The shoelace rule becomes easier to remember when you see the geometry behind its products. Connect an origin O(0,0) to the endpoints P(x₁,y₁) and Q(x₂,y₂) of one polygon edge. The signed area of triangle OPQ is half the determinant x₁y₂ − y₁x₂. A counterclockwise turn from OP to OQ gives a positive contribution; reversing that turn gives a negative contribution.
The determinant is a tilted base-times-height calculation
When P lies on the positive x axis, y₁ = 0, and the expression reduces to x₁y₂/2. That is the familiar base times perpendicular height divided by two. For general P and Q, the determinant makes the corresponding adjustment for the tilt of both position vectors. It measures twice the oriented triangle area, rather than multiplying the two sloping lengths.
For our five-point example, the edge contributions before dividing by two were 0, 18, 21, 9 and 0. Their signed triangle areas are therefore 0, 9, 10.5, 4.5 and 0. Together they give 24 square units. Here the origin is itself vertex A, so some triangles collapse to zero and the remaining pieces give a convenient fan across the shape.
½ det(O→B, O→C) = ½(6 × 3 − 0 × 6) = 9
½ det(O→C, O→D) = ½(6 × 5 − 3 × 3) = 10.5
½ det(O→D, O→E) = ½(3 × 3 − 5 × 0) = 4.5
9 + 10.5 + 4.5 = 24 square units
Why the signs must remain until the final sum
If the origin lies outside a polygon, or the outline is concave, the fan triangles need not form a set of non-overlapping positive pieces. Some contributions subtract regions covered by other contributions. Their directed edges cancel internally, leaving the polygon boundary. That cancellation is why the signed sum still works.
Taking an absolute value for each edge separately would erase the cancellation and can overcount the region. Sum the signed contributions first, divide by two, then take the absolute value for the geometric area. The intermediate signed triangles are accounting devices; an individual negative term does not describe a patch with physically negative area.
Check the algorithm without repeating it
The polygon fits in a 6-by-5 rectangle. The two upper corners outside the outline are right triangles, each with base 3 and height 2. The rectangle covers 30 units²; each excluded triangle covers 3 units². Therefore 30 − 3 − 3 = 24 units².
This check can catch a mistyped vertex or a missing closing contribution. It is more informative than copying the same multiplication twice, because it uses a different description of the region.
A closing edge that is not zero exposes a hidden mistake
The closing contribution in the first example is zero, so omitting it happens to leave that answer unchanged. A shifted rectangle makes the missing edge visible.
Take A(2,1), B(7,1), C(7,4), D(2,4), in that order. Its width is 5 and height is 3, so its independently known area is 15 square units. Now account for all four directed edges.
| Directed edge | xᵢyᵢ₊₁ − yᵢxᵢ₊₁ | Signed contribution |
|---|---|---|
| A → B | 2 × 1 − 1 × 7 | −5 |
| B → C | 7 × 4 − 1 × 7 | 21 |
| C → D | 7 × 4 − 4 × 2 | 20 |
| D → A | 2 × 1 − 4 × 2 | −6 |
| Complete sum | −5 + 21 + 20 − 6 | 30 |
The correct answer is |30|/2 = 15. Omitting D → A instead gives (−5 + 21 + 20)/2 = 18. The extra 3 units² comes entirely from the missing −6 contribution before halving.
Reverse the walk, not the meaning of area
Reverse the list of vertices. Every edge contribution changes direction, making the signed area negative instead of positive. Taking its absolute value produces the same geometric area. The calculator's calculation details report the boundary direction as a useful diagnostic.
Adding 100 to every x and 200 to every y translates the polygon without changing its area: it remains 24 units².
Scaling is different from translation: multiply every coordinate distance by 3 and area becomes 9 times as large, or 216 units² for this polygon. Unit conversion follows the same squared relationship.
A concave outline works, provided its boundary is simple
Consider the L-shaped list (0,0), (6,0), (6,2), (2,2), (2,5), (0,5). One interior corner turns inward, so the polygon is concave. That alone is not a problem.
Bounding rectangle = 6 × 5 = 30
Missing corner = 4 × 3 = 12
Area = 30 − 12 = 18 square units
The shoelace expression automatically handles the signed contributions that such a concave outline needs. You do not have to split it manually, although a split-and-subtract check is still useful.
A crossed list is a different problem
The list (0,0), (4,4), (0,4), (4,0) draws a bow tie. Blindly taking the absolute shoelace sum can produce zero because signed regions cancel. That zero does not mean the visible lobes have no area.
This calculator accepts simple polygons: non-adjacent edges must neither cross nor touch. Repeated vertices, backtracking edges and degenerate outlines also need correction.
Stretching axes changes area differently from moving the origin
Separate horizontal and vertical scale factors
Multiply every x coordinate of the five-point polygon by 2 and every y coordinate by 3. Every determinant product now contains one factor of 2 and one factor of 3, so the resulting area is 2 × 3 × 24 = 144 square units. This is a stretch, not a uniform enlargement: the width doubles while the height triples.
Multiplying every x coordinate by −1 reflects the outline across the y axis. It reverses the orientation, but the geometric area remains 24. More generally, independent nonzero scale factors kₓ and kᵧ multiply the geometric area by |kₓkᵧ|. The sign of their product determines whether orientation flips.
If the axes use different units
Suppose a rectangular dataset lists horizontal coordinates in feet and vertical coordinates in meters. A horizontal span of 10 and a vertical span of 3 do not describe 30 m². Convert the horizontal span first: 10 ft = 3.048 m. The rectangle then covers 3.048 × 3 = 9.144 m².
Convert the feet axis before entry. The selected unit applies to both axes together.
Use the same vertex list to check perimeter and missing corners
Area uses cross products; perimeter uses distances between successive points. For an edge from (x₁,y₁) to (x₂,y₂), the distance is √[(x₂ − x₁)² + (y₂ − y₁)²]. Add those distances around the complete closed boundary.
Our original five-point polygon has edges of length 6, 3, √13, √13 and 3. Its perimeter is 12 + 2√13 ≈ 19.2111 units. The two roof slopes each move 3 units horizontally and 2 vertically, giving √(3² + 2²) = √13.
Area of the five-point outline = 24 units²
Perimeter = 6 + 3 + √13 + √13 + 3 ≈ 19.2111 units
A 6 × 4 rectangle also covers 24 units², but its perimeter is 20 units.
A missing vertex can change the shape without causing an input error
Delete the roof point D(3,5). The remaining list A(0,0), B(6,0), C(6,3), E(0,3) forms a valid rectangle with area 18 and perimeter 18. It passes a simple-polygon check while describing a different shape.
Compare the copied vertex count and your original vertex list with the drawing to catch an omitted corner.
An interior hole requires a separate boundary account
Consider an outer rectangular panel measuring 8 by 6 units with a completely contained 2-by-3 opening. The outer polygon covers 48 units², while the opening covers 6 units². The usable panel area is 42 units².
Subtract the hole area, but add its cut edge when needed
The outside perimeter is 2(8 + 6) = 28 units. The opening perimeter is 2(2 + 3) = 10 units. A task that needs every cut edge uses 28 + 10 = 38 units. A task that needs only external trim uses 28. Area and edge length require different accounts even when they use the same drawing.
Calculate the outer and inner rectangles separately, then subtract their areas. Each run accepts one simple boundary; reversing a second ring does not identify it as a hole.
Keep each ring separate. For several holes, this subtraction assumes they lie inside the outer boundary and do not overlap; shared hole area needs an overlap correction.
Why GPS latitude and longitude cannot be treated as meters
Latitude and longitude are angular coordinates on a curved surface. The planar calculator interprets numeric differences as straight length differences. Relabelling degrees as meters does not perform a projection or compute a reliable ground area.
Use a suitable projected coordinate system or a geodesic area method for real geographic data, with the appropriate accuracy requirements and verified boundaries. This educational calculator is not a substitute for a legal survey.
Why a nearby working origin helps
Adding 1,000,000,000 to every coordinate of the example leaves the mathematical area at 24 units². Multiplying such large coordinates and subtracting nearly equal totals can lose floating-point precision. Subtracting the first vertex from every point moves the working origin nearby before forming the products.
A very thin polygon can still be sensitive to small coordinate changes because its area is small compared with its edge lengths. Preserve the source measurements and their precision; an origin shift reduces large offsets but cannot restore detail already rounded out of the input.
Calculator input reference
- Enter 3–50 vertices, with two numeric coordinates on each non-empty line.
- Use commas or whitespace between x and y; a missing coordinate or an extra comma is an error.
- Keep coordinate magnitudes within 10¹² and avoid extremely thin shapes relative to their overall span.
- Choose a length unit that describes both axes. Changing units converts every coordinate value.
- Copy result retains the area, vertex count, perimeter and formula. The perimeter follows the supplied closed boundary.
Debug a coordinate calculation
The same boundary gives −24 in one walk and +24 in the other. Which area is right?
Both signed results are consistent with opposite directions. The geometric area is the absolute value, 24 square units.
Is listing the points in increasing x order a safe repair?
No. Boundary order describes which edges connect. Sorting by one coordinate can create a different or self-crossing polygon. Trace the intended outline instead.
What area should (1,1), (5,1), (1,3) give?
The horizontal base is 5 − 1 = 4 and the vertical height is 3 − 1 = 2. Area is 4 × 2/2 = 4 square units. Moving the origin did not alter those lengths.
Mathematical reference: Wolfram MathWorld: Polygon Area. The input checks enforce the simple-polygon assumptions; examples here are independently explained.