Regular polygon generator

Polygon Maker – Draw Regular and Custom Polygons

Polygon Maker draws any regular polygon from its number of sides and one size (side length, radius or apothem), or a custom polygon from vertex coordinates or from side lengths and angles. It labels the vertices, marks angles and equal sides, shows diagonals, the apothem and radius, and calculates the area, perimeter and every angle. Free, no sign-up, with PNG and SVG export you can use commercially.

  • Free, no sign-up
  • 3 to 60 sides
  • Area, angles, apothem
  • Custom & concave shapes
  • PNG · SVG · copy

Regular polygon

Labels & marks

PNG size & background

The PNG stores its print size, so Word and Google Docs insert it at about 8 cm wide. Every PNG and SVG also contains the project, so you can drop it back into the Geometry Editor to keep editing.

Measurements

regular hexagon

Side length5 cm
Radius (circumradius)5 cm
Apothem (inradius)4.33 cm
Perimeter30 cm
Area64.952 cm²
Each interior angle120°
Each exterior angle60°
Sum of interior angles720°
Central angle60°
Number of diagonals9

How to use the polygon maker

  1. 1

    Pick the type

    Regular for equal sides and angles, Coordinates to type the vertices, or Sides & angles to walk around the shape.

  2. 2

    Enter the size

    For a regular polygon, type the number of sides and the side length, radius or apothem. Shortcut buttons pick a pentagon, hexagon, octagon and so on.

  3. 3

    Choose what to show

    Show one or all side lengths and angles, equal-side ticks, diagonals, the centre, radius, apothem, circumcircle or incircle.

  4. 4

    Make a question (optional)

    Turn on Hide values to replace the numbers with “?” in the question version. The answer key keeps them.

  5. 5

    Read the results

    The table under the drawing lists the area, perimeter, interior and exterior angles, the angle sum and the number of diagonals.

  6. 6

    Export

    Download a PNG or SVG, copy the image into Google Docs, Slides or Word, or open it in the Geometry Editor to add more.

Regular polygon formulas

For a regular polygon with n sides of length s, circumradius R (centre to a corner) and apothem a (centre to the middle of a side):

Sum of the interior angles

Sum = (n − 2) × 180°

Any polygon can be cut into n − 2 triangles by drawing every diagonal from one vertex, and each triangle has 180°. This works for irregular and concave polygons too. Turn on Diagonals → From one vertex to see it.

Each interior and exterior angle

Interior = (n − 2) × 180° / n,   Exterior = 360° / n

Number of diagonals

Diagonals = n(n − 3) / 2

Apothem and radius

a = s / (2 tan(180°/n)),   R = s / (2 sin(180°/n))

Area

Area = ½ × perimeter × apothem = n s² / (4 tan(180°/n))

Anatomy of a regular hexagon: centre O, radius R, apothem a, side s, interior and exterior angles and the six central triangles
The parts of a regular polygon, shown on a hexagon.

Regular polygon reference table (3 to 12 sides)

The last three columns are for a side length of 1. For side length s, multiply the area by s² and the radius and apothem by s.

Angles, diagonals, area, radius and apothem of regular polygons
Sides – nameInterior angleAngle sumExterior angleDiagonalsArea (s = 1)Radius (s = 1)Apothem (s = 1)
3 – Triangle60°180°120°00.4330.57740.2887
4 – Square90°360°90°210.70710.5
5 – Pentagon108°540°72°51.72050.85070.6882
6 – Hexagon120°720°60°92.598110.866
7 – Heptagon128.57°900°51.43°143.63391.15241.0383
8 – Octagon135°1080°45°204.82841.30661.2071
9 – Nonagon140°1260°40°276.18181.46191.3737
10 – Decagon144°1440°36°357.69421.6181.5388
11 – Hendecagon147.27°1620°32.73°449.36561.77471.7028
12 – Dodecagon150°1800°30°5411.19621.93191.866

Worked examples

Regular hexagon with side 10

Interior angle = (6 − 2) × 180° / 6 = 120°. Apothem a = 10 / (2 tan 30°) ≈ 8.66, and the radius equals the side, R = 10. Perimeter = 60, so area = ½ × 60 × 8.66 ≈ 259.81. Open this hexagon.

Regular pentagon with side 6

Interior angle = 3 × 180° / 5 = 108°. Apothem ≈ 6 / (2 tan 36°) ≈ 4.13 and perimeter = 30, so area ≈ ½ × 30 × 4.13 ≈ 61.94. Open this pentagon.

How many sides if each interior angle is 156°?

Each exterior angle is 180° − 156° = 24°. The exterior angles add up to 360°, so n = 360° / 24° = 15 sides (a pentadecagon).

Polygon names and types

TypeMeaning
RegularAll sides equal and all angles equal, like a square or a stop-sign octagon
IrregularSides or angles are not all equal
ConvexEvery interior angle is less than 180°; no corner points inwards
ConcaveAt least one interior angle is more than 180° (a reflex angle)
SimpleThe sides do not cross each other. The polygon maker only draws simple polygons
n-gonA general name for a polygon with n sides, such as a 13-gon

Common names: triangle (3), quadrilateral (4), pentagon (5), hexagon (6), heptagon (7), octagon (8), nonagon (9), decagon (10), hendecagon (11), dodecagon (12), pentadecagon (15) and icosagon (20).

Custom polygons: area from coordinates (shoelace formula)

In Coordinates mode, list the vertices in order around the shape, clockwise or anticlockwise. The polygon maker finds the area with the shoelace formula:

Area = ½ |(x₁y₂ − x₂y₁) + (x₂y₃ − x₃y₂) + … + (xₙy₁ − x₁yₙ)|

It also measures every side and every interior angle, including reflex angles at the inward corners of concave shapes, and checks that the angles add up to (n − 2) × 180°.

In Sides & angles mode you describe the shape the way a construction question does: “AB = 6 cm, angle B = 100°, BC = 4 cm …”. The last side is drawn automatically to close the shape.

Using polygons in worksheets and designs

  • Angle-sum practice: show the diagonals from one vertex and ask students how many triangles they see.
  • “Find the missing angle”: draw an irregular polygon in Coordinates mode, show all angles, and hide them in the question version.
  • Area and apothem problems: show the apothem and one side, then ask for the area.
  • Tessellations and designs: export SVG hexagons, octagons and triangles at an exact size for Canva, Cricut or laser-cutting software.
Triangles have their own solver: the Triangle Maker handles SSS, SAS, ASA, AAS and SSA. For 3D shapes, print folding nets with Nets of 3D Shapes.

Polygon maker FAQ

How do I draw a regular polygon?

Choose Regular, enter the number of sides and one size: the side length, the radius (centre to corner) or the apothem (centre to the middle of a side). The polygon is drawn and labeled immediately.

What is the formula for the interior angle of a regular polygon?

Each interior angle is (n − 2) × 180° / n, where n is the number of sides. A regular octagon has interior angles of 135°.

What is the sum of the interior angles of a polygon?

(n − 2) × 180°. A hexagon's angles add up to 720°, and this is true for irregular hexagons too.

How many diagonals does a polygon have?

n(n − 3) / 2. A pentagon has 5 diagonals, a hexagon 9 and a decagon 35.

How do I find the area of a regular polygon?

Area = ½ × perimeter × apothem, or n·s² / (4·tan(180°/n)). A regular hexagon with side 10 has an area of about 259.81.

What is an apothem?

The apothem is the distance from the centre of a regular polygon to the midpoint of a side. It meets the side at a right angle and equals the radius of the inscribed circle.

What is the difference between regular and irregular polygons?

A regular polygon has all sides equal and all angles equal. An irregular polygon does not. Both kinds can be drawn with the polygon maker.

Can I make a polygon with more than 12 sides?

Yes. Regular mode accepts 3 to 60 sides, and the formulas work for any number of sides.

Can I draw a polygon from coordinates?

Yes. Choose Coordinates, enter the vertices in order, and the tool draws the shape and gives the perimeter, the area (shoelace formula) and every interior angle.

Can I use the images in Google Docs or in worksheets I sell?

Yes. Copy the image or download a PNG or SVG. Images you make here may be used in classroom and commercial materials without attribution.

Last updated · GeometryKit is free to use for classroom and commercial worksheets.