terican

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.

FreeInstantNo signupOpen source

Inputs

Calculated Heptagon Property

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Calculated Heptagon Property

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

Frequently asked questions

What is a regular heptagon and how does it differ from an irregular heptagon?
A regular heptagon has all seven sides equal in length and all seven interior angles equal in measure, with each angle being exactly 900/7 degrees, approximately 128.571 degrees. An irregular heptagon has seven sides of varying lengths and angles. Only the regular heptagon has 7-fold rotational symmetry and 7 lines of reflective symmetry, making its geometric properties computable from a single side length measurement.
How do you calculate the area of a regular heptagon?
The area of a regular heptagon with side length s uses the formula A = (7/4) times s squared times cot(pi/7), which simplifies to approximately 3.6339 times s squared. For s = 10 cm, the area is approximately 363.39 square centimeters. For s = 5 m, the area is about 90.85 square meters. The formula is derived by dividing the heptagon into 7 identical isosceles triangles and summing their individual areas using the apothem as the triangle height.
What is the apothem of a regular heptagon, and how is it calculated?
The apothem is the perpendicular distance from the center of a regular heptagon to the midpoint of any side, calculated as a = s divided by (2 times tan(pi/7)), or approximately 1.0383 times the side length. It equals the inradius of the inscribed circle that touches all seven sides. For a heptagon with side length 10 cm, the apothem is about 10.38 cm. The apothem is essential for the alternate area formula A = one-half times perimeter times apothem.
What is the circumradius of a regular heptagon and how does it relate to the apothem?
The circumradius R equals s divided by (2 times sin(pi/7)), or approximately 1.1524 times the side length, and it is the radius of the circle passing through all seven vertices. For a side length of 10 cm, R is approximately 11.52 cm. The circumradius is always larger than the apothem by a factor of 1/cos(pi/7) approximately 1.1099, because vertices extend further from the center than the midpoints of the sides, which the inscribed circle merely touches.
What are the interior angles of a regular heptagon, and how is the sum calculated?
Each interior angle of a regular heptagon measures exactly 900/7 degrees, approximately 128.571 degrees. The total sum of all interior angles is 900 degrees, derived from the general polygon formula (n minus 2) times 180 degrees: (7 minus 2) times 180 = 5 times 180 = 900 degrees. Each corresponding exterior angle measures approximately 51.429 degrees. These angle values are fixed properties of the shape and do not change with scale or side length.
How many diagonals does a regular heptagon have, and how is that number derived?
A regular heptagon has exactly 14 diagonals. The count comes from the formula n times (n minus 3) divided by 2, where n is the number of sides. For a heptagon: 7 times (7 minus 3) divided by 2 equals 7 times 4 divided by 2, which equals 14. These 14 diagonals connect the 7 vertices in all non-adjacent pairings and form the internal line pattern of the heptagram, the seven-pointed star polygon used extensively in geometry, heraldry, and decorative art.