Calculateus

Regular Polygon Area Calculator

Calculate the area of a regular polygon (equal sides and angles) from its number of sides and side length.

Result

Area
64.952
Perimeter
30

Formula: A = (n × s²) / (4 × tan(π/n)), where n is the number of sides and s is the side length - derived by dividing the polygon into n congruent isosceles triangles from its center and summing their areas.

About the Regular Polygon Area Calculator

The Regular Polygon Area Calculator finds the area and perimeter of any polygon whose sides and angles are all equal, from a triangle up through hexagons, octagons, and beyond, using just the number of sides and the length of one side. It's built for anyone who needs a polygon's area without deriving the interior-triangle geometry from scratch each time.

How It Works

Enter the number of sides and the length of one side. The calculator treats the polygon as n identical isosceles triangles meeting at a central point, computes the area of one triangle using the tangent of the central angle, and multiplies by the number of sides. Perimeter is reported alongside the area as a simple check, since it's just the side length multiplied by the number of sides.

A = (n × s²) / (4 × tan(π/n)), where n is the number of sides and s is the side length. Perimeter = n × s.

Formula & Methodology

Each of the n triangles formed by connecting the center to two adjacent vertices has a central angle of 2π/n. Splitting that triangle in half gives a right triangle with the apothem, the distance from the center to a side's midpoint, as one leg: apothem = (s/2) / tan(π/n). Summing the areas of all n triangles algebraically produces the final formula, (n × s²) / (4 × tan(π/n)).

Examples

Regular Hexagon

With 6 sides and a side length of 5, the area works out to about 64.952 and the perimeter to 30.

Regular Pentagon

With 5 sides and a side length of 4, the area comes to roughly 27.528 with a perimeter of 20.

Advantages

  • Works for any regular polygon from a triangle to a many-sided near-circle using the same two inputs.
  • Returns perimeter automatically alongside area, saving a second calculation.
  • Avoids manually looking up or deriving the interior-angle trigonometry for less common polygons like a regular nonagon.

Common Mistakes

  • Entering the apothem or the distance across the polygon instead of the length of a single side.
  • Assuming an irregular polygon, one with unequal sides or angles, can be measured with this formula, when it only applies to regular ones.
  • Mixing up degrees and radians when trying to verify the tangent term by hand.

Edge Cases to Watch For

  • The calculator requires at least 3 sides and returns an error, 'A polygon must have at least 3 sides,' for anything below that.
  • As the side count grows very large, tan(π/n) approaches π/n, so the result converges toward the area of a circle sharing the same perimeter, a useful check that the math behaves correctly at the extreme.
  • The side count field accepts non-whole numbers without stopping the calculation, even though a polygon with a fractional number of sides has no physical meaning.

Common Use Cases

  • Students confirming geometry coursework involving pentagons, hexagons, or octagons.
  • Designers and fabricators estimating material needed for polygon-shaped tiles, tabletops, or signage.
  • Land surveyors or hobbyist mapmakers estimating the area of a regularly-shaped plot or structure.
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

Does this formula work for any regular polygon, including very high side counts?

Yes - as the number of sides n grows very large, this formula's result approaches the area of a circle with the same perimeter, since a regular polygon with many sides increasingly resembles a circle, which is a useful sanity check that the formula behaves correctly at its limit.

Conclusion

By reducing any regular polygon to a single trigonometric formula, this calculator replaces shape-specific area formulas with one consistent method that scales from a triangle to a polygon with dozens of sides.