Regular Polygon Calculator
This Regular Polygon Calculator finds the perimeter and the area of a regular polygon from the number of sides and the length of one side, and shows the working line by line. Every side matches, so the perimeter counts that one length once per side. The polygon also splits into one identical triangle per side, and adding those triangles together gives the area. Following the same pattern every time is what makes a regular polygon easy to check and repeat.
In the diagram, the side length is labeled \(s\).
Step-by-step method
- Set up the problem.
- Write the formulas.
- Substitute the number of sides and the side length into the perimeter formula.
- Work out the perimeter.
- Substitute the number of sides and the side length into the area formula.
- Work out the area.
Formula: Perimeter of a Regular Polygon
This formula gives the distance around the polygon. Multiply the number of sides n by the side length s.
Formula: Area of a Regular Polygon
This formula gives the space inside the polygon. Work out n × s² on top and 4 × tan(π/n) on the bottom, then divide.
Useful Tips to Remember
For a regular polygon with \(n\) sides, the interior angles add up to \((n - 2) \times 180^\circ\), and each interior angle is that total divided by \(n\). Each exterior angle is \(\frac{360^\circ}{n}\), and an interior and an exterior angle always add up to \(180^\circ\). Only regular polygons have all sides and angles equal. The perimeter is simply \(n\) times the side length.
Required knowledge
- How to multiply the number of sides by the side length, covered in the Multiplication of Small Numbers Calculator.
- How to find tan(π/n), covered in the Scientific Calculator.
Where Are Regular Polygons Used?
A regular polygon has all sides and all angles equal, so its angles, perimeter and area follow from just the number of sides and one length. These shapes are everywhere, from hexagonal honeycomb cells and floor tiles to octagonal stop signs, pentagonal patterns and the nuts that fit spanners. Engineers choose regular polygons because they fit together, share loads evenly and are easy to manufacture. Knowing the interior angle tells a builder or designer how to cut and join the pieces so they meet perfectly.
- Designing hexagonal tiles and paving that fit without gaps
- Making octagonal signs, tables and gazebos
- Cutting the angles for frames with many equal sides
- Understanding honeycomb and crystal structures
- Designing nuts, bolts and coins with equal sides
Regular Polygon Practice Problems
Example 1 works out the angles, perimeter and area of a regular heptagon with side 5, and Example 2 does the same for a square with side 2.5. Try the interior angle formula yourself before checking. For two more free worked examples, check out the Regular Polygon Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formulas.
- Substitute the number of sides and the side length into the perimeter formula.
- Work out the perimeter.
- Substitute the number of sides and the side length into the area formula.
- Work out the area.
Formula
Formula: Perimeter of a Regular Polygon
This formula gives the distance around the polygon. Multiply the number of sides n by the side length s.
Formula: Area of a Regular Polygon
This formula gives the space inside the polygon. Work out n × s² on top and 4 × tan(π/n) on the bottom, then divide.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the perimeter and the area of a regular polygon with \(n = 7\) sides, each of length \(s = 5\).
Step 2
Step 2 - Write the formulas.
In this problem: Every side of a regular polygon is the same length, so the perimeter counts that length once per side. The polygon also splits into one identical triangle per side, and adding those triangles together gives the area formula.
Step 3
Step 3 - Substitute the number of sides and the side length into the perimeter formula.
In this problem: Replacing \(n\) with \(7\) and \(s\) with \(5\) in \(P = n \times s\) gives \(P = 7 \times 5\).
Step 4
Step 4 - Work out the perimeter.
In this problem: Multiplying the number of sides by the side length gives \(7 \times 5 = 35\).
Step 5
Step 5 - Substitute the number of sides and the side length into the area formula.
In this problem: Replacing \(n\) with \(7\) and \(s\) with \(5\) in \(A = \frac{n \times s^{2}}{4 \times \tan(\pi / n)}\) gives \(A = \frac{7 \times 5^{2}}{4 \times \tan(\pi / 7)}\).
Step 6
Step 6 - Work out the area.
In this problem: Squaring the side length gives \(5^{2} = 25\). Multiplying that by the number of sides gives \(7 \times 25 = 175\). Splitting the polygon into 7 triangles makes each half-angle \(\pi / 7\), and \(\tan(\pi / 7) \approx 0.4816\). Multiplying that by four gives \(4 \times 0.4816 \approx 1.9264\). Dividing the top by the bottom gives \(175 \div 1.9264 \approx 90.84\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formulas.
- Substitute the number of sides and the side length into the perimeter formula.
- Work out the perimeter.
- Substitute the number of sides and the side length into the area formula.
- Work out the area.
Formula
Formula: Perimeter of a Regular Polygon
This formula gives the distance around the polygon. Multiply the number of sides n by the side length s.
Formula: Area of a Regular Polygon
This formula gives the space inside the polygon. Work out n × s² on top and 4 × tan(π/n) on the bottom, then divide.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the perimeter and the area of a regular polygon with \(n = 4\) sides, each of length \(s = 2.5\).
Step 2
Step 2 - Write the formulas.
In this problem: Every side of a regular polygon is the same length, so the perimeter counts that length once per side. The polygon also splits into one identical triangle per side, and adding those triangles together gives the area formula.
Step 3
Step 3 - Substitute the number of sides and the side length into the perimeter formula.
In this problem: Replacing \(n\) with \(4\) and \(s\) with \(2.5\) in \(P = n \times s\) gives \(P = 4 \times 2.5\).
Step 4
Step 4 - Work out the perimeter.
In this problem: Multiplying the number of sides by the side length gives \(4 \times 2.5 = 10\).
Step 5
Step 5 - Substitute the number of sides and the side length into the area formula.
In this problem: Replacing \(n\) with \(4\) and \(s\) with \(2.5\) in \(A = \frac{n \times s^{2}}{4 \times \tan(\pi / n)}\) gives \(A = \frac{4 \times 2.5^{2}}{4 \times \tan(\pi / 4)}\).
Step 6
Step 6 - Work out the area.
In this problem: Squaring the side length gives \(2.5^{2} = 6.25\). Multiplying that by the number of sides gives \(4 \times 6.25 = 25\). Splitting the polygon into 4 triangles makes each half-angle \(\pi / 4\), and \(\tan(\pi / 4) \approx 1\). Multiplying that by four gives \(4 \times 1 \approx 4\). Dividing the top by the bottom gives \(25 \div 4 \approx 6.25\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Regular Polygon Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Regular Polygon Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.
Login and upgrade to Plus to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.