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
 
Perimeter 
Apothem 

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

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-06-21 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.