Regular N-gon Calculator (Area, Apothem, Radius)

Calculate all geometric properties of a regular polygon (N-gon), including Area, Perimeter, Apothem, and Radius, by inputting the number of sides (N) and any one dimension.

Full original guide (expanded)

Regular N-gon Calculator (Area, Apothem, Radius)

Solve for all geometric properties of any regular polygon. Input the **Number of Sides ($n$)** and **one** known dimension (Side Length $s$, Apothem $a$, or Radius $R$).

Input (Minimum $n$ and one dimension)

The Fundamental Triangle and Trigonometry

The key to solving any regular N-gon is to divide it into $n$ congruent **isosceles triangles**. Each triangle is formed by two radii ($R$) and one side ($s$). Bisecting this triangle creates a **right triangle**, known as the fundamental triangle, with the following properties:

  • **Leg 1:** Apothem ($a$).
  • **Leg 2:** Half of the side length ($s/2$).
  • **Hypotenuse:** Radius ($R$).
  • **Angle at Center:** Half of the central angle ($\frac{180^\circ}{n}$).

Using this right triangle and the tangent function, we establish the core relationship:

$$\tan\left(\frac{180^\circ}{n}\right) = \frac{\text{Opposite}}{\text{Adjacent}} = \frac{s/2}{a}$$

Key Formulas for a Regular Polygon

Once one property (like the apothem) is known, all other properties can be calculated.

Property Formula
Perimeter ($P$) $P = n \cdot s$
Area ($A$) $$A = \frac{1}{2} a P \quad \text{or} \quad A = \frac{1}{4} n s^2 \cot\left(\frac{180^\circ}{n}\right)$$
Internal Angle ($\theta_i$) $$\theta_i = \frac{(n-2) \times 180^\circ}{n}$$
Central Angle ($\theta_c$) $$\theta_c = \frac{360^\circ}{n}$$

Frequently Asked Questions (FAQ)

What is a regular N-gon?

What is the apothem?

What is the relationship between the central angle and the number of sides?

What is the easiest formula for the area of a regular N-gon?


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 LaTeX)
\[\tan\left(\frac{180^\circ}{n}\right) = \frac{\text{Opposite}}{\text{Adjacent}} = \frac{s/2}{a}\]
\tan\left(\frac{180^\circ}{n}\right) = \frac{\text{Opposite}}{\text{Adjacent}} = \frac{s/2}{a}
Formula (extracted LaTeX)
\[A = \frac{1}{2} a P \quad \text{or} \quad A = \frac{1}{4} n s^2 \cot\left(\frac{180^\circ}{n}\right)\]
A = \frac{1}{2} a P \quad \text{or} \quad A = \frac{1}{4} n s^2 \cot\left(\frac{180^\circ}{n}\right)
Formula (extracted LaTeX)
\[\theta_i = \frac{(n-2) \times 180^\circ}{n}\]
\theta_i = \frac{(n-2) \times 180^\circ}{n}
Formula (extracted LaTeX)
\[\theta_c = \frac{360^\circ}{n}\]
\theta_c = \frac{360^\circ}{n}
Formula (extracted LaTeX)
\[A = \frac{1}{2} a P\]
A = \frac{1}{2} a P
Formula (extracted text)
$\tan\left(\frac{180^\circ}{n}\right) = \frac{\text{Opposite}}{\text{Adjacent}} = \frac{s/2}{a}$
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
Formulas

(Formulas preserved from original page content, if present.)

Version 0.1.0-draft
Citations

Add authoritative sources relevant to this calculator (standards bodies, manuals, official docs).

Changelog
  • 0.1.0-draft — 2026-01-19: Initial draft (review required).