No ads, no sign-upChecked 2026-08-20

Regular Polygon Area Calculator

Result

41.569219units²

Result: 41.569219 units²
How the result moves

Works for any regular shape from a triangle upward: n × s² ÷ (4 tan(π ÷ n)). All sides must be equal — for an irregular shape, split it into triangles instead. More sides at the same side length always means more area.

Worked examples

How it's calculated

A = n × s² ÷ (4 × tan(π ÷ n))

  1. StepEnter how many sides the shape has, at least three.
  2. StepEnter the length of one side — all of them are equal.
  3. ResultRead the area in the square of that unit.

Reference table

Sides, side lengthShapeArea
3, 1triangle0.433013
5, 2pentagon6.881910
4, 5square25.000000
6, 4hexagon41.569219
8, 3octagon43.455844

Questions

How do you find the area of a regular polygon?

Square the side, multiply by the number of sides, then divide by four times the tangent of π ÷ n. A hexagon with side 4 covers about 41.57 square units.

Does this work for irregular shapes?

No. It assumes every side and every angle is the same. An irregular polygon has to be split into triangles and added up.

Why does the square case not come out exactly 25?

It does mathematically — tan(45°) is exactly 1. In floating point it lands on 25.000000000000004, and the calculator reports the value it actually computes rather than tidying it.

What happens with many sides?

The shape approaches a circle. At a hundred sides it is already within a hundredth of a per cent of the circle with the same perimeter.

Sources and last check

  1. mathworld.wolfram.com

Information, not professional advice.