Handy Orchard

Polygon coordinate area

Calculate simple planar polygon area, perimeter and centroid from ordered vertices, rejecting crossing boundaries.

Your input

One row: x | y. Enter 3–200 vertices around the boundary. Closing vertex is optional. Use planar coordinates in one length unit.

Outputs are cleared when the input changes.

Result

Enter your data or use the example, then run the tool.

Worked example

(0,0),(2,0),(2,2),(0,2) give area 4, perimeter 8 and centroid (1,1).

Reversing vertex order changes orientation, while absolute area remains 4. Crossing bow-tie boundaries are rejected.

Method

The shoelace cross-product sum yields signed area; absolute area is reported alongside orientation.

Cross-product weighted coordinates give the centroid; edge lengths sum to perimeter. Non-adjacent edge intersections are checked.

Limits

Simple polygons only: no holes, self-intersections, zero-area shapes or consecutive duplicate vertices.

Coordinates are planar, not longitude/latitude. Floating-point arithmetic can be sensitive near collinearity; not a certified land survey.

Sources

MIT OpenCourseWare: shoelace formula

Related tools

Slope and gradient converterQuadratic equation solverTriangle solverCircle sector calculator

Your inputs stay on this device. Only optional, consented page visits are measured. Input values, files, filenames and processing logs are not sent to Analytics.

When switching languages, text, settings and selected files are temporarily kept on this device. Transfers are removed after restoring; interrupted transfers are cleaned up on a later visit. Inputs and files are never uploaded.