Regular Polygon Calculator

Published on: September 29, 2024
Final Answer: Free | Full Steps: Plus

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.

s

In the diagram, the side length is labeled \(s\).

Step-by-step method

  1. Set up the problem.
  2. Write the formulas.
  3. Substitute the number of sides and the side length into the perimeter formula.
  4. Work out the perimeter.
  5. Substitute the number of sides and the side length into the area formula.
  6. 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.

\(P = n \times 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.

\(A = \frac{n \times s^{2}}{4 \times \tan(\pi / n)}\)

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

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

\(n = 7, s = 5\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formulas.
  3. Substitute the number of sides and the side length into the perimeter formula.
  4. Work out the perimeter.
  5. Substitute the number of sides and the side length into the area formula.
  6. 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.

\(P = n \times 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.

\(A = \frac{n \times s^{2}}{4 \times \tan(\pi / n)}\)

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\).

\(n = 7,\; s = 5\)
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.

\(P = n \times s\)\(A = \frac{n \times s^{2}}{4 \times \tan(\pi / n)}\)

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\).

\(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\).

\(P = 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)}\).

\(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\).

\(A = \frac{7 \times 5^{2}}{4 \times \tan(\pi / 7)} \approx 90.84\)

Final Answer

\(P = 35,\; A \approx 90.84\)
See Example 2 Hide Example 2

Problem

\(n = 4, s = 2.5\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formulas.
  3. Substitute the number of sides and the side length into the perimeter formula.
  4. Work out the perimeter.
  5. Substitute the number of sides and the side length into the area formula.
  6. 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.

\(P = n \times 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.

\(A = \frac{n \times s^{2}}{4 \times \tan(\pi / n)}\)

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\).

\(n = 4,\; s = 2.5\)
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.

\(P = n \times s\)\(A = \frac{n \times s^{2}}{4 \times \tan(\pi / n)}\)

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\).

\(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\).

\(P = 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)}\).

\(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\).

\(A = \frac{4 \times 2.5^{2}}{4 \times \tan(\pi / 4)} \approx 6.25\)

Final Answer

\(P = 10,\; A \approx 6.25\)

Notes and Practice Mode

s

Example Problems

Click one to load it into the box and solve it.