Polygon Calculator
Calculate the area, perimeter, apothem, and interior and exterior angles of any regular polygon from its side count and side length.
About the regular polygon calculator
Regular polygon examples
Compare common polygons calculated from their side count and side length.
| Input | Area and perimeter | Angle information |
|---|---|---|
| Triangle: n = 3, s = 10 | Area 43.30127; perimeter 30 | Each interior angle is 60° |
| Square: n = 4, s = 15 | Area 225; perimeter 60 | Each interior angle is 90° |
| Hexagon: n = 6, s = 8 | Area 166.276878; perimeter 48 | Each interior angle is 120° |
| Octagon: n = 8, s = 5 | Area 120.710678; perimeter 40 | Each interior angle is 135° |
How to calculate polygon properties
- Enter the polygon's whole number of equal sides, using 3 or more.
- Enter the positive length of one side in your preferred unit.
- Select Calculate to find area, perimeter, apothem, and angle measures.
- Keep the same length unit when using the results, and remember that area is expressed in square units.
Polygon calculator FAQ
Does this calculator work for irregular polygons?
No, these formulas assume that every side and every angle is equal. An irregular polygon requires vertex coordinates, diagonals, or other measurements to determine its area.
What is the apothem of a polygon?
The apothem is the perpendicular segment from a regular polygon's center to the midpoint of a side. It acts as the height of each triangle formed by joining the center to adjacent vertices.
How is regular polygon area calculated?
The polygon is divided into equal central triangles and their areas are added. Equivalently, area is one half of the perimeter multiplied by the apothem.
Why must the number of sides be at least three?
A closed flat shape needs at least three straight segments. One or two segments cannot enclose an area, so they do not form polygons.
What units does the calculator use?
You may use any consistent length unit, such as inches, meters, or centimeters. Perimeter and apothem use that unit, while area uses the corresponding square unit.