Free Online Tools

Geometry calculators

Polygon Calculator

Regular polygon area, perimeter and angles from the number of sides and the side length — with the formula shown.

Formulas: area = (n × s²) ÷ (4 × tan(π ÷ n)); perimeter = n × s; interior angle = (n − 2) × 180° ÷ n; exterior angle = 360° ÷ n.

How to use

  1. Enter the number of sides n (3 or more).
  2. Enter the length of one side.
  3. Press “Calculate polygon” to see the area, perimeter and angles.

Frequently asked questions

What is a regular polygon?
A polygon with all sides the same length and all angles equal — an equilateral triangle, a square, a regular pentagon, a regular hexagon, and so on.
What is the interior angle of a regular hexagon?
120°. The formula is (n − 2) × 180° ÷ n, so for n = 6 it is 4 × 180° ÷ 6 = 120°.
How is the area worked out?
The polygon is split into n identical triangles from the centre. The result is area = (n × s²) ÷ (4 × tan(π ÷ n)).
Is my input stored?
No. The calculation runs in your browser.