Regular Polygon Calculator
A regular n-gon from its side length: area, perimeter, apothem, circumradius and interior angle.
Regular Polygon Calculator
A regular n-gon from its side length: area, perimeter, apothem, circumradius and interior angle.
What the page prints, and what it refuses
Every figure is printed with the rule or formula that produced it, and any numerical tolerance is stated on the result rather than implied. The page refuses an input the formula does not define and names the value it read; it prints no answer it cannot support.
The calculation runs entirely in this browser tab; nothing is uploaded.
The page describes a regular polygon from its side length. A regular hexagon with side 2 has an area of 10.392305, a perimeter of 12, an apothem of 1.732051 and a circumradius of 2.
The apothem is the distance from the centre to a side and the circumradius is the distance to a vertex. Both follow from the right triangle formed by half a side and the central angle, which the page names in the formula line.
The half-side triangle
A regular n-gon splits into n isosceles triangles with apex angle 2π/n. Half of one is a right triangle with opposite side s/2 and angle π/n, so the apothem is s/(2 tan(π/n)) and the circumradius is s/(2 sin(π/n)).
The area is n times the triangle area, (1/2)·s·apothem, which simplifies to n·s²/(4 tan(π/n)). Every printed value comes from the same angle, so they cannot disagree.
How to use Regular Polygon Calculator
Enter the number of sides, at least 3, and the side length, then press Run.
The result prints the area, perimeter, apothem, circumradius and interior angle.
What to Expect
Best for
- Describing a regular polygon from one side
- Finding the apothem for a covering
- Checking a hexagon or octagon by hand
Not ideal for
- An irregular polygon
- The side length from an area, which is the inverse problem
- A polygon on a sphere
What this tool keeps
- n and the side length exactly as typed
What may need cleanup
- Nothing: the figures are final numbers
Common errors
- Fewer than three sides is refused
- A non-positive side is refused by name
Example use cases
- Describe a regular hexagon
- Find an octagon's apothem
- Check a tiling's dimensions
Sample input
n = 6, side = 2
Sample output
area = 10.392305, perimeter = 12, apothem = 1.732051, circumradius = 2
Who this is for
- Geometry students
- Readers laying out a regular shape
Frequently asked questions
What is the apothem?
The perpendicular distance from the centre to a side. It is the inradius of the polygon, and the area is half the perimeter times it.
Why is the circumradius larger than the apothem?
A vertex is farther from the centre than a side is. The two meet only in the limit of infinitely many sides, where the polygon approaches a circle.
Can I use a decimal side length?
Yes. The side is read as a real number and the results are printed to six decimals.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.