In a regular polygon like an octagon, the apothem is the shortest distance from the center to any side.
The apothem is the line segment drawn at a right angle from the center of the octagon to the midpoint of one of its sides. In the image below, the apothem is shown in purple:
Click on any element to learn more.