Regular Polygon Calculator
A regular polygon has equal sides and equal angles. With n sides of length s, the area is n·s² ÷ (4 tan(π/n)). A regular hexagon with side 2 has an area of 10.392, a perimeter of 12, an apothem of 1.732 and interior angles of 120°.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
What Is a Regular Polygon?
A regular polygon is a flat shape with straight sides in which every side has the same length and every interior angle has the same size. The equilateral triangle, the square, the regular pentagon and the regular hexagon are the best known. As the number of sides grows, a regular polygon looks more and more like a circle.
Because of their symmetry, all the measurements of a regular polygon follow from just two numbers: the number of sides n and the side length s. The shape can be sliced from its centre into n identical isosceles triangles, and that decomposition gives every formula.
Regular Polygons with Side Length 1
| Sides n | Name | Interior angle | Area |
|---|---|---|---|
| 3 | Triangle | 60° | 0.4330 |
| 4 | Square | 90° | 1.0000 |
| 5 | Pentagon | 108° | 1.7205 |
| 6 | Hexagon | 120° | 2.5981 |
| 7 | Heptagon | 128.57° | 3.6339 |
| 8 | Octagon | 135° | 4.8284 |
| 9 | Nonagon | 140° | 6.1818 |
| 10 | Decagon | 144° | 7.6942 |
Regular Polygon Formulas
nis the number of sides, at least 3.sis the side length.- The apothem is the distance from the centre to the midpoint of a side, the radius of the inscribed circle.
- The circumradius is the distance from the centre to a vertex, the radius of the circumscribed circle.
- The number of diagonals is n(n − 3) ÷ 2, and the interior angles add up to (n − 2) × 180°.
As n becomes very large the area approaches that of a circle. Compare with the circle calculator.
How Is It Calculated? Worked Examples
Regular Hexagon, s = 2
- Perimeter: 6 × 2 = 12.
- Apothem: 2 ÷ (2 tan 30°) = 2 ÷ 1.1547 = 1.732.
- Circumradius: 2 ÷ (2 sin 30°) = 2. In a hexagon the circumradius equals the side.
- Area: ½ × 1.732 × 12 = 10.392.
- Interior angle: 4 × 180° ÷ 6 = 120°.
An Octagonal Gazebo
A regular octagon with 2 m sides has a floor area of 4.8284 × 2² = 19.31 m², a perimeter of 16 m and an apothem of 2.414 m.
A Regular Pentagon
With a side of 5, the area is 1.7205 × 25 = 43.01 and the circumradius is 4.253.
Why Bees Use Hexagons
Only triangles, squares and hexagons tile a plane with no gaps. Among these, a hexagon encloses the most area for the least perimeter, so honeycomb cells use the least wax for a given storage space.
Counting Diagonals
| Sides | 5 | 6 | 8 | 10 |
|---|---|---|---|---|
| Diagonals | 5 | 9 | 20 | 35 |
Polygons That Approximate a Circle
A regular 6-gon inscribed in a circle of radius 1 has a perimeter of 6. With 96 sides, the perimeter is 192 × sin(π/96) ≈ 6.2820, very close to the circle’s 2π = 6.2832. This is how Archimedes showed that 3.1408 < π < 3.1429.
Why Some Polygons Tile
The central angle of an n-gon is 360° ÷ n, and the interior angle is 180° − 360° ÷ n. A pattern tiles the plane only if whole numbers of corners fit around a point. Triangles (60°), squares (90°) and hexagons (120°) divide 360° evenly, while pentagons (108°) leave a gap.
How to Use This Regular Polygon Calculator
- Enter the number of sides n (3 or more).
- Enter the side length s.
- Read the area, perimeter, apothem, circumradius, interior angle and number of diagonals.
Where Regular Polygons Are Used
- Architecture and design: gazebos, towers, floor tiles, windows and paving.
- Engineering and manufacturing: hex nuts and bolts, gears and stop signs.
- Nature: honeycombs, snowflakes and crystal structures.
- Computer graphics: approximating circles with polygons.
- Mathematics: tessellations, tilings and constructions with compass and straightedge.
Exterior Angles and Constructible Polygons
Walk around any polygon and you turn through a total of 360°, so each exterior angle of a regular n-gon is 360° ÷ n. In 1796, at the age of 19, Carl Friedrich Gauss showed that a regular 17-sided polygon can be constructed with only a compass and straightedge, a discovery that convinced him to become a mathematician. A regular heptagon (7 sides) cannot be constructed that way.
What Are the Most Common Mistakes With the Regular Polygon Calculator?
- Confusing the apothem and circumradius. The apothem goes to the side midpoint, the circumradius to a vertex.
- Using degrees in a radian-only calculator. The formulas use π ÷ n in radians.
- Applying the formulas to irregular polygons. They require equal sides and angles.
- Using fewer than 3 sides. A polygon needs at least three.
- Mixing perimeter and area units. The area is in square units.
- Forgetting the ½ in the area. Area = ½ × apothem × perimeter.
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
What is the area of a regular polygon?
Area = ½ × apothem × perimeter, or n s² ÷ (4 tan(π/n)). A regular hexagon with side 2 has area 10.39.
What is the apothem?
The distance from the centre of a regular polygon to the midpoint of a side. It is the radius of the circle that fits inside the polygon.
What is the interior angle of a regular polygon?
(n − 2) × 180° ÷ n. For a hexagon it is 120° and for an octagon 135°.
How many diagonals does a polygon have?
n(n − 3) ÷ 2. A hexagon has 9, an octagon 20.
Why does a hexagon’s circumradius equal its side?
A regular hexagon is made of six equilateral triangles whose sides equal the distance from the centre to each vertex.
Which regular polygons tile the plane?
Only equilateral triangles, squares and regular hexagons can tile a plane on their own.