Regular Polygon Area (from Side Length)

Also known as area of a hexagon · area of a pentagon · area of an octagon · n-gon area

A=ns24tan(π/n)A = \frac{n s^2}{4 \tan(\pi/n)}

Enter your known values, leave one input blank, and solves for the missing one. Try different units for next level excitement!

Constant used — built into this formula, no need to enter
π=3.141592653589793\pi = 3.141592653589793Pi · exact

Learning zone

One formula covers every regular polygon — pentagon, hexagon, octagon, and on toward the circle. Slice the n-gon into n identical triangles meeting at the centre; each has base ss and height equal to the apothem s/(2tan(π/n))s/(2\tan(\pi/n)), and summing them gives A=ns2/(4tan(π/n))A = ns^2/(4\tan(\pi/n)).

Two sanity checks live inside it. Set n=4n = 4 and tan(π/4)=1\tan(\pi/4) = 1, so the expression collapses to s2s^2 — the square, exactly. And as nn grows large the polygon becomes indistinguishable from a circle, which is precisely how Archimedes estimated π: by squeezing a circle between inscribed and circumscribed 96-gons.

The hexagon is the one nature chose. Of the three regular shapes that tile a plane without gaps — triangle, square, hexagon — the hexagon encloses the most area per unit of perimeter, which is why honeybees build in hexagons and use the least wax for the most honey.

Regular Polygon Area (from Side Length)
A=ns24tan(π/n)A = \frac{n s^2}{4 \tan(\pi/n)}
Where
  • AA= Area
  • nn= Number of sides
  • ss= Side length
Missing one of these? Work it out first, then come back