Logo

MonoCalc

/

Regular Polygon Perimeter Calculator

Geometry

Quick presets

Number of sides (n)

Input measurement

Side Length (s)

Length unit

Decimal precision

sn=6
Hexagon Perimeter = 30 cm
Polygon nameHexagon
Side length (s)5 cm
Apothem (a)4.3301 cm
Circumradius (R)5 cm
Interior angle120°
Exterior angle60°
Sum of interior angles720°
Number of diagonals9
P = n × s = 6 × 5 cm

Step-by-step solution

1. Formula: P = n × s

2. Number of sides: n = 6

3. Side length: s = 5 cm

4. Perimeter: P = n × s = 6 × 5 = 30 cm

5. Apothem: a = s / (2 × tan(π/n)) = 4.3301 cm

6. Circumradius: R = s / (2 × sin(π/n)) = 5 cm

7. Interior angle: ((n−2) × 180) / n = 120°

8. Exterior angle: 360 / n = 60°

9. Diagonals: n(n−3)/2 = 9

About This Tool

Regular Polygon Perimeter Calculator – Find the Perimeter Instantly

A regular polygon is a closed shape with all sides equal in length and all interior angles equal in measure. The perimeter of a regular polygon is simply the total distance around its boundary. This calculator lets you find the perimeter from any of three common measurements — the side length, the circumradius, or the apothem — and works for any polygon from a triangle right up to a 1000-gon.

Three Input Modes

Depending on which measurement you have available, the calculator uses one of three paths:

  • Side Length (s): The direct formula. The perimeter is P = n × s, where n is the number of sides and s is the length of one side.
  • Circumradius (R): The circumradius is the distance from the centre to any vertex (corner). The side length is first derived using s = 2R × sin(Ï€/n), then the perimeter is calculated as P = n × s.
  • Apothem (a): The apothem, also called the inradius, is the perpendicular distance from the centre to the midpoint of any side. The side is derived via s = 2a × tan(Ï€/n), and then P = n × s gives the perimeter.

Understanding the Key Measurements

For any regular n-gon, three radial measurements describe the polygon completely:

  • Side length (s): the length of each of the n equal edges.
  • Circumradius (R): the radius of the circle that passes through all vertices. Always larger than the apothem. R = s / (2 × sin(Ï€/n)).
  • Apothem (a): the radius of the inscribed circle, tangent to the middle of each side. a = s / (2 × tan(Ï€/n)) = R × cos(Ï€/n).

Angles of a Regular Polygon

The calculator also displays the interior and exterior angles, which are fixed for any given n:

  • Interior angle: θ = ((n − 2) × 180) / n degrees. For a hexagon this is 120°, for a square 90°, for a triangle 60°.
  • Exterior angle: 360 / n degrees. Interior and exterior angles always sum to 180° for any polygon.
  • Sum of interior angles: (n − 2) × 180°. A triangle sums to 180°, a quadrilateral to 360°, and so on.

Named Polygon Presets

For the most common shapes, use the quick-preset buttons at the top of the calculator. These instantly set the number of sides to the correct value without typing:

  • Triangle (3 sides) — equilateral when regular
  • Square (4 sides)
  • Pentagon (5 sides)
  • Hexagon (6 sides) — used in honeycomb structures
  • Heptagon (7 sides)
  • Octagon (8 sides) — stop-sign shape
  • Nonagon (9 sides)
  • Decagon (10 sides)

Unit Support

The calculator supports seven length units: millimeters (mm), centimeters (cm), meters (m), kilometers (km), inches (in), feet (ft), and yards (yd). Internally all values are converted to meters for computation, then converted back to your chosen display unit. Switch units at any time and the result updates immediately.

Practical Applications

Regular polygon perimeter calculations appear in many real-world situations. Architects use them when designing rooms or buildings with polygonal floor plans. Engineers reference regular polygon geometry when designing gears, bolts (hexagonal heads), and pipe fittings. Landscape designers use them for gazebos, garden beds, and paved areas. Teachers and students use the formulas when studying plane geometry and trigonometry. The apothem-based input mode is especially useful when only the inscribed circle radius is known from a blueprint or technical drawing.

Diagonals of a Regular Polygon

As a bonus, the calculator shows the number of diagonals, computed as n(n − 3) / 2. A triangle has 0 diagonals, a square has 2, a pentagon has 5, a hexagon has 9, and a decagon has 35. This formula counts all line segments connecting non-adjacent vertices.

Tips for Accurate Results

For the most accurate perimeter calculation, ensure your input measurement is as precise as possible. Even small errors in the side length, circumradius, or apothem are multiplied by n when computing the perimeter, so high-sided polygons amplify measurement imprecision more than low-sided ones. Use 4–6 decimal places of input precision when working with large polygons or tight tolerances.

Frequently Asked Questions

Is the Regular Polygon Perimeter Calculator free?

Yes, Regular Polygon Perimeter Calculator is totally free :)

Can I use the Regular Polygon Perimeter Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Regular Polygon Perimeter Calculator?

Yes, any data related to Regular Polygon Perimeter Calculator only stored in your browser (if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.

How does this calculator work?

Enter the number of sides (n ≥ 3) and one known measurement — side length, circumradius (circumscribed circle radius), or apothem (inscribed circle radius). The calculator instantly computes the perimeter using the appropriate formula and also shows derived values including individual side length, interior angle, exterior angle, and number of diagonals.

What formulas are used to calculate the perimeter?

Three formulas are available depending on what you know: (1) From side length s — P = n × s; (2) From circumradius R — first derive s = 2R × sin(π/n), then P = n × s; (3) From apothem a — first derive s = 2a × tan(π/n), then P = n × s. All three paths yield the same perimeter for a given polygon.

What is the difference between circumradius and apothem?

The circumradius (R) is the distance from the polygon's centre to any vertex — it is the radius of the circle passing through all corners. The apothem (a), also called the inradius, is the perpendicular distance from the centre to the midpoint of any side — the radius of the largest inscribed circle. They are related by a = R × cos(π/n).

Which polygons can I calculate perimeters for?

Any regular polygon with 3 to 1000 sides. Use the preset buttons to instantly select common shapes: Triangle (3), Square (4), Pentagon (5), Hexagon (6), Heptagon (7), Octagon (8), Nonagon (9), Decagon (10), and Dodecagon (12). For other polygons, simply type the number of sides directly.

How accurate are the results?

All calculations use JavaScript's IEEE 754 double-precision arithmetic, providing around 15–16 significant digits internally. You can choose 0–10 decimal places for display. In practice, the accuracy of your measurement input is the dominant source of uncertainty, not the calculation itself.

Can I switch between different length units?

Yes. Select your preferred unit (mm, cm, m, km, in, ft, yd) before entering values. All inputs and outputs are expressed in the chosen unit. You can change the unit at any time and the calculator will recompute instantly using the new unit.