# Sides of a Regular Polygon

The sides of a regular polygon are the line segments that make it up.
Try this Adjust the regular polygon below by dragging any orange dot, or alter the number of sides. The length of the sides will change.

The formulas below give the length of the side of regular polygon given the number of sides and either the radius or apothem.

## Side length given the apothem (inradius)

If you know the apothem (distance from the center of the polygon to the midpoint of any side - see figure above) where:
a  is the length of the apothem (inradius)
n  is the number of sides
tan  is the tangent function calculated in degrees

## Side length given the radius (circumradius):

If you know the radius (distance from the center to a vertex): where:
n  is the number of sides
sin  is the sine function calculated in degrees

## Irregular polygons

The sides of an irregular polygon are essentially random lengths. There is no formula to calculate their lengths. In the figure above, uncheck 'regular' to see this.