Skip to content

Polygon Calculator

Enter the number of sides and the length of one side. The calculator returns the area, perimeter, apothem, circumradius, interior and exterior angles, the number of diagonals, and the sum of the interior angles.

Updated 2026-11-18 Editorial estimate Calccc Editorial Team Free · No sign-up
Scenarios A/BSave two input sets and compare the results. Stored only in this browser.
AEmpty
BEmpty

Your inputs stay in this browser. No account, no uploads.

Professional worksheet

Detailed schedule & assumptions

Inputs used, method, sensitivity, and any year-by-year table. The summary above stays compact; the audit lives here.

Professional worksheet

Inputs, scope, and sensitivity

Inputs used

Method and scope

Result audit

MetricValue

What this calculator does

A regular polygon is a shape with equal sides and equal angles, and that symmetry means a single side length plus the number of sides determines everything else. The area formula looks unfamiliar because it is usually written in terms of the apothem, the distance from the centre to the middle of a side, which is not something you measure directly. Behind the formula is a simple idea: any regular polygon can be split into identical isosceles triangles, one per side, and the area is the sum of those triangles. The same triangles give the circumradius, the interior angle, and the number of diagonals. This calculator handles all of it, so a hexagon, an octagon, or a twelve-sided gazebo base can be worked out from one measurement.

How to use it

  1. Count the sides carefully, including any side that is hidden by an edge.
  2. Measure one side; in a regular polygon every side is the same.
  3. Enter both values and read the area and perimeter.
  4. Use the apothem for setting out a shape from its centre.
  5. Check the interior angle before cutting mitres for a frame.

How it works

Area = (n x s²) / (4 x tan(π/n)). Apothem = s / (2 x tan(π/n)). Circumradius = s / (2 x sin(π/n)). Interior angle = (n - 2) x 180 / n. In the default case, a hexagon with a side of 5.0 has area 64.952, perimeter 30.00, and interior angles of 120.0 degrees.

Example calculations

Example 1: A regular hexagon with 5 cm sides

The area is 64.952 square units and the perimeter is 30.00. The apothem is 4.330 and the circumradius is 5.000, so a circle drawn through the corners is twice that radius.

Example 2: An octagonal table with 4 cm sides

Eight sides of 4.0 give an area of 77.255 and interior angles of 135.0 degrees. The 45-degree exterior angle is the mitre setting for the frame, which is why octagons are common in furniture and tiling.

Example 3: A twelve-sided gazebo base with 2 m sides

A dodecagon with 2.0 m sides has an area of 44.785 square units and 54 diagonals. The 150.0-degree interior angle is awkward to cut, which is a practical argument for a hexagonal or octagonal plan.

What the result means

As the number of sides rises, a regular polygon approaches a circle: the apothem and circumradius converge, and the area approaches πr². That is a useful sanity check. The apothem is the number you need when setting out from a centre point, because it is the perpendicular distance to each side, while the circumradius is the distance to each corner. For construction, the interior angle determines the mitre, and the exterior angle is the angle you turn at each corner. The formulas assume perfect regularity; a real plot or room is usually irregular, so divide it into triangles or use measured diagonals rather than trusting a single side length.

Common mistakes

  • Using the circumradius instead of the side length in the area formula.
  • Counting sides incorrectly on an irregular shape.
  • Confusing the apothem with the circumradius.
  • Using the interior angle as a mitre setting instead of the exterior angle.
  • Assuming a shape is regular when the sides or angles differ.
  • Mixing units between the side length and the expected area.

Assumptions and limits

  • The polygon is regular: all sides and all angles are equal.
  • The side length is measured in a single consistent unit.
  • The shape is planar and closed.
  • Angles are given in degrees.
  • The area is expressed in the square of the input unit.

Frequently asked questions

What is a regular polygon?

A closed shape with equal side lengths and equal interior angles. Squares, equilateral triangles, and regular hexagons are familiar examples.

What is the apothem?

The perpendicular distance from the centre to the midpoint of a side. It is used to compute area and to set out a shape from its centre.

How do I find the area of an irregular polygon?

Split it into triangles or rectangles and add the areas, or use the shoelace formula with the corner coordinates. This calculator only handles regular polygons.

Why does the area grow so fast with the number of sides?

For a fixed side length, more sides means a shape with more interior space, so the area rises and approaches that of a circle with the same perimeter.

What angle do I cut for a polygon frame?

Use the exterior angle, 360/n, as the mitre at each corner. For a hexagon that is 60 degrees, and for an octagon 45 degrees.

Can I use this for a five-sided room?

Yes, if the sides are equal. Measure one side and use five, but confirm the room really is regular before ordering flooring or trim.

Sources

This calculator applies exact formulas for regular polygons. Real shapes are often irregular, so measure and verify before cutting materials. It is a mathematical aid, not a construction specification.

2026 update

How to use the professional output

This page is not just a formula box. The result is designed to be checked, compared, and taken away.

  • Professional worksheet. The result includes the inputs used, the method and scope, and a one-variable sensitivity check for finance calculators.
  • A/B scenarios. Save two input sets in the browser and compare the primary, secondary, and breakdown figures side by side.
  • Print / PDF and CSV. Print a branded worksheet, or export the year-by-year table when the calculator produces one.

The formulas and assumptions above still govern the number. The worksheet makes the estimate auditable; it does not make it a lender quote, tax return, or personalized advice.

Calccc Editorial Team · Updated 2026-11-18

Prepared by Calccc Editorial Team as an educational estimate. This page is not a licensed professional review and is not financial, medical, legal, or tax advice.

Editorial estimate prepared by the Calccc Editorial Team; not a licensed professional review.