⬡ Regular Polygon Calculator

Enter the number of sides and side length — get the area, perimeter, interior angle, and apothem instantly.

⬡ Enter Sides & Side Length
Result
Perimeter
Area
Interior Angle
Apothem

Enter the number of sides and side length to see the results

Guide

About the Regular Polygon Calculator

Last updated: July 2026 · Reviewed by the NeftCal editorial team

This regular polygon calculator finds the area, perimeter, interior angle, and apothem of any regular polygon — a shape with equal sides and equal angles — from just the number of sides (n) and the side length (s). From a triangle (n=3) to a dodecagon (n=12) and beyond, the same set of formulas applies to every regular polygon, using basic trigonometry on the angle each side subtends at the center. Whether you're using this as a regular polygon area calculator for a hexagonal paver, checking the interior angle of a polygon formula for homework, or sizing a stop-sign-shaped sign, this free tool computes every related value instantly.

What This Calculator Measures

Given the number of sides (n) and side length (s), the calculator computes perimeter (n × s), area using the tangent-based formula (n × s²) / (4 × tan(π/n)), the interior angle at each vertex ((n−2) × 180 / n), and the apothem — the distance from the center to the midpoint of a side — using s / (2 × tan(π/n)).

Who Should Use This Calculator

This tool suits geometry students studying polygon properties, designers and fabricators working with hexagonal, octagonal, or other regular-polygon components, sign-makers sizing stop signs and other regulated shapes, and anyone with a side count and side length who needs the area, perimeter, angle, or apothem without manually applying trigonometry.

Why Regular Polygon Measurements Matter

Regular polygons show up constantly in engineering and design because their symmetry makes them efficient to manufacture, tile, and structurally analyze — hex bolts, honeycomb structures, and floor tiles all rely on precise regular-polygon geometry. As the number of sides grows, a regular polygon's area formula smoothly approaches a circle's area formula, which is a classic illustration of how π itself can be understood as a limiting case.

Real-World Applications

Manufacturers compute hex bolt or nut head dimensions from side length and count. Sign-makers size regulated shapes like the regular-octagon stop sign. Architects and builders plan gazebo, pavilion, or floor-tile layouts using regular polygons. Packaging designers compute regular polygon base areas for containers. Students and teachers use it to verify polygon geometry and trigonometry homework quickly.

Tips for Accurate Results

  • Make sure the number of sides is a whole number of 3 or more — a polygon can't have a fractional or negative side count.
  • Measure the side length consistently along one edge, since all sides in a regular polygon are equal by definition.
  • Remember area is reported in squared units while perimeter and apothem stay in linear units, and interior angle is in degrees.
Formula

The Regular Polygon Formulas, Explained

How the number of sides and side length determine every other property

Perimeter
Perimeter = n × s

Area
Area = (n × s²) ÷ (4 × tan(π/n))

Interior Angle
Interior Angle = ((n − 2) × 180) ÷ n  (in degrees)

Apothem
Apothem = s ÷ (2 × tan(π/n))

Where:
n = number of sides (a whole number, 3 or more).
s = length of each side (all sides are equal in a regular polygon).
π/n = the half-angle each side subtends at the polygon's center, in radians (required for the tan function).

One Formula Set Fits Every n

The same four formulas work for any regular polygon — triangle, square, pentagon, hexagon, or beyond — just by changing n.

🔺

Built from n Congruent Triangles

A regular polygon splits into n identical isosceles triangles from its center, which is the geometric basis for both the area and apothem formulas.

Approaches a Circle as n Grows

As the number of sides increases without bound, a regular polygon's area and perimeter formulas converge toward a circle's πr² and 2πr.

⚙️ Why This Formula Works

Drawing lines from the polygon's center to each vertex divides it into n congruent isosceles triangles, each with a central angle of 2π/n radians. Splitting each triangle in half creates a right triangle with the apothem as one leg and half the side length as the other, connected by the angle π/n — this is exactly where the tan(π/n) term comes from in both the area and apothem formulas.

🎯 When to Use Each Input

  • Number of sides and side length known: the standard starting point for all four outputs
  • Checking interior angle alone: only the number of sides is needed, since angle doesn't depend on side length

📋 Assumptions

  • The polygon is regular — all sides and all interior angles are equal
  • The number of sides (n) is a whole number of 3 or more
  • The side length (s) is a positive real number greater than zero

⚠️ Limitations of the Formula

  • Does not apply to irregular polygons, where sides or angles differ
  • Cannot accept a non-whole number or a value below 3 for the number of sides
  • Cannot accept a negative or zero side length
Walkthrough

Step-by-Step: How to Use the Regular Polygon Calculator

From entering the sides and length to reading all four results

Count the number of sides

Determine how many equal sides the polygon has (n), a whole number of 3 or more.

Measure the side length

Find the length of one side (s), since all sides are equal in a regular polygon.

Enter both values

Type n and s into the two input fields.

Click "Calculate"

The calculator computes perimeter, area, interior angle, and apothem using standard regular-polygon formulas.

Read all four results

Review the perimeter, area, interior angle, and apothem shown together in the results panel.

Example

Worked Example

Solving a regular hexagon with side length 4

Scenario

A hexagonal paver has 6 equal sides, each measuring 4 cm. What are its perimeter, area, interior angle, and apothem?

Number of Sides (n)6
Side Length (s)4 cm
Step 1 — Compute perimeter: Perimeter = n × s = 6 × 4 = 24 cm.
Step 2 — Compute interior angle: Interior Angle = ((6−2) × 180) ÷ 6 = 720 ÷ 6 = 120°.
Step 3 — Compute apothem: Apothem = s ÷ (2 × tan(π/6)) = 4 ÷ (2 × 0.57735) ≈ 3.4641 cm.
Step 4 — Compute area: Area = (n × s²) ÷ (4 × tan(π/6)) = (6 × 16) ÷ (4 × 0.57735) ≈ 41.5692 cm².
Perimeter
24 cm
Area
41.5692 cm²
Interior Angle
120°
Apothem
3.4641 cm

Explanation: Note that a regular hexagon's area can also be cross-checked as (Perimeter × Apothem) ÷ 2 = (24 × 3.4641) ÷ 2 ≈ 41.5692 — matching the tangent-based formula exactly, since both describe the same n congruent triangles from the center.

Interpretation

Understanding Your Regular Polygon Results

What each output represents and how they relate

PropertyWhat It RepresentsUnit Type
PerimeterTotal distance around all n sidesLinear (same unit as side length)
AreaTwo-dimensional space enclosed by the polygonSquared (e.g. cm², m², in²)
Interior AngleThe angle at each vertex, inside the polygonDegrees
ApothemDistance from center to the midpoint of a sideLinear (same unit as side length)

Reading the results together: perimeter and area describe the polygon's overall size, the interior angle describes its "sharpness" at each corner, and the apothem — closely tied to area — describes how far the center sits from each edge.

Typical ranges: interior angles range from 60° (triangle, n=3) up toward but never reaching 180° as n grows large; as n grows very large, a regular polygon visually and numerically approximates a circle, with the apothem approaching the circle's radius.

Manual verification: multiply n and s for perimeter directly; recompute (n−2) × 180 ÷ n for the interior angle; and check that Perimeter × Apothem ÷ 2 reproduces the same area as the tangent-based formula.

Use Cases

Practical Use Cases for the Regular Polygon Calculator

Where computing regular polygon area, perimeter, angles, and apothem is genuinely useful

🎓

Geometry & trigonometry homework

Check regular polygon area, perimeter, and interior angle problems step by step.

🍯

Honeycomb & hexagonal structures

Compute cell area and packing dimensions for honeycomb-style hexagonal layouts.

🔩

Nuts, bolts & hex fasteners

Verify hex bolt head or nut dimensions from side length and side count.

🛑

Stop signs & regulated signage

Size the regular-octagon stop sign shape to required dimensions.

🏠

Gazebo & pavilion floor plans

Plan hexagonal or octagonal gazebo floor area and framing length.

🧱

Tiling & paving patterns

Calculate hexagonal or pentagonal paver dimensions for patios and floors.

🪙

Coin & medallion design

Verify regular-polygon coin or medallion area and edge dimensions.

🎡

Ferris wheel & carousel frames

Check regular-polygon support frame geometry for circular attractions.

🏛️

Architectural domes & rotundas

Plan many-sided polygon approximations used in dome and rotunda construction.

🎨

Logo & graphic design

Compute precise regular-polygon proportions for design motifs and icons.

📦

Packaging & container bases

Size regular-polygon container or box bases for consistent volume.

🧮

CAD & drafting checks

Verify regular-polygon component dimensions in technical drawings.

🔷

Jewelry & gem faceting

Determine regular-polygon facet proportions for gem or pendant design.

Pros & Cons

Advantages and Limitations

What this regular polygon calculator does well, and where it doesn't apply

✅ Advantages

  • Free, instant, and requires no signup or account
  • Runs entirely in your browser — no data ever leaves your device
  • Works for any regular polygon, from a triangle to a many-sided shape
  • Computes perimeter, area, interior angle, and apothem in one step
  • Removes manual trigonometric calculation errors
  • Useful across manufacturing, signage, architecture, and school contexts alike
  • Validates that the number of sides is a whole number of 3 or more
  • Validates and rejects invalid (zero or negative) side lengths
  • Accepts decimal side-length inputs for precise, real-world measurements
  • Fast-loading and fully mobile-friendly
  • Consistent, error-free results every time
  • No calculation limit — use it as many times as needed

⚠️ Limitations

  • Only handles regular polygons — not irregular polygons with unequal sides or angles
  • Cannot accept a non-whole number or a value below 3 for the number of sides
  • Cannot compute a result from a negative or zero side length
  • Does not compute diagonals, circumradius, or other secondary polygon properties directly
  • Does not convert between different units (e.g. inches to centimeters) automatically
  • Displays decimal results rounded to a fixed number of places, which can hide tiny precision loss
  • Cannot verify from a photo or drawing whether a shape is actually regular
Reference

Regular Polygons by Side Count

How interior angle and shape change as the number of sides increases, using side length = 4 as a reference

Polygon (n)Interior AnglePerimeter (s=4)Area (s=4)
Triangle (3)60°12≈6.9282
Square (4)90°1616
Pentagon (5)108°20≈27.5276
Hexagon (6)120°24≈41.5692
Octagon (8)135°32≈77.2549

Common Mistakes and Expert Tips

❌ Common Mistakes

  • Entering a non-whole number of sides (like 4.5), which isn't a valid polygon
  • Confusing the apothem (center to edge midpoint) with the circumscribed radius (center to vertex)
  • Using degrees instead of radians when computing tan(π/n) manually in a calculator
  • Applying these regular-polygon formulas to an irregular polygon with unequal sides
  • Forgetting that interior angle depends only on n, not on the side length
  • Entering a side count below 3 or a negative/zero side length and not noticing the rejection alert

💡 Expert Tips & Best Practices

  • Double-check your calculator or code is in radian mode before computing tan(π/n) by hand
  • Use the apothem-based area check (Perimeter × Apothem ÷ 2) as an independent sanity check on your result
  • For an irregular polygon (unequal sides or angles), this tool won't apply — break the shape into triangles instead
  • Pair this tool with the Area Calculator when comparing polygon area against other shapes
  • As n grows large, compare your result against the Circle Calculator to see the polygon-to-circle convergence
📝

Summary: This regular polygon calculator gives you an instant, free way to find perimeter, area, interior angle, and apothem for any regular polygon, with every formula shown. Pair it with related tools like the Circle Calculator and Area Calculator for a fuller picture of polygon and curved-shape geometry.

FAQ

Frequently Asked Questions

Common questions about regular polygon measurements

What is the formula for the area of a regular polygon?
Area = (n × s²) / (4 × tan(π/n)), where n is the number of sides and s is the side length. For example, a regular hexagon (n=6) with side length 4 has area (6 × 4²) / (4 × tan(π/6)) ≈ 41.5692.
What is the formula for the perimeter of a regular polygon?
Perimeter = n × s, where n is the number of sides and s is the length of one side. Since all sides of a regular polygon are equal, you simply multiply the side length by the number of sides.
What is the formula for the interior angle of a regular polygon?
Interior Angle = ((n − 2) × 180) / n degrees, where n is the number of sides. For a regular hexagon (n=6), the interior angle is ((6−2) × 180) / 6 = 720/6 = 120°.
What is the apothem of a regular polygon?
The apothem is the perpendicular distance from the center of the polygon to the midpoint of one side: Apothem = s / (2 × tan(π/n)). For a regular hexagon with side length 4, the apothem is 4 / (2 × tan(π/6)) ≈ 3.4641.
Does this calculator work for irregular polygons?
No. This calculator only handles regular polygons, where all sides and all interior angles are equal. Irregular polygons need different, shape-specific methods (such as breaking the shape into triangles) since a single side length and angle can't describe them.
What happens to a regular polygon's area formula as the number of sides grows very large?
As n increases toward infinity, a regular polygon's shape approaches a circle, and its area formula approaches πr² where r is the circumscribed radius. This is a classic way to visualize why circle formulas involve π — it's the limiting case of a regular polygon with infinitely many, infinitesimally short sides.
What's the minimum number of sides a polygon can have?
A polygon must have at least 3 sides — a triangle is the simplest possible polygon. This calculator rejects any non-whole number or any value of n less than 3, since a shape with fewer than 3 sides isn't a valid closed polygon.
Can the number of sides be a decimal, like 4.5?
No. The number of sides (n) must be a whole number, since a polygon cannot have a fractional side — you can't have "half a side." The calculator validates this and will alert you if you enter a non-integer or a value below 3.
Why do interior angles increase as the number of sides increases?
As a regular polygon gains more sides, it must "flatten out" more at each corner to eventually approximate a circle, so each interior angle grows closer to 180°. A triangle's interior angles are 60° each, while a 100-sided polygon's interior angles are each 176.4°, very close to a straight line.
What's the difference between the apothem and the circumscribed radius?
The apothem is the distance from the center to the midpoint of a side (the "inradius"), while the circumscribed radius is the distance from the center to a vertex (corner). The apothem is always shorter than the circumscribed radius for any polygon with more than 2 sides.
Can I enter negative or zero values for the side length or number of sides?
No. The side length must be a positive number greater than zero, and the number of sides must be a whole number of 3 or more. The calculator will alert you if either input fails these checks.
How is the apothem used in the area formula?
A regular polygon's area can also be expressed as Area = (Perimeter × Apothem) / 2, which is mathematically equivalent to (n × s²) / (4 × tan(π/n)) — both describe splitting the polygon into n congruent triangles from the center.
What real-world objects are shaped like regular polygons?
Stop signs (regular octagons), honeycomb cells and nuts/bolt heads (regular hexagons), some coins and tiles (various regular polygons), and architectural floor plans or gazebos often use regular polygon shapes for their symmetry and efficient tiling or packing properties.
Learn More

Authoritative Resources on Regular Polygon Geometry

Trusted educational references to go deeper on polygons and trigonometry

Related Calculators

Explore other geometry tools