The perimeter of a geometric figure is the total length around its outline. This length can be calculated by adding the lengths of all the sides of the figure. In the case of octagons, we can calculate their perimeter by adding the eight lengths of their sides. If we have a regular octagon, we simply need the length of one side to calculate the perimeter.
Here, we will learn about the formula that we can use to calculate the perimeter of octagons. In addition, we will look at some problems in which we will apply this formula to obtain the result.
What is the formula to find the perimeter of an octagon?
We can calculate the perimeter of a polygon by adding the lengths of all its sides. In the case of an octagon, we have to add the lengths of the eight sides, so we have:
where are the eight lengths of the sides of the hexagon.
If the octagon is regular, we know that the lengths of all its sides are equal, so we only need to use the length of one side. Therefore, the perimeter of a regular octagon is:
![]() |
where a is the length of one of the sides of the regular octagon.

Perimeter of an octagon – Examples with answers
The following exercises can be used to practice using the formula for the perimeter of octagons. Try to solve the problems yourself before looking at the answer.
EXAMPLE 1
An octagon has sides of length 5 m. What is its perimeter?
Solution
We use the perimeter formula with . Therefore, we have:
The perimeter of the hexagon is 40 m.
EXAMPLE 2
An octagon has sides of length 8 m. What is its perimeter?
Solution
We plug the value into the formula for the perimeter of the octagon. Therefore, we have:
The perimeter of the octagon is 64 m.
Start now: Explore our additional Mathematics resources
EXAMPLE 3
If an octagon has sides of length 15 m, what is its perimeter?
Solution
We have the length . Using this value in the perimeter formula, we have:
The perimeter of the octagon is 120 m.
EXAMPLE 4
What is the length of the sides of an octagon that has a perimeter of 112 cm?
Solution
In this question, we have the value of the perimeter and we want to find the length of the sides of the octagon. Therefore, we use in the formula and solve for a:
The length of the sides of the octagon is 14 cm.
EXAMPLE 5
An octagon has a perimeter of 152 m. What is the length of the sides?
Solution
We use the perimeter formula with and solve for a:
The length of the sides is 19 m.
Perimeter of an octagon – Practice problems
Practice applying the formula for the perimeter of octagons with the following problems. Choose an answer and check that it is correct by clicking “Check.”
See also
Interested in learning more about octagons? Take a look at these pages: