Regular Octagon Area Calculator

This regular octagon area calculator works out the area of a regular octagon, a eight-sided polygon with all sides and all angles equal. Enter the side length, choose your unit, and it returns the area straight away, along with the perimeter and the apothem (the distance from the centre to the middle of a side). A regular octagon is one of the standard regular polygons, so the area follows a single tidy formula based on the number of sides and the side length. The calculator does the trigonometry for you, so you do not need to look up the cotangent of the central angle by hand. It is unit agnostic: if you enter the side in metres the area comes back in square metres, and if you enter centimetres it comes back in square centimetres. Use it for geometry homework, drafting and design, tiling and paving layouts, or any time you need the area of a regular eight-sided shape quickly. The formula, a worked example and the assumptions are all set out below so you can check the result and understand where it comes from.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
 
Perimeter48 m
Apothem7.242641 m

The formula

The area of a regular polygon with eight sides is one quarter of the number of sides times the side length squared, times the cotangent of pi divided by the number of sides. In symbols, A = (1/4) n s² cot(pi/n), where n = 8 for a octagon and s is the side length. The apothem is (s/2) cot(pi/n) and the perimeter is n times s.

Worked example

Take a regular octagon with a side of 6. The area is (1/4) times 8 times 6 squared times cot(pi/8), the perimeter is 8 times 6 = 48, and the apothem is 3 times cot(pi/8). Enter 6 above to see the exact figures.

Frequently asked questions

What is the area formula for a regular octagon?

A = one quarter times eight times the side length squared, times the cotangent of pi over 8. The calculator evaluates the cotangent for you.

Does this work only for a regular octagon?

Yes. It assumes a regular octagon, meaning all eight sides and all angles are equal. An irregular octagon needs a different method, such as splitting it into triangles.

What units does it use?

Whatever unit you enter. A side in metres gives an area in square metres, a side in centimetres gives square centimetres. Keep the side in one unit.

Who this calculator is for

This calculator is for students, drafters, designers and anyone who needs the area of a regular octagon from its side length.

What this calculator assumes

  • The polygon is regular, with eight equal sides and equal angles.
  • You enter the straight side length, not the apothem or the radius.
  • The area is in the square of whatever unit you use for the side.
  • Results are rounded for display.

Formula and sources

Related calculators