This calculator finds the area of any regular polygon, a shape with equal sides and equal angles, from a single known measurement. Choose the number of sides from the dropdown, ranging from an equilateral triangle (3 sides) up to a 20-sided icosagon, or enter a custom number of sides above 3. Pick your unit of measurement (millimetres, centimetres, metres, inches or feet), then choose which measurement you know: the side length, the apothem (the distance from the centre to the midpoint of a side, also called the inradius), or the circumradius (the distance from the centre to a corner). Enter that one figure and the calculator instantly returns the area, the perimeter, the apothem and the circumradius, along with the polygon's name and interior angle. It also shows the exact formula being used and a full worked example, stepping through tan(pi/n), the numerator and denominator, so you can see exactly how the answer was reached rather than just reading off a number. This is useful for maths homework, trade and construction jobs like laying pavers or fencing a hexagonal deck, craft and design projects, or checking a textbook answer. Results are calculated to full floating-point precision and displayed rounded to four decimal places, so round further to suit the accuracy of your own measurements.
A = (n x s²) / (4 x tan(π/n))
A regular polygon has all sides the same length and all interior angles equal. Common examples include the equilateral triangle (3 sides), square (4 sides), regular pentagon (5 sides), regular hexagon (6 sides), and regular octagon (8 sides). As the number of sides increases, a regular polygon approaches the shape of a circle.
There are three equivalent formulas depending on which measurement you know:
| Known measurement | Formula | Notes |
|---|---|---|
| Side length (s) | A = (n x s²) / (4 x tan(π/n)) | Most common starting point |
| Apothem (a) | A = n x a² x tan(π/n) | Apothem is also called the inradius |
| Circumradius (R) | A = (1/2) x n x R² x sin(2π/n) | Circumradius is the distance to a vertex |
In all formulas, n is the number of sides. The apothem a is the perpendicular distance from the centre to the midpoint of a side. The circumradius R is the distance from the centre to any vertex (corner).
Given side length s, you can find the apothem and circumradius:
Conversely, given the apothem a, the side length is s = 2 x a x tan(π/n), and from circumradius R the side length is s = 2 x R x sin(π/n).
Each interior angle of a regular polygon with n sides is ((n - 2) x 180) / n degrees. For example, a regular hexagon has interior angles of (4 x 180) / 6 = 120 degrees each. The sum of all interior angles is (n - 2) x 180 degrees.
| Polygon | Sides (n) | Interior angle | Area formula (side s) |
|---|---|---|---|
| Equilateral triangle | 3 | 60° | A = (s² x √3) / 4 |
| Square | 4 | 90° | A = s² |
| Pentagon | 5 | 108° | A = (s² / 4) x √(25 + 10√5) |
| Hexagon | 6 | 120° | A = (3√3 / 2) x s² |
| Octagon | 8 | 135° | A = 2(1 + √2) x s² |
Using the side length formula with n = 6, s = 10 cm:
The apothem of this hexagon is a = 10 / (2 x tan(π/6)) = 10 / 1.15470 = 8.66 cm. The circumradius equals the side length for a regular hexagon: R = 10 cm.
Sources and method: Standard Euclidean geometry. Formulas consistent with NZQA Level 2 and Level 3 Mathematics (AS91261, AS91587). See also: Weisstein, E.W. "Regular Polygon" from MathWorld (mathworld.wolfram.com/RegularPolygon.html).
Results are computed to full floating-point precision and displayed rounded to 4 decimal places. For practical applications, round to the precision appropriate for your measurement accuracy.
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.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
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-07-19 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.