How This Calculator Works
Computes exact regular n-gon area `(n × s²) / (4 tan(π/n))`, perimeter, and apothem.
When to Use It
- Sizing octagonal gazebo decks, hexagonal patio pads, or polygonal planters.
Required Measurements
- Number of equal sides (n >= 3) and single side length.
Mathematical Formulas
Regular Polygon Area
Area = (n × s²) / (4 × tan(π / n))
Worked Example: Regular Octagon Gazebo (8 Sides × 5 ft)
Standard octagonal pad.
Example Inputs
- n = 8
- s = 5 ft
Step-by-Step Math
- Area = (8 × 25) / (4 × tan(22.5°)) = 120.71 sq ft.
Result: 120.71 sq ft (11.21 m²), Perimeter 40 ft.
Understanding Your Results
- Exact Mathematical Output
- Direct geometric or physical quantity computed from your entered dimensions before rounding.
- Recommended Purchase Quantity
- Whole bags, boxes, sheets, or units rounded upward so your order covers the waste-adjusted target.
- Estimated Cost
- Calculated strictly from your entered unit price without assumed market rates.
Assumptions
- All sides and interior angles are equal.
Common Calculation Mistakes
- Entering diameter across points instead of single side length.
Scope, Safety Boundaries & Limitations
Safety boundary: Geometry tool only.
- Regular equilateral/equiangular polygons only.
Formula & Unit References: NIST / ISO 80000-3 International Unit Definitions — Exact SI length, mass, and volume conversion factors (0.3048 m/ft, 0.45359237 kg/lb, 3.785411784 L/US gal)
Last verified: 2026-11-26Report an error or suggest a correction
Frequently Asked Questions
What is the apothem?
The perpendicular distance from the polygon center to the midpoint of any side.