Back to Free Tools

FREE TOOLS

Polygon Area and Centroid Calculator

Calculate exact planar polygon area and centroid with explicit ring validation.

Outer ring, followed by optional holes

JSON

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the displayed example values,or choose the local input files requested by the controls. Optional source files take precedence where labelled.
  • Choose Calculate result and inspect the complete result and any reported limitations.
  • Use Download result and each companion download link to save complete outputs. Reset clears output and restores example controls.

Examples

Outer ring, followed by optional holes: [[[0,0],[6,0],[6,4],[0,4],[0,0]]]

Limitations

  • Calculate exact planar area and centroid for an explicitly closed outer ring and up to10 hole rings. Ring orientation does not affect the result. Reject self-intersections,touching/crossing/nested holes,backtracking,duplicate adjacent vertices and zero area. At most200 nonclosing vertices overall; coordinates use JSON decimals with at most100 coefficient digits,128 token characters and exponent magnitude1000. Exact intermediates are bounded to4096 digits. Download authoritative rational results and12-place rounded displays. No geographic projection,geodesic area or CRS inference. Download the complete JSON report. All processing stays in your browser. Combined input limit: 400,000 UTF-8 bytes, 100,000 characters per field; report limit: 4 MiB.
  • Complete outputs only. Unsupported or oversized input is refused. Follow the displayed job-specific bounds and format policies.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool