Polygon Perimeter Calculator

A polygon is a closed shape with straight sides. This calculator can compute the perimeter of both regular and irregular polygons with up to 12 sides. For a regular polygon where all sides have equal length, you only need to enter the number of sides and the side length. For an irregular polygon, you can enter the length of each individual side. The perimeter is simply the sum of all side lengths.

From 3 to 12
Leave empty for irregular polygon
Linear units

Polygon formulas

Regular polygon perimeter = n * s
Irregular polygon perimeter = sum of all sides

Example calculation

For a regular hexagon with side length 10:

  • Number of sides = 6
  • Perimeter = 6 * 10 = 60 units

Polygon perimeter calculator: frequently asked questions

What is the perimeter of a polygon?

The perimeter of a polygon is the total distance around its boundary. It is calculated by adding the lengths of all its sides.

How do I calculate the perimeter of a regular polygon?

For a regular polygon with n sides each of length s, the perimeter is: Perimeter = n * s. Simply multiply the number of sides by the side length.

How do I calculate the perimeter of an irregular polygon?

For an irregular polygon, you must add up all the side lengths individually: Perimeter = side1 + side2 + side3 + ... + sideN.

What is the difference between a regular and irregular polygon?

A regular polygon has all sides of equal length and all interior angles equal. An irregular polygon has sides and angles that are not all equal.

What are common polygons?

Common polygons include triangle (3 sides), quadrilateral (4 sides), pentagon (5 sides), hexagon (6 sides), heptagon (7 sides), octagon (8 sides), and decagon (10 sides).

Official sources

  • Wolfram MathWorld: Polygon.
  • ISO 80000-2: Mathematical signs and symbols.

Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026. See our methodology.