Last verified · v1.0
Calculator · math
Regular Heptagon Calculator
Compute area, perimeter, apothem, inradius, and circumradius of a regular heptagon from a single side length using exact trigonometric formulas.
Inputs
Calculated Heptagon Property
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
Regular Heptagon Calculator: Formulas, Variables, and Step-by-Step Examples
A regular heptagon is a seven-sided polygon with all seven sides equal in length and all seven interior angles equal in measure. Unlike triangles, squares, or regular hexagons, the regular heptagon cannot be constructed with a compass and straightedge alone — it requires trigonometric methods for exact computation. This heptagon calculator applies those methods directly, computing area, perimeter, apothem, inradius, and circumradius from a single side length input with full precision.
Variables and Their Meaning
- s — side length: the length of one of the seven equal sides, expressed in any unit of length
- A — area: the total flat surface enclosed within the seven sides
- P — perimeter: the total boundary distance around the heptagon, equal to 7 times the side length
- a — apothem: the perpendicular distance from the center to the midpoint of any side; also the inradius of the inscribed circle
- R — circumradius: the distance from the center to any vertex; the radius of the circumscribed circle passing through all seven vertices
Area Formula: A = (7/4) × s² × cot(π/7)
The area formula is derived by partitioning the heptagon into 7 congruent isosceles triangles, each sharing one vertex at the geometric center. Every triangle has a base of length s and a height equal to the apothem a. The area of each triangle is (1/2) × s × a, and summing all 7 gives A = (7/2) × s × a. Substituting a = s / (2 tan(π/7)) and using the identity 1/tan(x) = cot(x) produces the standard cotangent form. Since cot(π/7) ≈ 2.07652, the numeric coefficient evaluates to (7/4) × 2.07652 ≈ 3.6339.
Worked examples:
- s = 1 cm → A ≈ 3.634 cm²
- s = 5 cm → A ≈ 90.85 cm²
- s = 10 m → A ≈ 363.39 m²
- s = 2.5 ft → A ≈ 22.71 ft²
Perimeter Formula: P = 7s
Since all seven sides of a regular heptagon are equal, the perimeter is simply seven times the side length: P = 7s. A heptagon with a side length of 12 cm has a perimeter of exactly 84 cm. A heptagon with s = 3.5 m yields a perimeter of 24.5 m. Despite its simplicity, the perimeter formula underpins material cost estimates for heptagonal frames, garden borders, and architectural outlines.
Apothem (Inradius) Formula: a = s / (2 × tan(π/7))
The apothem is the perpendicular distance from the center to the midpoint of any side, and it equals the inradius of the largest circle that fits inside the heptagon. With tan(π/7) ≈ 0.48157, the apothem equals approximately 1.0383 × s. For s = 8 cm, the apothem is 8 / (2 × 0.48157) ≈ 8.306 cm. The area can also be expressed as A = (1/2) × P × a, confirming internal consistency: (1/2) × 7s × (s / 2tan(π/7)) = (7s²) / (4tan(π/7)) = (7/4) × s² × cot(π/7).
Circumradius Formula: R = s / (2 × sin(π/7))
The circumradius is the radius of the circle that passes exactly through all seven vertices. With sin(π/7) ≈ 0.43388, the circumradius is approximately 1.1524 × s. For s = 6 cm, R ≈ 6 / 0.86777 ≈ 6.91 cm. The circumradius is always larger than the apothem because vertices project further from the center than side midpoints do. The ratio R / a = 1 / cos(π/7) ≈ 1.1099 for any regular heptagon.
Interior Angles and Diagonal Count
The angular and diagonal properties of a regular heptagon are fixed regardless of scale. The sum of all interior angles equals (7 − 2) × 180° = 900°, making each individual interior angle exactly 900° / 7 ≈ 128.571°. Each exterior angle therefore measures approximately 51.429°. The number of diagonals follows the formula n(n − 3) / 2, giving 7 × 4 / 2 = 14 diagonals. These diagonals produce the characteristic star-polygon (heptagram) intersection patterns widely used in art and symbolic design.
Real-World Applications
Regular heptagonal geometry appears in everyday objects. The British 20-pence and 50-pence coins use a Reuleaux heptagon profile — a curved-side variant of the regular heptagon that maintains constant width, enabling coin-sorting machines to accept them reliably. Architects and landscape designers use heptagonal floor plans and tile patterns to achieve 7-fold rotational symmetry. In mechanical engineering, heptagonal cross-sections appear in specialized socket heads and precision fixtures.
Sources and Methodology
The formulas presented here follow the established trigonometric derivations for regular polygons documented in Wolfram MathWorld: Heptagon and Wikipedia: Heptagon. Both sources confirm identical area, apothem, and circumradius formulas based on the same central-triangle decomposition method used above.
Reference