Geometry / Polygons

Octagon Calculator

Calculate everything about a regular octagon: area, perimeter, side, inradius (apothem), circumradius, and the “cut-corner” square size. Works in mm, cm, m, inches, feet.

Calculator

Results

Side length

Perimeter

Area

Inradius (apothem)

Circumradius

Square side (if cut)

Steps

Regular octagon formulas

For a regular octagon with side \( s \):

Area: \( A = 2(1 + \sqrt{2})s^2 \)

Perimeter: \( P = 8s \)

Inradius (apothem): \( r = \frac{s}{2 \tan(\pi/8)} \)

Circumradius: \( R = \frac{s}{2 \sin(\pi/8)} \)

Numerically, \( 2(1 + \sqrt{2}) \approx 4.82842712 \), so \( A \approx 4.82842712 s^2 \).

Octagon obtained by cutting the corners of a square

If you start from a square of side \( S \) and cut equal isosceles right triangles from each corner so that a regular octagon remains, the octagon side is:

\( s = S(\sqrt{2} - 1) \)

and so \( S = \dfrac{s}{\sqrt{2} - 1} \)

FAQ

Is this only for regular octagons?

Yes. Irregular octagons need coordinates or side-angle data; this tool follows the regular case like the common online calculators.

What unit should I use?

Use whatever you measure in (mm, cm, m, in, ft). We convert everything internally and show some alternative units.