Perimeter of a Polygon Calculator

Enter the number of sides and side length of a regular polygon to get its perimeter (P = n × s), interior angle, exterior angle, and area.

Quick Facts

Perimeter formula
P = n × s
Number of sides times the length of one side.
Interior angle
(n − 2) × 180° / n
Each interior angle of a regular n-gon.
Exterior angle
360° / n
Always supplementary to the interior angle.
Area formula
A = (n × s²) / (4 × tan(π/n))
Sum of n congruent isosceles triangles meeting at the center.

Your Results

Calculated
Perimeter
-
P = n × s
Interior Angle
-
(n − 2) × 180° / n
Exterior Angle
-
360° / n
Area
-
A = (n × s²) / (4 × tan(π/n))

Ready

Enter the number of sides and side length, then press Calculate.

Frequently Asked Questions

What is the formula for the perimeter of a regular polygon?
The perimeter of a regular polygon equals the number of sides times the length of one side: P = n × s. For example, a regular hexagon (n = 6) with 10 ft sides has a perimeter of 6 × 10 = 60 ft.
How do I find the interior and exterior angles of a regular polygon?
Each interior angle equals (n − 2) × 180° / n, and each exterior angle equals 360° / n. The two always add up to 180° because they are supplementary. A regular hexagon has interior angles of 120° and exterior angles of 60°.
How is the area of a regular polygon calculated from its side length?
Area equals A = (n × s²) / (4 × tan(π/n)), where n is the number of sides and s is the side length. This comes from splitting the polygon into n congruent isosceles triangles meeting at the center and summing their areas.
What is the minimum number of sides a polygon can have?
A polygon needs at least 3 sides — that is a triangle. This calculator requires an integer of 3 or more for the number of sides.

Formula and Method for the Perimeter of a Regular Polygon

A regular polygon is a closed shape with n straight, equal-length sides and n equal interior angles — think of an equilateral triangle (n = 3), a square (n = 4), a regular pentagon (n = 5), or a regular hexagon (n = 6). Because every side has the same length, the perimeter is simply the number of sides times the length of one side: P = n × s. This calculator also derives the interior angle, exterior angle, and area from the same two inputs.

How the calculation works

Enter the number of sides (n, an integer of 3 or more) and the side length (s), then choose the unit it is measured in. The calculator multiplies n by s to get the perimeter. It finds each interior angle from the polygon angle-sum theorem, (n − 2) × 180° / n, and each exterior angle as 360° / n (the two are always supplementary, adding to 180°). For area, the calculator splits the polygon into n congruent isosceles triangles that meet at the center and sums their areas, which simplifies to A = (n × s²) / (4 × tan(π/n)).

Common mistakes

  • Confusing perimeter with area: a regular hexagon with 10 ft sides has a perimeter of 6 × 10 = 60 ft, not an area of 60 ft² — those are two different quantities with different units.
  • Using a non-integer or too-small n: a polygon must have a whole number of sides, and the minimum is 3 (a triangle); n = 1 or n = 2 is not a polygon.
  • Mixing units: keep the side length in one consistent unit — convert inches to feet, or centimeters to meters, before entering the value.

Real-world applications

  • Fencing, edging, and trim projects use the perimeter to determine how much linear material is needed around a polygonal plot or structure.
  • Framing, tiling, and paving layouts use the interior and exterior angles to cut miters and joints accurately for hexagonal or octagonal patterns.
  • Architecture and landscape design use the area formula to estimate material coverage for gazebos, planters, and paved courtyards built as regular polygons.
  • Manufacturing and CAD work rely on the same angle formulas to lay out bolt patterns, nuts, and other polygonal components.

Common Measurement Conversions for Everyday Use

QuantityUS / ImperialMetric Equivalent
1 cup8 fl oz237 mL
1 pint16 fl oz473 mL
1 quart32 fl oz946 mL
1 gallon128 fl oz3.785 L
1 lb16 oz453.6 g
1 ft12 in30.48 cm