Regular Polygon Calculator

Calculate key dimensions of a regular polygon

Your result will appear here.

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

  1. Enter the number of sides.
  2. Enter side length or another supported dimension.
  3. Calculate perimeter, area or angles.
  4. 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.

ShapeSidesAreaInterior angleApothemExterior angle
Triangle343.301360°2.8868120°
Square4100.000090°5.000090°
Pentagon5172.0477108°6.881972°
Hexagon6259.8076120°8.660360°
Octagon8482.8427135°12.071145°
Dodecagon121,119.6152150°18.660330°

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.

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.

About the author

Adupa Derrick

Adupa Derrick designs every calculator on Numi Calculator, uses AI tools to help draft code and explanations and checks each formula against worked examples and published references before it goes live.

About Numi Calculator Our methodology