Polygon Calculator
Regular polygon area and perimeter.
Loading tool…
About this tool
Enter the number of sides and the side length of a regular polygon. A hexagon with side 4 has an area of 41.5692 and a perimeter of 24.
How to use
1
Step 1
Enter the number of sides (3 or more).
2
Step 2
Enter the side length.
3
Step 3
Press Calculate.
How it works
A regular polygon has equal sides and equal angles. Its area is n s² ÷ (4 tan(π/n)). For a hexagon this equals 3√3/2 times s², so with s = 4 it is 2.598076 × 16 = 41.5692.
A = n·s² ÷ (4·tan(π/n)) P = n·s
Worked example
A regular pentagon
- Input
- n = 5, s = 10
- Output
- Area 172.048, perimeter 50
- Walkthrough
- tan(36°) = 0.72654, so A = 5 × 100 ÷ (4 × 0.72654) = 500 ÷ 2.90617 = 172.048.
Limitations
- The number of sides must be a whole number of at least 3; 2 and 3.5 are rejected.
- The polygon must be regular. Irregular shapes need to be split into triangles.
Questions
What is the area of a regular hexagon with side 4?
41.5692.
What is the area of a regular pentagon with side 10?
172.048.
What is the perimeter of a regular hexagon with side 4?
24.
Features
- Any regular polygon
- Area and perimeter
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Volume of a sphere
Khan Academy
Applies (4/3)πr³ for sphere and volume calculators.
Watch on YouTubeFinding mean, median, and mode
Khan Academy
Descriptive stats used across statistics tools.
Watch on YouTube
- Math is Fun
Math is Fun
Clear explainers that pair well with calculator-style tools.
- Circle
Math is Fun
Radius, diameter, circumference, and area in one place.
More Math tools
See all ›Square Calculator
Compute square area and perimeter.
Circle Calculator
Compute circle area, circumference, and radius.
Area Calculator
Compute area for common 2D shapes.
Triangle Calculator
Compute triangle sides, angles, and area.
Rectangle Calculator
Compute rectangle area and perimeter.
Volume Calculator
Compute volume of common 3D solids.