Skip to content
Test versionSearch

Mathematics

Regular polygon area

Work out the area, perimeter, apothem and angle of a regular polygon from the number of sides, 3 to 10000, and the side length. A hexagon with sides of 2 has a perimeter of 12.

How it worksFAQRelated tools

Content reviewed:

Enter the number of sides (3 to 10,000) and the side length of the regular polygon. You can change every value; the format of decimal results is under More options. Downloads keep your inputs and results, and nothing is saved or sent.

For a regular polygon with n equal sides of length s, the perimeter is n × s and the area is n × s² / (4 tan(180° / n)). The apothem is the distance from the centre to the middle of a side, and the angle shown is the interior angle (n − 2) × 180° / n.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

The formula and units appear with the result above. Decimal results are rounded for display; you can choose the format under More options.

About this calculation

The regular polygon area calculator works out the area, perimeter, apothem and angle of a polygon whose sides are all equal. It is useful for geometry homework, design sketches or any shape such as a hexagon or octagon where you know the number of sides and one side length.

You enter the number of sides, from 3 to 10000, and the side length. The perimeter is n × s, the apothem is s / (2 tan(π/n)) and the area is half the perimeter multiplied by the apothem. With 6 sides of length 2, the perimeter is 12 and the angle is 120°.

Separate inverse scenarios infer the side of a regular polygon within 0.000001 to 1 billion, using matching length units. All results are floating-point approximations with 0 to 12 displayed decimal places.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Sides (3–10000)
6
Side length
2
Displayed decimal places (0–12)
6
Result format
Fixed decimals

Result

Area
10.392305
Perimeter
12.00
Apothem
1.732051
Angle
120 °

Frequently asked questions

How do I calculate the area of a regular polygon?

The regular polygon calculator uses perimeter P = n × s, apothem a = s / (2 tan(π/n)) and area A = P × a / 2, where n is the number of sides and s the side length.

How many sides can the regular polygon have?

The regular polygon area calculator accepts from 3 to 10000 sides.

What is the apothem of a regular polygon?

The apothem is the distance used in the area formula, calculated as a = s / (2 tan(π/n)). Area is then half the perimeter times the apothem.

Can I find the side length from a known area?

Yes. The inverse geometry scenarios for regular polygons infer a side between 0.000001 and 1 billion. Length units must agree, and area uses their square.

How many decimal places does the polygon result show?

You can choose from 0 to 12 displayed decimal places. Results are floating-point approximations.