Skip to content
Formulaxis

Toolbox

Regular polygon: area and perimeter calculation

Calculate the area and dimensions of a convex regular polygon, from an equilateral triangle to a polygon with many sides. The number of sides and their common length are enough to determine the perimeter, apothem, radius and angles.

Created on , Revised on v2.0

Method and validation

Regular polygon: area and perimeter calculation

dimensionless

Integer number of equal sides, between 3 and 10 000: 3 for an equilateral triangle, 6 for a regular hexagon.

Common side length, strictly positive; this field takes neither the apothem nor a radius.

Initial values are examples.

Results

Perimeter P
12cm
Apothem a
1.732cm
Circumradius R
2cm
Area S
10.39cm²
Central angle θ
60°
Interior angle β
120°

Substitution in SI units

P=6×(0.02 m)=12 cm

Convex regular polygons with 3 to 10 000 sides.

Radius and apothem on a hexagon

Regular polygon: area and perimeter calculation · Number of sides and side lengthRegular polygon with the entered number of sides. Size adjusted; R = radius, a = apothem.Ra6 sides · s = 2 cm

Regular polygon with the entered number of sides. Size adjusted; R = radius, a = apothem.

Illustrative diagram, not to scale.

Estimated reading time : 4 min · 716 words

Calculation details

The perimeter follows the outline. The apothem measures the distance from the center to a side, while the circumradius connects the center to a vertex.

01 · Perimeter

FORMULA

P=n×s

NUMERICAL SUBSTITUTION

P=6×(2 cm)

RESULT

P=12 cm

02 · Apothem

FORMULA

a=s2×tan(acos(−1)n)

NUMERICAL SUBSTITUTION

a=(2 cm)2×tan(acos(−1)6)

RESULT

a=1.732 cm

03 · Circumradius

FORMULA

R=s2×sin(acos(−1)n)

NUMERICAL SUBSTITUTION

R=(2 cm)2×sin(acos(−1)6)

RESULT

R=2 cm

04 · Area

FORMULA

S=n×s24×tan(acos(−1)n)

NUMERICAL SUBSTITUTION

S=6×(2 cm)24×tan(acos(−1)6)

RESULT

S=10.39 cm2

05 · Central angle

FORMULA

θ=2×acos(−1)n

NUMERICAL SUBSTITUTION

θ=2×acos(−1)6

RESULT

θ=60 °

06 · Interior angle

FORMULA

β=(n−2)×acos(−1)n

NUMERICAL SUBSTITUTION

β=(6−2)×acos(−1)6

RESULT

β=120 °

Distinguishing side, apothem and circumradius

A convex regular polygon has sides of equal length and equal interior angles. Its center is equidistant from the vertices: this distance is the circumradius R. The perpendicular distance from the center to a side is the apothem a. Connecting the center to the vertices divides the polygon into n identical isosceles triangles.

Formulas and symbols

The following relationships use the symbols defined below.

P=n×s(perimeter)

a=s2×tan(acos(−1)n)(apothem)

R=s2×sin(acos(−1)n)(circumradius)

S=n×s24×tan(acos(−1)n)(area)

θ=2×acos(−1)n(central angle)

β=(n−2)×acos(−1)n(interior angle)

  • n: integer number of sides, from 3 to 10 000.
  • s: side length.
  • P: perimeter.
  • a: apothem.
  • R: circumradius.
  • S: polygon area.
  • θ: central angle between two neighboring vertices.
  • β: interior angle. In the engine, acos(−1) represents the angle π radians; this notation preserves the angular dimension of trigonometric functions.

Interior angles of common polygons

SidesNameInterior angle
3Equilateral triangle60°
4Square90°
5Regular pentagon108°
6Regular hexagon120°
8Regular octagon135°

Wolfram MathWorld — regular polygon.

Worked examples

Example 1: Regular hexagon with a side length of 20 mm

The perimeter is 120 mm and the circumradius is 20 mm. The apothem is approximately 17,32 mm and the area is 1 039,23 mm2. The central and interior angles are 60° and 120°.

Example 2: Regular octagon with a side length of 8 cm

The perimeter is 64 cm, the apothem approximately 9,66 cm and the circumradius 10,45 cm. The area is approximately 309,02 cm2. The angles are 45° at the centre and 135° at each vertex.

Example 3: Square with a 2 cm side

A square checks the general model: its apothem is half the side and its radius half the diagonal.

n=4; s=2 cm; P=8 cm; a=1 cm; R=2 cm; S=4 cm2; θ=β=90 °.

Assumptions and limitations

Convex regular polygons with 3 to 10 000 sides. Length s must be strictly positive. These relations do not describe an irregular or star polygon. A large number of sides increases the dimensions for a fixed side length; it does not automatically produce a circle of fixed radius.

Common mistakes

Do not enter a radius in place of the side length. The apothem meets the midpoint of a side perpendicularly, whereas R reaches a vertex. A hexagon with any six sides is not necessarily regular.

Frequently asked questions

Is the apothem the circumradius?

No. The apothem reaches the midpoint of a side perpendicularly; the circumradius reaches a vertex. For a convex regular polygon with a nonzero side length, the circumradius is greater than the apothem.

Why must the number of sides be an integer?

The number of sides counts the segments closing the polygon. A fractional number does not define a convex regular polygon of this type.

How does area scale with side length?

At fixed side count, lengths scale linearly and area quadratically. Doubling the side quadruples area while preserving angles.

Do these formulas apply to star polygons?

No. The model assumes a convex boundary joining neighbouring vertices. Stars have different geometry and require appropriate area and angle conventions.