How to use the calculator
- Type the Number of Sides: 3 for a triangle, 5 for a pentagon, 6 for a hexagon, 8 for an octagon, and so on.
- Type the Side Length.
- Click Calculate Area. The result reads "The polygon area is …" with two decimals.
Use a dot for decimals, as in 2.5. The number of sides must be a whole number of at least 3. The result is in the square of the unit of the side (ft², in², m²). Reset empties both fields.
This tool is for regular polygons only: every side the same length and every angle the same. For a lot or room with unequal sides, see the end of this page.
The formula
It comes from splitting the polygon into n identical triangles that meet at the center. Each triangle has the side as its base and the apothem (the distance from the center to the middle of a side) as its height. That gives an equivalent, easier-to-remember form:
A hexagonal patio with 4 ft sides
n = 6, s = 4.
- tan(π ÷ 6) = tan(30°) = 0.57735
- 6 × 4² = 96
- 4 × 0.57735 = 2.3094
- 96 ÷ 2.3094 = 41.57 ft²
The calculator shows 41.57. Check with the apothem: a = 4 ÷ (2 × 0.57735) = 3.464, perimeter 24, and 24 × 3.464 ÷ 2 = 41.57.
A pentagon with 10 in sides
n = 5, s = 10: 5 × 100 ÷ (4 × tan 36°) = 500 ÷ 2.9062 = 172.05 in².
Limits and common mistakes
- Irregular shapes give a wrong answer. If the sides are not all equal, the formula does not apply. For any shape with straight sides, use the polygon area calculator by coordinates. For a four-sided lot where you only know the sides, use the irregular land area calculator.
- Fewer than 3 sides is not a polygon, and the result is meaningless.
- Decimals in the number of sides are dropped:
6.5is read as 6. - Degrees vs. radians. If you check by hand, set your calculator to degrees and use 180° ÷ n, or to radians and use π ÷ n.
Frequently asked questions
How do I find the area of a regular hexagon?
Multiply 2.598 by the side squared. With 4 ft sides: 2.598 × 16 ≈ 41.57 ft².
Does it work for a square or an equilateral triangle?
Yes. With 4 sides of 5 the result is 25.00, the same as the square area calculator. With 3 sides of 6 it gives 15.59.
What if I know the apothem but not the side?
Use area = perimeter × apothem ÷ 2, or find the side first: s = 2 × apothem × tan(180° ÷ n).