Octagon Area Calculator

Area, perimeter, diagonals and radii of a regular octagon — solved from any measurement.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

A regular octagon has eight equal sides and eight equal interior angles of 135 degrees each. It appears everywhere — stop signs, bathroom floor tiles, umbrellas, bolts, architectural windows — yet calculating its area or checking whether a piece will fit a given space trips people up regularly because the formula involves the square root of two in an unfamiliar way.

This calculator removes that friction. Tell it any one measurement you already know — the side length, the area, the perimeter, the inradius (centre to edge), the circumradius (centre to vertex), the long diagonal or the flat-to-flat width — and it instantly derives all the others. Select your preferred unit (mm, cm, m, in, ft or more), choose how many decimal places matter, then expand Show working to see every algebraic step with your numbers substituted in.

How it works

Every property of a regular octagon is a fixed multiple of the side length s. The calculator first inverts whichever formula matches your chosen input to recover s, then applies the standard constants forward.

The key formulas, where s is the side length:

  • Area = 2(1 + sqrt(2)) * s squared, approximately 4.8284 * s squared
  • Perimeter = 8 * s
  • Inradius r (centre to edge midpoint) = (1 + sqrt(2)) / 2 * s, approximately 1.2071 * s
  • Circumradius R (centre to vertex) = sqrt(4 + 2*sqrt(2)) / 2 * s, approximately 1.3066 * s
  • Long diagonal d (vertex to vertex through centre) = sqrt(4 + 2*sqrt(2)) * s = 2R, approximately 2.6131 * s
  • Width w (flat to flat across opposite sides) = (1 + sqrt(2)) * s = 2r, approximately 2.4142 * s

The SVG diagram labels s, r and R directly on the shape so you can see exactly which dimension each formula refers to before entering a number.

Worked example

Suppose a stop sign has a flat-to-flat width of 750 mm and you need the area to quote sheet metal:

  1. Select “Width — flat to flat (w)” and enter 750, unit = mm.
  2. Side: s = 750 / (1 + sqrt(2)) = 750 / 2.41421… = 310.66 mm
  3. Area: 4.82843 * 310.66 squared = 4.82843 * 96,510 = 465,990 mm squared (about 0.466 m squared)
  4. Perimeter: 8 * 310.66 = 2485.3 mm
Width w (mm)Side s (mm)Area (mm squared)Perimeter (mm)
300124.2674,558994.1
600248.53298,2341988.2
750310.66465,9902485.3
1000414.21828,4273313.7

Formula note

The 2(1 + sqrt(2)) coefficient in the area formula comes from dividing the octagon into eight congruent isosceles triangles, each with a central angle of 45 degrees. Each triangle has area (1/2) * R squared * sin(45 degrees). Summing eight of them and expressing R in terms of s via R = sqrt(4 + 2*sqrt(2)) / 2 * s, and then simplifying, yields exactly 2(1 + sqrt(2)) * s squared. The constant 1 + sqrt(2) appears repeatedly because it is the cotangent of 22.5 degrees (half the interior vertex angle), which governs all flat-to-centre distances in the octagon.

Everything runs entirely in your browser — no numbers are sent to a server at any point.

Ad placeholder (rectangle)