Octagon Formula

Area, perimeter, diagonal and apothem of a regular octagon

Reviewed by [email protected], Geometry Calculator Developer & Online Math Educator Last updated May 13, 2026

A regular octagon is an eight-sided polygon with all sides and all interior angles equal. Each interior angle is 135°, and the formulas for area, perimeter, diagonal, and apothem only need the side length s. The constant (1 + √2) ≈ 2.4142 shows up everywhere — that's what makes octagons special.

The Formulas

Name Formula Notes
Area (side length) A = 2 × (1 + √2) × s² s = side length. Numerical form: A ≈ 4.8284 · s². The simplest form when all you know is the side.
Perimeter P = 8 × s Eight equal sides — same units as the side length.
Long Diagonal (vertex to vertex) d = s × √(4 + 2√2) d ≈ 2.6131 · s. The longest distance across the octagon (through the center, vertex-to-vertex).
Short Diagonal d₂ = s × √(2 + √2) d₂ ≈ 1.8478 · s. Vertex to next-but-one vertex (skipping one).
Apothem a = s × (1 + √2) / 2 a ≈ 1.2071 · s. The perpendicular distance from the center to the midpoint of any side.
Area from Apothem A = ½ × P × a = 4 × s × a Universal regular polygon formula. Equivalent to the explicit form above.
Interior Angle ∠ = (8 − 2) × 180° / 8 = 135° From the polygon angle sum formula. Each interior angle is always 135° in a regular octagon.
Exterior Angle ∠ext = 360° / 8 = 45° Exterior angle is supplementary to interior: 180° − 135° = 45°.
Circumradius R = s × √(2 + √2) / 2 R ≈ 1.3066 · s. Radius of the circle that passes through all 8 vertices.
Inradius r = a = s × (1 + √2) / 2 Radius of the inscribed circle. Same as apothem.

Worked Examples

Example 1: Regular octagon with side 5 cm

  1. Perimeter P = 8 × 5 = 40 cm
  2. Area A = 2(1 + √2) × 5² = 2 × 2.4142 × 25 ≈ 120.71 cm²
  3. Long diagonal d = 5 × √(4 + 2√2) ≈ 5 × 2.6131 ≈ 13.07 cm
  4. Apothem a = 5 × (1 + √2)/2 ≈ 6.04 cm

Example 2: Find side length given area = 482.84 cm²

  1. A = 2(1 + √2) · s² → s² = A / [2(1 + √2)]
  2. s² = 482.84 / 4.8284 = 100
  3. s = 10 cm
  4. Check: P = 80 cm, d ≈ 26.13 cm

Example 3: Stop sign geometry (real-world octagon)

  1. Standard US stop sign has side length s = 12.5 inches (≈ 31.75 cm)
  2. Area A ≈ 4.8284 × 12.5² ≈ 754.4 in²
  3. Long diagonal d ≈ 2.6131 × 12.5 ≈ 32.66 in — width of the sign

Skip the manual calculation

Plug in your numbers and get instant step-by-step results.

Use Polygon Calculator See All Geometry Formulas