User Rating 0.0 β˜…β˜…β˜…β˜…β˜…
Total Usage 0 times
Is this tool helpful?

Your feedback helps us improve.

β˜… β˜… β˜… β˜… β˜…

About

Miscalculating the area of a regular polygon propagates errors into material estimates, structural loads, and CNC toolpaths. This calculator implements the exact trigonometric identity A = n β‹… s24 β‹… tan(Ο€/n) for n-sided equilateral, equiangular polygons. It accepts four input modes - side length s, apothem a, circumradius R, or perimeter P - and derives every remaining geometric property. The tool assumes Euclidean plane geometry and treats the polygon as perfectly regular. Floating-point precision is limited to 10 significant digits. For polygons with n > 100, results converge toward the circumscribed circle and rounding artifacts may appear at the last decimal.

regular polygon area polygon calculator geometry calculator polygon area formula apothem calculator

Formulas

The area of a regular n-sided polygon is derived from decomposing it into n congruent isosceles triangles sharing a common vertex at the center.

From side length s:
A = n β‹… s24 β‹… tan(Ο€ / n)
From apothem a:
A = n β‹… a2 β‹… tan(Ο€ / n)
From circumradius R:
A = n β‹… R2 β‹… sin(2Ο€ / n)2
From perimeter P:
A = P24 β‹… n β‹… tan(Ο€ / n)

Derived quantities:
a = s2 β‹… tan(Ο€ / n)   R = s2 β‹… sin(Ο€ / n)   P = n β‹… s

Interior angle: ΞΈ = (n βˆ’ 2) β‹… 180Β°n

Where n = number of sides, s = side length, a = apothem (center to midpoint of a side), R = circumradius (center to vertex), P = perimeter, ΞΈ = interior angle.

Reference Data

PolygonnInterior AngleArea (s = 1)asRs
Equilateral Triangle360Β°0.43300.28870.5774
Square490Β°1.00000.50000.7071
Pentagon5108Β°1.72050.68820.8507
Hexagon6120Β°2.59810.86601.0000
Heptagon7128.57Β°3.63391.03831.1524
Octagon8135Β°4.82841.20711.3066
Nonagon9140Β°6.18181.37371.4619
Decagon10144Β°7.69421.53881.6180
Hendecagon11147.27Β°9.36561.70281.7747
Dodecagon12150Β°11.19621.86601.9319
Pentadecagon15156Β°17.64242.35222.4049
Icosagon20162Β°31.56883.15693.1962
Triacontagon30168Β°71.42364.76314.7880
Hectogon100176.4Β°795.513015.915515.9204
Circle limit (nβ†’βˆž)∞180°πR2RR

Frequently Asked Questions

As n increases, the regular polygon converges to a circle. At n = 100, the area is within 0.05% of Ο€R2. At n = 1000, the difference drops below 0.0005%. This calculator handles n up to 1000 without precision loss in IEEE 754 double-precision arithmetic.
The apothem a equals R β‹… cos(Ο€ / n). For a hexagon (n = 6), a = 0.8660 β‹… R. For a triangle, a = 0.5 β‹… R. The ratio a/R approaches 1 as n β†’ ∞.
No. Star polygons (SchlΓ€fli symbol {n/k}) are non-convex and require a different winding-number area formula. This tool strictly computes convex regular polygons where n β‰₯ 3 and n is a positive integer.
A closed-form trigonometric expression generalizes to any n without storing per-polygon constants. The JavaScript Math.tan function uses hardware-accelerated IEEE 754 routines accurate to 15 - 17 significant digits. Lookup tables would limit coverage and introduce interpolation errors for uncommon n values.
Linear unit conversions are exact rational multipliers (e.g., 1 ft = 0.3048 m exactly by definition). Area conversion squares the factor: 1 ft2 = 0.09290304 m2. No precision is lost beyond the inherent double-precision limit of approximately 15 significant figures.
Hexagonal tiling in architecture and honeycomb panels, octagonal stop-sign fabrication, pentagonal decorative flooring, bolt-head area for torque calculations (hexagonal cross-section), landscape design of fountain basins, and CNC milling of polygonal pockets. In each case, an error in area directly affects material cost and structural integrity.