Regular Polygon

Use this calculator

A regular polygon is a closed, straight-sided figure whose sides and interior angles are all equal. The number of sides n and common side length s determine its perimeter, area, interior angle, apothem and circumradius.

Repeating equal sides around one centre

P = ns
A = \frac{ns^{2}}{4\tan(\pi/n)}

n = number of sides (whole number ≥3); s = each side length; P = perimeter; A = area; tan is tangent and π/n is measured in radians. The apothem is centre-to-side perpendicular distance.

Why the apothem matters. Splitting the polygon into n triangles with apex at the centre gives area ½ × apothem × total perimeter. Larger n produces a shape increasingly close to its circumcircle for a fixed circumradius.

Define the regular polygon

Regular polygon: Number of sides, Side length.

Choose Regular polygon, enter Number of sides and Side length, then Calculate. With n = 6 and s = 2, the perimeter is 12, interior angle is 120°, and area is 6√3 ≈ 10.392 square units.

Apothem, angle and area report

Area appears first; details include Perimeter, Interior angle, Exterior angle, Apothem, Circumradius and number of Diagonals. The calculator requires at least three sides and positive side length.

Interior and exterior angle check

Interior angle = (n−2)×180°/n; exterior angle = 360°/n. One interior plus its adjacent exterior angle equals 180°.

A regular hexagon example marks vertices, radius and the centre-to-side apothem.

Interior angle = (n−2)×180°/n; exterior angle = 360°/n. One interior plus its adjacent exterior angle equals 180°.

Diagonal count

Each of n vertices connects to n−3 non-neighbours; dividing by two avoids counting a diagonal twice, giving n(n−3)/2.

Six centre-to-vertex lines split a regular hexagon into six equal triangular sectors.

Each of n vertices connects to n−3 non-neighbours; dividing by two avoids counting a diagonal twice, giving n(n−3)/2.

Where regularity is essential

The same side count and one side length cannot determine an irregular polygon’s area. This tool’s equal-side/equal-angle model is the information that makes the result unique.

Discrete side counts from 3 to 10 give the labelled perimeter of regular polygons with 2-unit sides.

The same side count and one side length cannot determine an irregular polygon’s area. This tool’s equal-side/equal-angle model is the information that makes the result unique.

Apothem, area and side count together

A regular hexagon with side 2 has perimeter 12 and apothem √3; its area is half the product of perimeter and apothem, or 6√3 square units. The circumradius is 2, a distinct centre-to-vertex distance.

Quick answers

Can I enter a pentagon?

Yes. Set Number of sides to 5 and provide the common side length.

Does it display apothem?

Yes, along with circumradius and diagonals.

What is the smallest polygon here?

A triangle: Number of sides must be 3 or greater.