Heptagon Calculator

This tool works with a regular heptagon (7 equal sides). Enter any one measure – side, perimeter, area, apothem, or circumradius – and we’ll compute the rest.

7 sides Bidirectional Shows formulas

Formulas for a regular heptagon

Let \( s \) be the side length. For n = 7 sides:

Perimeter: \( P = 7s \)

Apothem (inradius): \( a = \frac{s}{2 \tan(\pi/7)} \)

Circumradius: \( R = \frac{s}{2 \sin(\pi/7)} \)

Area (from side): \( A = \frac{7}{4} s^2 \cot(\pi/7) \)

Interior angle: \( \theta = \frac{(7-2)\times 180^\circ}{7} = \frac{900^\circ}{7} \approx 128.571^\circ \)

These identities are what the calculator uses behind the scenes. If you provide a different starting value (for example apothem), we first convert it to side length using the inverse of the corresponding formula.

Example

Example: Find the area of a regular heptagon with side 5 cm.

  1. Use \( A = \frac{7}{4} s^2 \cot(\pi/7) \)
  2. Compute \( s^2 = 5^2 = 25 \)
  3. Compute \( \cot(\pi/7) \) ≈ 2.0765
  4. Then \( A = \frac{7}{4} \times 25 \times 2.0765 \approx 90.84 \text{ cm}^2 \)

The calculator will show the area rounded to your browser’s default formatting.

Heptagon Calculator – FAQ


Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\\]
','\
Formula (extracted text)
Perimeter: \( P = 7s \) Apothem (inradius): \( a = \frac{s}{2 \tan(\pi/7)} \) Circumradius: \( R = \frac{s}{2 \sin(\pi/7)} \) Area (from side): \( A = \frac{7}{4} s^2 \cot(\pi/7) \) Interior angle: \( \theta = \frac{(7-2)\times 180^\circ}{7} = \frac{900^\circ}{7} \approx 128.571^\circ \)
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
, ', svg: { fontCache: 'global' } }; ]], displayMath: [['\\[','\\]']] }, svg: { fontCache: 'global' } };, svg: { fontCache: 'global' } };