Perimeter of a Polygon Calculator

Created by Hanna Pamuła, PhD
Reviewed by Bogna Szyk and Adena Benn
Last updated: Nov 22, 2022

With this perimeter of a polygon calculator, you'll quickly calculate - surprise, surprise - the perimeter of a regular polygon. To avoid confusion, we present the easiest option, where all you need to do is choose the polygon type and enter its side length. Other formulas for the perimeter of a polygon exist, too - you can use our general polygon calculator to find the polygon perimeter from other parameters.

Perimeter of a polygon formula

To calculate the perimeter of a regular polygon, simply multiply the number of sides n times the side length a:

perimeter = n × a

If you want to determine the perimeter of any polygon, sum the lengths of all its sides:

  • perimeter = Σ aᵢ

    where a₁, a₂, ..., aₙ are consecutive sides lengths

    Σ is the sum symbol (from i = 1 to n)

Or use the vertices coordinates:

  • perimeter = Σ√[(xᵢ₊₁ - xᵢ)² + (yᵢ₊₁ - yᵢ)²]

    with x(n+1) → x(1) and y(n+1) → y(1)

How to find the perimeter of a polygon?

Have a look at this easy example:

  1. Pick the polygon type. Suppose we want to calculate the perimeter of an octagon shape.

  2. Type the number of sides. We've chosen the other... option, so we need to manually enter the number of sides. It's 8.

  3. Enter the side length. Assume it's 17 in.

  4. Voilà! The perimeter of a polygon calculator shows the result. The perimeter of such an octagon is equal to 136 in.

Now that you know how to find the perimeter of a polygon, are you curious about how to calculate its area? Then check out our area of a regular polygon calculator.
Maybe you're interested in calculating the perimeter of a circle instead of a polygon? Then our circle perimeter calculator is what you need.

Hanna Pamuła, PhD
Number of sides
Side a
Check out 23 similar 2d geometry calculators 📏
AreaArea of a rectangleArea of crescent… 20 more
People also viewed…

Christmas tree

Welcome to the Christmas tree calculator, where you will find out how to decorate your Christmas tree in the best way. Take a look at the perfect Christmas tree formula prepared by math professors and improved by physicists. Plan in advance how many lights and decorations you'll need!


Discount calculator uses a product's original price and discount percentage to find the final price and the amount you save.

Height of a cone

Quickly obtain a cone's height given its radius and slanted height with the height of a cone calculator!


Use the triangulation calculator to determine the coordinates of locations using the triangulation method accurately.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background