Enter the side length of a regular nonagon and instantly obtain its circumradius, inradius, area, perimeter, diagonal lengths, and angles. All calculations are based on exact trigonometric formulas.
A regular nonagon (or enneagon) is a nine‑sided polygon with all sides equal and all interior angles equal. Each interior angle measures (9−2)×180°/9 = 140°, and the central angle (subtended by each side at the center) is 360°/9 = 40°. Because 9 is not a Fermat prime, a regular nonagon cannot be constructed exactly using only a compass and straightedge – a famous result proved by Gauss. Nevertheless, it appears frequently in architecture, design, coinage, and mathematical education.
Key formulas for a regular nonagon (side a)
Circumradius: \( R = \frac{a}{2 \sin(\pi/9)} \)
Inradius: \( r = \frac{a}{2 \tan(\pi/9)} \)
Area: \( A = \frac{9}{4} a^2 \cot(\pi/9) \)
Diagonal spanning \( k \) sides: \( d_k = 2R \sin(k\pi/9) \), k = 2,3,4
The nonagon has intrigued mathematicians since antiquity. Archimedes likely explored approximate constructions. In the 19th century, Gauss proved that a regular n‑gon is constructible by compass and straightedge only if n is a product of a power of two and distinct Fermat primes. Since 9 is not a Fermat prime (the known Fermat primes are 3, 5, 17, 257…), the regular nonagon is not constructible. This discovery linked number theory with geometry in a profound way. Despite this, the nonagon remains a popular shape in decorative art, tiling, and modern structural design.
Verified with this calculator.
| Side a | Circumradius R | Inradius r | Area A | Short diag. d₂ | Medium diag. d₃ | Long diag. d₄ |
|---|---|---|---|---|---|---|
| 1 | 1.461902 | 1.373739 | 6.181824 | 1.879385 | 2.532089 | 2.879385 |
| 2 | 2.923804 | 2.747478 | 24.727296 | 3.758770 | 5.064178 | 5.758770 |
| 3 | 4.385706 | 4.121217 | 55.636416 | 5.638155 | 7.596267 | 8.638155 |
| 5 | 7.309510 | 6.868695 | 154.545600 | 9.396925 | 12.660445 | 14.396925 |
| 10 | 14.619020 | 13.737390 | 618.182400 | 18.793850 | 25.320890 | 28.793850 |
A cultural center plans a regular‑nonagon dome with side length 2.5 meters. Using this calculator, the architect obtains circumradius ≈ 3.6548 m, inradius ≈ 3.4343 m, and area ≈ 38.636 m². These figures are essential for estimating the surface area, material quantities, and positioning of support beams. Diagonal lengths also help design internal trusses.
The trigonometric values for 20° (π/9) appear in many identities, but they cannot be expressed using only square roots (unlike 18° or 30°). This is why the nonagon is not constructible. However, approximations like sin20° ≈ 0.3420 are sufficient for practical work.
const n = 9;
const angle = Math.PI / n; // 20°
let a = parseFloat(sideInput);
let R = a / (2 * Math.sin(angle));
let r = a / (2 * Math.tan(angle));
let area = (n/4) * a * a * Math.cos(angle) / Math.sin(angle); // cot = cos/sin
let perimeter = n * a;
let d2 = 2 * R * Math.sin(2*angle); // 40°
let d3 = 2 * R * Math.sin(3*angle); // 60°
let d4 = 2 * R * Math.sin(4*angle); // 80°