Perimeter of a Polygon Calculator

Created by Hanna Pamuła, PhD candidate
Reviewed by Bogna Szyk
Last updated: Mar 11, 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 that determine 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. Let's suppose we want to calculate the perimeter of an octagon.

  2. Type the number of sides. We've chosen the other... option, so we need to enter the number of sides manually. 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, maybe you're curious about how to calculate its area? Then check out our area of a polygon calculator.
Maybe you're interested in calculating the perimeter of a circle instead of a polygon? Check our circle perimeter calculator.

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

BMR - Harris-Benedict equation

Harris-Benedict calculator uses one of the three most popular BMR formulas. Knowing your BMR (basal metabolic weight) may help you make important decisions about your diet and lifestyle.


This pseudoinverse calculator can determine the Moore-Penrose pseudoinverse for any small matrix.

Secretary problem (Valentine's day)

Use the dating theory calculator to enhance your chances of picking the best lifetime partner.

Sum and difference identities

The sum and difference identities calculator is here to help you whenever you need to find the trigonometric function (all six of them!) of a sum or difference of two angles.
Omni Calculator
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background