Last verified · v1.0
Calculator · math
Regular Polygon Area Calculator
Compute the area of any regular polygon using A = (n × s²/4) × cot(π/n). Enter number of sides and side length for an instant, accurate result.
Inputs
Polygon Area
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
Regular Polygon Area Formula and Methodology
A regular polygon is a closed, two-dimensional figure with n sides of equal length and n interior angles of equal measure. The regular polygon area calculator computes the enclosed area precisely from just two values: the number of sides and the length of one side. It applies a trigonometric formula trusted by engineers, architects, and mathematicians alike.
The Core Formula
The area A of a regular polygon with n sides, each of length s, is:
A = (n × s²) / 4 × cot(π / n)
Here, cot is the cotangent function — the reciprocal of tangent — and π ≈ 3.14159. This expression is listed as a standard engineering reference in the HP 35s Scientific Calculator User Guide and is rigorously derived in Area and Volume: Where Do the Formulas Come From?, which traces its roots to classical triangle decomposition and the apothem relationship.
Variable Definitions
- n — Number of Sides: A positive integer of 3 or greater. Common values include 3 (equilateral triangle), 4 (square), 5 (regular pentagon), 6 (regular hexagon), and 8 (regular octagon). As n increases toward infinity, the polygon approaches a circle.
- s — Side Length: The length of any one side, measured in a consistent unit (centimeters, inches, meters, feet). Because all sides of a regular polygon are identical, a single measurement fully defines the figure.
Formula Derivation: From Triangles to the Full Expression
Drawing line segments from the center of the polygon to each vertex divides the figure into n congruent isosceles triangles. Each triangle has a base of length s and a height equal to the apothem — the perpendicular distance from the center to the midpoint of a side. The apothem equals:
a = s / (2 × tan(π / n))
The area of one triangle is (1/2) × s × a = s² / (4 × tan(π / n)). Multiplying by n triangles and substituting cot(θ) = 1 / tan(θ) yields the standard formula. Khan Academy’s lesson on the area of a regular polygon given side length walks through this derivation step by step with interactive diagrams.
Worked Examples
- Equilateral Triangle (n = 3, s = 10 cm): A = (3 × 100) / 4 × cot(60°) = 75 × 0.5774 ≈ 43.30 cm²
- Square (n = 4, s = 10 cm): A = (4 × 100) / 4 × cot(45°) = 100 × 1 = 100 cm² — confirms the familiar s² rule.
- Regular Hexagon (n = 6, s = 10 cm): A = (6 × 100) / 4 × cot(30°) = 150 × 1.7321 ≈ 259.81 cm²
- Regular Octagon (n = 8, s = 5 m): A = (8 × 25) / 4 × cot(22.5°) = 50 × 2.4142 ≈ 120.71 m²
Real-World Applications
The regular polygon area formula serves professionals across multiple disciplines:
- Architecture and Interior Design: Sizing hexagonal or octagonal floor tiles, windows, and decorative panels to minimize gaps and waste.
- Mechanical Engineering: Calculating the cross-sectional area of hex bolts, nuts, and sockets (n = 6) for material and torque specifications.
- Urban Planning: Estimating the ground footprint of polygonal plazas, parks, and traffic roundabouts.
- Game Development: Computing hex-grid cell areas for terrain scaling in strategy and role-playing games.
- Manufacturing: Determining stock material size for polygonal machined components to minimize material waste and cost.
Limitations and Key Notes
The formula applies only to perfect regular polygons where all sides and all angles are equal. For irregular polygons, use the Shoelace Formula (Surveyor’s Formula) instead. As n grows very large, the polygon converges to a circle, and the area approaches πr² where r is the circumradius. Always verify that all side-length values use the same unit; the calculated area will be in the square of that unit.
Reference