Regular Polygon Calculator
Calculate key dimensions of a regular polygon
Area
How we calculated it
About the Regular Polygon Calculator
Regular Polygon Calculator works with shapes whose sides and interior angles are all equal. From side length and number of sides, it can derive perimeter, area, interior angle and related measurements.
As the number of sides increases while the polygon remains regular, its shape approaches a circle. The formulas depend on equal side lengths and equal angular spacing around the centre.
How to Use the Regular Polygon Calculator
- Enter the number of sides.
- Enter side length or another supported dimension.
- Calculate perimeter, area or angles.
- Verify the polygon is regular before applying the equal-side formulas.
How the Calculation Works
For a regular polygon with n sides of equal length s, perimeter P = n×s. The equal central angle is 360°/n, while each interior angle is (n−2)×180°/n because the sum of all interior angles is (n−2)×180°.
Area can be calculated as A = n s²/[4 tan(π/n)]. An equivalent form is A = perimeter×apothem/2, where the apothem is the perpendicular distance from the polygon centre to the midpoint of a side. Both forms assume a truly regular polygon with equal sides and equal angles.
Worked examples
Regular Polygon Calculator Worked Examples
Default
A regular hexagon with 10-unit sides has an area of 259.8076, a perimeter of 60, interior angles of 120° and an apothem of 8.6603.
Octagon
An octagon with 10-unit sides has an area of 482.8427 and interior angles of 135°.
Pentagon
A pentagon with 10-unit sides has interior angles of 108°.
Regular polygons with side 10
Interior angle = (n − 2) × 180° ÷ n.
| Shape | Sides | Area | Interior angle | Apothem | Exterior angle |
|---|---|---|---|---|---|
| Triangle | 3 | 43.3013 | 60° | 2.8868 | 120° |
| Square | 4 | 100.0000 | 90° | 5.0000 | 90° |
| Pentagon | 5 | 172.0477 | 108° | 6.8819 | 72° |
| Hexagon | 6 | 259.8076 | 120° | 8.6603 | 60° |
| Octagon | 8 | 482.8427 | 135° | 12.0711 | 45° |
| Dodecagon | 12 | 1,119.6152 | 150° | 18.6603 | 30° |
How the calculator works
For a regular polygon with n equal sides of length s: area = n × s² ÷ (4 tan(π ÷ n)), perimeter = n × s, interior angle = (n − 2) × 180° ÷ n and exterior angle = 360° ÷ n. The apothem, the distance from the centre to the middle of a side, is s ÷ (2 tan(π ÷ n)). Area also equals ½ × perimeter × apothem.
Practical uses
Hexagons tile a floor with no gaps, which is why honeycomb and many tiles use them. Octagons appear in gazebos, stop signs and decking. To build a regular polygon from boards, cut each end at half the exterior angle: 22.5° for an octagon and 30° for a hexagon. As the number of sides grows, the polygon approaches a circle.
Common Mistakes
- Using it for irregular shapes. All sides and angles must be equal.
- Mixing interior and exterior angles. They add to 180°.
- Cutting boards at the interior angle. Mitre each end at half the exterior angle.
Result guide
Understanding Your Regular Polygon Calculator Result
The formulas apply only when every side and angle is equal. An irregular six-sided polygon can have the same perimeter but a very different area. The apothem can also be used to calculate area as A = perimeter×apothem/2. That form is useful when the side length is not known directly but the centre-to-side distance is available from a drawing or layout.
Before you rely on the answer
Assumptions and Limitations
- Number of sides is an integer of at least three.
- All sides are equal.
- Angles follow regular-polygon geometry.
Practical tip
Using This Result in Practice
If you know the distance from centre to side or vertex instead of side length, use the corresponding apothem or circumradius relationship rather than forcing a side-length estimate.
Related calculations
Useful Calculations to Continue With
If the shape is irregular or composite, use the Area Calculator instead of regular-polygon formulas.
If the number of sides is effectively being replaced by a circular boundary, use the Circle Calculator.
Common questions
Regular Polygon Calculator FAQ
What is the interior angle of a hexagon?
120°.
What is an apothem?
The distance from the centre to the middle of a side.
How do I find the area?
n × s² ÷ (4 tan(π ÷ n)).
What do exterior angles add to?
360°.
What angle do I cut for an octagon?
22.5° on each end.
