Regular Polygon Calculator

A regular hexagon with side 5 has perimeter 30 and apothem 5/(2 tan 30°) = 4.330127. Half perimeter times apothem gives area 64.951905, rounded to 64.95 rather than 64.9. Its interior angle is 120°.

A hexagon’s circumradius happens to equal its side; that equality is not true for every regular polygon.

Regular Polygon Calculator: inputs

Calculated result
Area65
Perimeter30
Apothem4.3
Interior angle (degrees)120

Regular Polygon Calculator: Number of sides (n) sensitivity

Regular Polygon Calculator: Number of sides (n) and Area5 calculations vary the “Number of sides (n)” input while holding the other entered inputs constant.4256658120.710192.4

Regular Polygon: worked example

Number of sides (n)6
Side length (s)5
Area65
Perimeter30
Apothem4.3
Interior angle (degrees)120

Regular Polygon: formula

Area = n × s² ÷ (4 × tan(π ÷ n)); apothem = s ÷ (2 × tan(π ÷ n)); interior angle = (n − 2) × 180° ÷ n

Regular Polygon: Wolfram MathWorld

A regular polygon has equally long sides; side count and side length determine its perimeter. A regular polygon has equal sides and equal angles, such as a hexagon, an octagon or a pentagon. The calculator finds the area, perimeter, apothem, the distance from the center to the midpoint of a side, and the interior angle.

The number of sides must be at least 3. Use one unit for the side length.

Regular Polygon: changing Number of sides (n)

Number of sides (n)AreaPerimeterApothemInterior angle (degrees)
425202.590
6 (example)65304.3120
8120.7406135
10192.4507.7144

Regular Polygon: compare input ranges

InputTested fromToArea: low inputArea: high inputSwing
Number of sides (n)4825120.795.7 (147%)
Side length (s)4.55.552.678.626 (40%)

Regular Polygon: individual input comparisons

InputValueAreaPerimeterApothemInterior angle (degrees)
Number of sides (n)425202.590
665304.3120
8120.7406135
10192.4507.7144
Side length (s)441.6243.5120
4.552.6273.9120
565304.3120
5.578.6334.8120
693.5365.2120

Regular Polygon: combined input changes

Number of sides (n) / Side length (s)456
2Undefined for these inputsUndefined for these inputsUndefined for these inputs
4162536
641.66593.5
877.3120.7173.8
10123.1192.4277

Regular Polygon: which assumptions move the result?

Regular Polygon: Area as Number of sides (n) changesArea starts at 25. Moving Number of sides (n) from 4 to 10 changes it to 192.4, with Side length (s) 5 kept fixed.4256658120.710192.4
Chart quantityDisplayed settings
Number of sides (n)4 → 10
Area25 → 192.4
Side length (s)5
Regular Polygon: Area as Side length (s) changesArea starts at 41.6. Moving Side length (s) from 4 to 6 changes it to 93.5, with Number of sides (n) 6 kept fixed.441.64.552.65655.578.6693.5
Chart quantityDisplayed settings
Side length (s)4 → 6
Area41.6 → 93.5
Number of sides (n)6

Regular Polygon: values and definitions

Quantity and definitionValue used
Number of sides (n) — 3 or more. A hexagon has 6, an octagon has 8.6
Side length (s)5
Area65
Perimeter30
Apothem4.3
Interior angle (degrees)120

Regular Polygon: half and double Number of sides (n)

Number of sides (n)Area
310.8
665
12279.9

Common error: Using the distance from the center to a corner in place of the side. That is the circumradius, which is larger than the side for most polygons and inflates the area.

The formulas apply only to regular polygons: irregular shapes must be divided into triangles. The apothem is not the same as the radius from the center to a vertex. Rounding matters with many sides.

Units are squared for the area.

Geometry calculators: Rhombus Area Calculator, Hemisphere Volume Calculator, Cone Frustum Calculator, Capsule Volume Calculator, Triangular Prism Volume Calculator, Law of Sines Calculator.

A regular polygon splits into identical triangles around its center, and each triangle's height is the apothem. Six sides of 5 units give a perimeter of 30, an apothem of about 4.33 and an area near 65. The interior angle follows from the side count alone: 120 degrees for a hexagon, 135 for an octagon.

As the sides multiply, the shape approaches a circle.

Confirm every side and every angle match. A shape with equal sides but different angles is a rhombus-like figure, and these formulas will not fit it.

See the circle area calculator for the limit, the equilateral triangle, rectangle and rhombus pages for specific polygons, and the arc length and sector calculator for circular pieces. The trigonometry calculator gives the angles, and the land acreage page changes units.

What is the interior angle of a regular hexagon?

120 degrees, since a hexagon's six interior angles add up to 720 degrees and are equal, and the general formula is n minus 2 times 180 over n.

What is an apothem?

The perpendicular distance from the center of a regular polygon to the midpoint of one of its sides.

How do I find the area of a regular polygon?

Multiply the perimeter by the apothem and divide by two, or use the formula with the number of sides and side length.