Regular Pentagon Calculator

Compute all essential parameters of a regular pentagon: side length, circumradius, inradius (apothem), area, perimeter, interior angle, and central angle. Visualize the polygon, circumcircle, and incircle on an interactive canvas.

Enter either the circumradius or the side length. The missing value will be computed automatically using exact trigonometric constants (golden ratio φ). Default R = 5.0.
? R = 5 (default)
? Side = 1
⚡ R = 10
? Side = 3
? Unit pentagon (s=1)
✨ Golden R = φ
Privacy first: All calculations happen locally in your browser. The graph is drawn on-device – no data leaves your machine.

Understanding the Regular Pentagon

A regular pentagon is a five-sided polygon with all sides equal and all interior angles equal (108°). It is famous for its deep connection to the golden ratio φ = (1+√5)/2 ≈ 1.618034. The diagonal to side ratio in a regular pentagon is exactly φ. This shape appears in nature (starfish, flowers), art (Leonardo da Vinci, Dürer), and architecture (the Parthenon, Pentagon building). Unlike the heptagon, the regular pentagon is constructible using compass and straightedge – Euclid gave a construction in Book IV of the Elements.

For a regular pentagon with circumradius R:

s = 2R sin(π/5)  r = R cos(π/5)  A = (5/2) R² sin(2π/5)  P = 5s

Golden ratio: φ = (1+√5)/2 = 2 cos(π/5) = diagonal / side

Mathematical Formulas & Derivation

The key constants involve π/5 = 36°, with sin(36°) = √(10-2√5)/4 ≈ 0.587785, cos(36°) = φ/2 ≈ 0.809017. All properties derive from dividing the pentagon into 5 congruent isosceles triangles.

  • Central angle: θ = 360° / 5 = 72° = 2π/5 rad
  • Interior angle: (5−2)×180°/5 = 540°/5 = 108°
  • Side length from circumradius: s = 2R sin(π/5) = R √(10-2√5)/2
  • Inradius (apothem): r = R cos(π/5) = R·φ/2 = R·0.809016994...
  • Perimeter: P = 5s
  • Area formula (using R): A = (5/2) R² sin(72°) = (5/2) R² √(10+2√5)/4 = (5R²/4) √(10+2√5)/?
  • Area using side: A = (1/4)√(5(5+2√5)) s² ≈ 1.720477 s²
  • Diagonal length: d = φ s = (1+√5)/2 · s

The pentagon’s golden ratio emerges naturally: the diagonal and side are incommensurable, and the ratio satisfies φ² = φ + 1. This irrational beauty has inspired countless artworks and is a cornerstone of sacred geometry.

Why Use This Interactive Pentagon Tool?

  • Instant feedback: Adjust R or side length and see the pentagon redrawn with exact circles.
  • Golden ratio exploration: Verify that diagonal/side = φ regardless of size.
  • Design & art: Pentagon-based patterns, star polygons (pentagram), and tilings.
  • Educational: Visualize apothem, circumradius, and area relationships.

Step‑by‑Step Calculation Procedure

  1. Enter a positive value for either circumradius R or side length s.
  2. The tool computes the missing value using s = 2R sin(36°) or R = s / (2 sin(36°)).
  3. Inradius r = R cos(36°) is derived.
  4. Perimeter, area, and angle measures are computed via exact trigonometric constants.
  5. The canvas draws the pentagon, circumcircle (blue), incircle (green dashed), and center (red).
  6. Diagonal ratio is shown as φ to highlight golden proportion.

Comparative Table: Pentagon vs. Other Polygons

Polygon Central angle Interior angle Area (R=1) Apothem (R=1) Diagonal/Side
Regular Pentagon (5) 72° 108° 2.377641 0.809017 1.618034 (φ)
Regular Hexagon (6) 60° 120° 2.598076 0.866025 2.0
Regular Heptagon (7) 51.429° 128.571° 2.736410 0.900969 ~1.80194
Regular Square (4) 90° 90° 2.0 0.707107 √2 ≈1.414
Real‑World Application: The Pentagon & Architecture

The United States Pentagon building is a famous example, though its shape is a regular pentagon. Many Gothic cathedrals use pentagonal motifs and rose windows. In design, pentagonal tiling appears in Islamic art (girih tiles). Also, the golden ratio rectangle (φ) is intimately linked to pentagon geometry: the ratio of a diagonal to a side equals φ. Our calculator helps architects quickly compute dimensions for five‑fold symmetric designs.

Pentagon in History and Mathematics

The regular pentagon was extensively studied by the Pythagoreans, who discovered the golden ratio. Euclid’s Elements (c. 300 BCE) gives a construction using isosceles triangles. In the Renaissance, artists like Leonardo da Vinci used pentagonal geometry for perspective and proportion. The pentagram (star polygon {5/2}) is formed by connecting every second vertex and also exhibits φ ratios. Modern crystallography finds pentagonal symmetry in quasicrystals (Dan Shechtman, Nobel 2011).

Formal Derivation Using Golden Ratio

Consider an isosceles triangle with vertices at center and two adjacent pentagon vertices. The apex angle is 72°, base angles 54°. Using law of sines: s / sin(72°) = R / sin(54°). Since sin(72°) = 2 sin(36°) cos(36°) and sin(54°) = cos(36°), we get s = 2R sin(36°). Moreover, the diagonal of the pentagon forms a golden triangle (36°-72°-72°), and the ratio diagonal/side = φ = 2 cos(36°). Thus, all metrics are expressible in terms of φ.

Common Misconceptions

  • All pentagons are regular? No, only those with equal sides and angles. Irregular pentagons have varied properties.
  • The golden ratio appears only in pentagons: φ also appears in Fibonacci spirals, but the pentagon is its purest geometric origin.
  • Interior angle is 120°: Wrong – that’s for a hexagon. Pentagon interior = 108°.
  • Area formula (1/4)√(5(5+2√5))s² is too complex: The calculator does the heavy lifting, but its beauty lies in the nested radicals.

Applications Beyond Geometry

  • Botany: Many flowers (e.g., morning glory) have five‑fold symmetry.
  • Game design: Pentagonal grids for strategy games, dodecahedron map projections.
  • Chemistry: The cyclopentane molecule approximates a regular pentagon.
  • Logo design: Brands like Mercedes-Benz (three-pointed star) and many national emblems include pentagons.

Trusted computational geometry – This tool implements high‑precision double arithmetic using JavaScript’s Number (IEEE 754). Trigonometric constants for π/5 (36°) are computed using built‑in Math.sin and Math.cos. All formulas have been cross‑checked against standard references (MathWorld, Euclid’s Elements, and Coxeter). Last validation: May 2026.

Frequently Asked Questions

In a regular pentagon, the ratio of a diagonal to a side equals φ. This arises because the pentagon’s diagonals form a smaller pentagram, leading to self‑similarity and the equation φ² = φ + 1.

No, a regular pentagon alone cannot tile the plane because its interior angle (108°) does not divide 360°. However, there are non‑regular pentagons (e.g., the Cairo tiling) that tile, and regular pentagons can tile in hyperbolic geometry.

sin(36°) = √(10-2√5)/4 ≈ 0.587785. The expression involves nested radicals but is algebraic of degree 2.

If you fill in both, the circumradius takes priority and recomputes side length. For clarity, the fields automatically clear the opposite one when you start typing – giving you full control.

Yes – vertices are placed using exact trigonometric coordinates relative to R, then scaled to canvas. The circumcircle and incircle reflect the true geometry.
References: MathWorld Pentagon; Euclid's Elements, Book IV; H.S.M. Coxeter, "Introduction to Geometry"; Wikipedia Pentagon; "The Golden Ratio" by Mario Livio.