Compute all essential parameters of a regular heptagon: side length, circumradius, inradius (apothem), area, perimeter, interior angle, and central angle. Visualize the polygon, circumcircle, and incircle on an interactive canvas. Perfect for mathematical exploration, polygon tiling, architecture, and design.
A regular heptagon (also called a 7‑gon) is a polygon with seven equal sides and seven equal interior angles. Its symmetry group is the dihedral group D7, making it a highly symmetric shape. Unlike the triangle or square, the regular heptagon is not constructible with only a compass and straightedge — a fact proved by Gauss in his Disquisitiones Arithmeticae (1801). However, approximate constructions exist, and heptagons appear in architecture, coin design, and tiling theory.
For a regular heptagon with circumradius R:
s = 2R sin(π/7) r = R cos(π/7) A = (7/2) R² sin(2π/7) P = 7s
The key constants involve trigonometric values of π/7 (≈ 25.714°). All properties derive from dividing the heptagon into 7 congruent isosceles triangles with apex at the center.
The constant cot(π/7) ≈ 2.076521, and sin(π/7) ≈ 0.4338837. These irrational numbers are algebraic of degree 3, which is why the heptagon is not constructible by classical methods. Nevertheless, modern computational geometry uses these closed-form expressions to high precision.
| Polygon | Central angle | Interior angle | Area (R=1) | Apothem (R=1) |
|---|---|---|---|---|
| Regular Heptagon (7) | 51.429° | 128.571° | 2.736 | 0.9009688679 |
| Regular Hexagon (6) | 60° | 120° | 2.598 | 0.866025 |
| Regular Octagon (8) | 45° | 135° | 2.828 | 0.92388 |
| Regular Pentagon (5) | 72° | 108° | 2.377 | 0.809017 |
The famous British 50‑pence coin and the 20‑cent euro coin are regular heptagons with curved sides (Reuleaux heptagon), but the ideal regular heptagon appears in Islamic geometric patterns, the design of certain medals, and in futuristic building floor plans. By using our calculator, architects and designers can quickly size the circumradius to fit a given perimeter, or compute the apothem for construction of radial trusses. The heptagon’s irrational constant provides aesthetic novelty and mathematical depth in decorative arts.
The earliest known heptagonal constructions appear in medieval Islamic mosaics. Because the heptagon is not constructible with straightedge and compass, historical approximations used the "heptagon of al‑Kāshī" (15th century) who computed sin(π/7) with remarkable accuracy. Modern mathematics recognizes the heptagon through algebraic number fields and the cubic equation x³ + x² − 2x − 1 = 0 satisfied by 2cos(2π/7). This rich history makes the heptagon a fascinating subject for both pure geometry and computational tools.
Let ζ = e2πi/7 be a primitive 7th root of unity. The vertices of a regular heptagon with circumradius R are given by R·ζk. Using complex coordinates, side length = |R(ζ − 1)| = 2R sin(π/7). The area computed via shoelace formula yields A = (7/2)R² sin(2π/7). Because sin(2π/7) = 2 sin(π/7) cos(π/7), the area also equals (7/2) R² ⋅ 2 sin(π/7) cos(π/7) = 7R² sin(π/7) cos(π/7) = (7/2) s R cos(π/7) = (1/2) P r, confirming the classic polygon area formula.