Regular Polygon Area Calculator
Compute regular polygon area from side count n (n ≥ 3) and side length s using A = n·s²/(4·tan(π/n)).
📐 计算公式
正多边形面积(本页代码口径):A=n×s²÷(4×tan(π÷n))(m²,n 边数、s 边长 m);联动量:内切圆半径=s÷(2×tan(π÷n))、周长=n×s(m)、外接圆半径=s÷(2×sin(π÷n))(m)。校验:n 须为不小于 3 的整数、s 须为大于 0 的有限数,否则提示并中止。判据:无固定分级,n 增大时面积趋近同周长圆,n=3(正三角形)时为最小。
由边数与边长求正多边形面积(n≥3)。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Regular polygon area | A = ½·n·s·a (perimeter × apothem/2) | Polygon geometry |
| Apothem | a = s/(2 tan(π/n)) | Regular polygon |
| Circumradius form | A = (n/2)R² sin(2π/n) | Trigonometric form |
| Circle limit | Tends to πR² as n→∞ | Limit concept |
| Validity | Only regular polygons | Geometric constraint |
| Units | Squared length units | Dimensional rules |
📌 计算说明
- A = n·s² / (4·tan(π/n))。
- 正六边形(s=1)面积约 2.598。