Regular Polygon Calculator
Calculate area, perimeter, apothem, and interior angles with step-by-step solutions.
---
Visual Graph & Diagram
Interactive mathematical coordinate representation
Calculation Reference Table
Benchmark values and quick reference intervals
How to Calculate Regular Polygon Calculator (n-gon)
Step-by-Step Mathematical Solution & Verification
How to Use & Educational Guide
In-depth guide for Regular Polygon Calculator (n-gon)
What is a Regular Polygon? Definition, Angular Mechanics & Symmetry
In Euclidean plane geometry, a regular polygon is a closed two-dimensional convex figure that is both equilateral (all $n$ sides share identical length $s$) and equiangular (all $n$ interior angles share identical angular measure $\alpha$). Because its vertices are spaced evenly across a circular locus, every regular polygon possesses both a concentric incircle (inscribed circle tangent to all edges) and a circumcircle (circumscribed circle passing through every vertex).
A regular polygon has exactly two degrees of freedom: the integer count of its sides ($n \ge 3$) and any single linear dimensionโsuch as side length ($s$), apothem ($a$), circumradius ($R$), perimeter ($P$), or enclosed surface area ($A$). Once the number of sides $n$ and any one of these linear parameters are established, all other angular, radial, and spatial dimensions are rigidly determined.
Apothem ($a$) vs. Circumradius ($R$)
Rยฒ = aยฒ + (s / 2)ยฒ | Apothem meets the side at a strict 90ยฐ midpoint
Concentric Incircle & Circumcircle
Incircle touches all n edges; circumcircle passes through all n vertices
Core Mathematical Properties & Angular Mechanics
- Interior Angle Measure ($\alpha$): The sum of all interior angles across any $n$-sided polygon is strictly $(n - 2) \times 180^\circ$. For a regular polygon, each single interior angle equals:
$$\alpha = \frac{(n - 2) \times 180^\circ}{n}$$
- Exterior & Central Angles ($\theta_e, \theta_c$): A full perimeter rotation traces $360^\circ$ ($2\pi\text{ rad}$). In every regular polygon, each central angle subtending an edge and each exterior turn angle are identical:
$$\theta_c = \theta_e = \frac{360^\circ}{n}$$
- Total Internal Diagonals ($N_d$): The total count of distinct internal chords connecting non-adjacent vertices is:
$$N_d = \frac{n(n - 3)}{2}$$
- Isoperimetric Limit: As the side count $n$ approaches infinity ($n \to \infty$), the perimeter of the polygon approaches the circumference of a circle ($2\pi R$), and the apothem approaches the circumradius ($a \to R$). A regular polygon represents the maximum enclosed surface area achievable by any $n$-gon of fixed perimeter.
How to Use This Regular Polygon Calculator?
This tool computes the comprehensive geometry of any regular $n$-gon from minimal inputs:
- Step 1: Specify Side Count ($n$): Input the total number of sides ($n \ge 3$, e.g., 3 for Equilateral Triangle, 4 for Square, 5 for Pentagon, 6 for Hexagon, 8 for Octagon).
- Step 2: Enter Any One Known Linear Dimension: Provide either the Side Length ($s$), Apothem / Inradius ($a$), Circumradius ($R$), Perimeter ($P$), or Enclosed Area ($A$).
- Step 3: Instant Live Evaluation: The system simultaneously evaluates total surface area, perimeter boundary, interior/exterior angles, circumcircle/incircle radii, and diagonal counts.
- Step 4: Reverse Transformations:
Side from Perimeter: $$s = \frac{P}{n}$$Side from Apothem: $$s = 2a \tan\left(\frac{\pi}{n}\right)$$Side from Circumradius: $$s = 2R \sin\left(\frac{\pi}{n}\right)$$
Regular Polygon Formulas Reference Table
| Geometric Property | Standard Formula | Alternative Form (Trigonometric) |
|---|---|---|
| Surface Area ($A$) | $$A = \frac{1}{2} P a$$ | $$A = \frac{n s^2}{4 \tan(\pi / n)} = \frac{1}{2} n R^2 \sin\left(\frac{2\pi}{n}\right)$$ |
| Boundary Perimeter ($P$) | $$P = n \times s$$ | $$P = 2 n a \tan\left(\frac{\pi}{n}\right) = 2 n R \sin\left(\frac{\pi}{n}\right)$$ |
| Apothem / Inradius ($a$) | $$a = \frac{s}{2 \tan(\pi / n)}$$ | $$a = R \cos\left(\frac{\pi}{n}\right) = \sqrt{R^2 - \left(\frac{s}{2}\right)^2}$$ |
| Circumradius ($R$) | $$R = \frac{s}{2 \sin(\pi / n)}$$ | $$R = \frac{a}{\cos(\pi / n)} = \sqrt{a^2 + \left(\frac{s}{2}\right)^2}$$ |
| Interior Corner Angle ($\alpha$) | $$\alpha = \frac{(n - 2) \times 180^\circ}{n}$$ | $$\alpha = 180^\circ - \theta_c = \pi\left(1 - \frac{2}{n}\right)\text{ rad}$$ |
| Central Angle ($\theta_c$) | $$\theta_c = \frac{360^\circ}{n}$$ | $$\theta_c = \frac{2\pi}{n}\text{ radians}$$ |
Worked Practical Scenarios (Step-by-Step)
Example 1: Gazebo Timber Decking (Regular Octagon: $n = 8$, Side $s = 12\text{ cm}$)
โข Perimeter: $P = n \times s = 8 \times 12 = \mathbf{96\text{ cm}}$.
โข Half-Central Angle: $\frac{\pi}{n} = \frac{180^\circ}{8} = 22.5^\circ$.
โข Apothem ($a$): $a = \frac{s}{2 \tan(22.5^\circ)} = \frac{6}{0.414214} \approx \mathbf{14.49\text{ cm}}$.
โข Circumradius ($R$): $R = \frac{s}{2 \sin(22.5^\circ)} = \frac{6}{0.382683} \approx \mathbf{15.68\text{ cm}}$.
โข Deck Surface Area: $A = \frac{1}{2} P a = \frac{1}{2} \times 96 \times 14.485 = \mathbf{695.3\text{ cm}^2}$.
โข Internal Corner Angle: $\alpha = \frac{(8 - 2) \times 180^\circ}{8} = \frac{1080^\circ}{8} = \mathbf{135^\circ}$.
๐ Results: Area โ 695.3 cmยฒ | Perimeter = 96 cm | Apothem โ 14.49 cm | Interior Angle = 135ยฐ
Example 2: Hexagonal Concrete Pad (Regular Hexagon: $n = 6$, Circumradius $R = 10\text{ m}$)
โข Side Length ($s$): For a regular hexagon, $\sin(30^\circ) = 0.5$, so $s = 2R \sin(30^\circ) = R = \mathbf{10\text{ m}}$.
โข Apothem / Inradius ($a$): $a = R \cos(30^\circ) = 10 \times \frac{\sqrt{3}}{2} \approx \mathbf{8.66\text{ m}}$.
โข Perimeter: $P = 6 \times 10 = \mathbf{60\text{ m}}$.
โข Enclosed Concrete Area: $A = \frac{3\sqrt{3}}{2} R^2 = \frac{3 \times 1.73205}{2} \times 100 \approx \mathbf{259.81\text{ m}^2}$.
๐ Results: Side s = 10 m | Apothem โ 8.66 m | Total Area โ 259.81 mยฒ
Example 3: Reversing Boundary Dimensions from Lot Area (Regular Decagon: $n = 10$, Area $A = 1200\text{ sq ft}$)
โข Angle Parameter: $\tan\left(\frac{180^\circ}{10}\right) = \tan(18^\circ) \approx 0.324920$.
โข Extract Side Length ($s$): $s = \sqrt{\frac{4A \tan(18^\circ)}{n}} = \sqrt{\frac{4 \times 1200 \times 0.324920}{10}} = \sqrt{155.961} \approx \mathbf{12.49\text{ ft}}$.
โข Total Boundary Fencing ($P$): $P = 10 \times 12.488 = \mathbf{124.88\text{ ft}}$.
โข Internal Apothem ($a$): $a = \frac{2A}{P} = \frac{2400}{124.88} \approx \mathbf{19.22\text{ ft}}$.
๐ Results: Side s โ 12.49 ft | Perimeter โ 124.88 ft | Apothem โ 19.22 ft
Where Regular Polygons Appear in Engineering & Architecture
๐ฉ Mechanical Fasteners
Hex nuts and bolt heads ($n = 6$) provide a $60^\circ$ wrench engagement swing angle, optimizing torque transmission while minimizing corner rounding.
๐ Honeycomb Structures
Regular hexagons are one of only three regular polygons (along with triangles and squares) that tile a plane without gaps, providing maximum area with minimum perimeter wall weight.
๐๏ธ Architectural Rotundas
Octagonal gazebos ($n = 8$) and decagonal pavilions approximate circular domes while allowing straight timber studs and standard flat glazing cuts.
Common Traps & Measurement Pitfalls
- Confusing Apothem ($a$) with Circumradius ($R$): The apothem is the perpendicular distance to the midpoint of a side (incircle radius), while the circumradius is the distance to a vertex corner. Because the apothem is a leg of the internal right triangle and $R$ is the hypotenuse, $a < R$ is always true for any finite polygon.
- Mixing Degrees and Radians in Trigonometric Functions: Evaluating $\tan(\pi / n)$ requires calculators to be set to Radians, whereas evaluating $\tan(180^\circ / n)$ requires Degree mode.
- Assuming Diagonals Equal the Diameter: In regular polygons with an odd number of sides ($n = 5, 7, 9$), no diagonal passes through the center point; only even-sided polygons ($n = 4, 6, 8$) have principal diagonals that form true central diameters ($d = 2R$).
Mathematical accuracy verified by AptCalc Engine
Frequently Asked Questions (FAQs)
Answers to common questions about this calculator
How do you find the area of any regular polygon?
What is the apothem of a regular polygon?
What is the formula for the interior angle of a regular polygon?
How do you find the number of diagonals in a regular polygon?
How can you find the side length from the apothem?
Discover Other Calculation Suites
Browse our full ecosystem of precision calculation and conversion tools
Mathematics Suite
Percentages, Algebra, Fractions, Geometry, and step-by-step math solvers.
Date & Time Tools
Days ago, days from today, business days, and calendar date calculators.
Unit Converter
Convert length, weight, volume, temperature, and international units.
Countdown Tracker
Live real-time event countdowns, holidays, and deadline trackers.
Explore Related Calculators
More tools in 2D Geometry
Rectangle Area & Perimeter Calculator
Step-By-Step Solver
Square Calculator (Area, Perimeter & Diagonal)
Step-By-Step Solver
Parallelogram Calculator
Step-By-Step Solver
Trapezoid (Trapezium) Calculator
Step-By-Step Solver
Rhombus Calculator
Step-By-Step Solver
Kite Area & Perimeter Calculator
Step-By-Step Solver