All Over Tools logo
Tool Combiner
Analyze Tools Clean Tools Compare Tools Convert Tools Data Validation Extract Tools Format Tools Generate Tools Organize Tools Transform Tools
Image Tools Video Tools Audio Tools Subtitle Tools Font Tools
Analyze Tools Clean Tools Compress Tools Convert Tools Edit Tools Extract Tools Generate Tools Merge Tools Organize Tools Redact Tools Repair Tools Split Tools
Analyze Tools Clean Tools Compare Tools Convert Tools Extract Tools Generate Tools Merge Tools Transform Tools Validate Tools
Business Calculators Construction Calculators Date And Time Calculators Education Calculators Financial Calculators Food Calculators Health Calculators Math Calculators Science Calculators Sports Calculators Statistics Calculators
Blog About Us Contact Us

Polygon Area Calculator

Find the area and perimeter of a regular polygon from its side count and length, or of a simple polygon from ordered vertex coordinates. See the formula, main calculation steps, and a copyable, downloadable result.

Whole number between 3 and 200.

Must be a positive number.

Area is shown in the squared version of this unit.

How to Use the Polygon Area Calculator

Choose Regular polygon for equal sides and angles, or Coordinates for a simple irregular polygon defined by ordered vertices.

  1. Choose Regular polygon or Coordinates.
  2. Enter the required values and select a length unit.
  3. Click Calculate.
  4. Review the Result section and Formula & steps.
  5. Use Copy result or Download result (.txt) to save the output.
  6. Use Reset to clear both input modes, restore meters, select Regular polygon, and hide the result.

If clipboard copying fails, the tool tells you to copy the result manually.

Choose the Calculation Method

Regular polygon requires a whole-number side count from 3 to 200 and a positive side length. The sides and interior angles must be equal.

Coordinates accepts 3 to 200 vertices. Enter one x,y pair per line in boundary order, consistently clockwise or counter-clockwise. The points must describe a simple, non-self-intersecting polygon.

What the Calculator Returns

  • Regular mode returns area, perimeter, apothem, circumradius, and interior angle.
  • Coordinate mode returns area, perimeter, and vertex count.
  • Formula & steps shows the governing formula and the main aggregate calculation steps.
  • Area uses the squared selected length unit. Perimeter uses the selected length unit.
  • The downloaded file is named polygon-area-calculator-result.txt.

Formulas Used

Regular polygon with n sides of length s:

  • Apothem: a = s / (2 * tan(pi / n))
  • Perimeter: P = n * s
  • Area: A = 1/2 * P * a
  • Circumradius: R = s / (2 * sin(pi / n))
  • Interior angle: ((n - 2) * 180) / n degrees

Coordinate mode uses vertices listed around the boundary:

  • Shoelace formula: A = 1/2 * |sum of (xi * yi+1 - xi+1 * yi)|, with the last vertex wrapping back to the first.
  • Perimeter: sum of the straight-line distance between each pair of consecutive vertices.

Inputs, Units, and Validation

  • Regular polygon: number of sides (a whole number from 3 to 200) and a positive side length.
  • Coordinates: valid x,y pairs, one per line, with 3 to 200 vertices. Both coordinates use the selected unit.
  • Supported units: mm, cm, m, km, in, ft, yd, and mi.
  • Area unit: automatically the squared version of the length unit you choose.
  • Side length and coordinate values cannot exceed 1e12 in absolute value; coordinates outside that range are rejected.
  • Collinear coordinate sets are rejected because they do not enclose an area.

Assumptions and Limitations

The calculation assumes a two-dimensional polygon based on the values you enter. Coordinate vertices must be in boundary order and describe a simple, non-self-intersecting shape. The tool does not detect or correct self-intersections, infer measurement error or real-world tolerances, or replace professional or certified calculations.

Calculation and Data Handling

The polygon calculation logic in script.js runs in your browser, and the calculator code does not include a request that submits calculator values to a server. This statement describes the calculator logic only; the page also loads third-party analytics and includes other server-backed page features.

Frequently Asked Questions

What is the formula for the area of a regular polygon?

Area = 1/2 x perimeter x apothem, where perimeter = n x s (n sides of length s) and apothem = s / (2 x tan(pi/n)).

What is the shoelace formula?

For vertices (x1,y1)...(xn,yn) listed in order around the polygon, Area = 1/2 x |sum of (xi * yi+1 - xi+1 * yi)|, wrapping the last vertex back to the first.

Does vertex order matter for the coordinate method?

Yes. Vertices should be entered in order around the polygon (clockwise or counter-clockwise, consistently). The shoelace formula assumes a simple, non-self-intersecting polygon; entering points out of order will produce an incorrect area.

What units does this calculator support?

Millimeters, centimeters, meters, kilometers, inches, feet, yards, and miles. Area is shown in the squared version of the unit you choose.

Can this calculator handle any polygon shape?

It handles regular polygons with 3 to 200 sides and simple irregular polygons defined by ordered vertex coordinates. It does not detect or correct self-intersecting shapes.

Related Tools

4 views