Logo

MonoCalc

/

Regular Polygon Area Calculator

Geometry

Quick presets

Number of sides (n)

Input measurement

Side Length (s)

Length unit

Output area unit

Decimal precision

Rasn=6
Area = 64.9519 cm²
Side (s)5 cm
Perimeter30 cm
Apothem (a)4.3301 cm
Circumradius (R)5 cm
Interior angle120°
Exterior angle60°
Sum of interior angles720°
Number of diagonals9
A = (n × s²) / (4 × tan(π/n)) = (6 × 5²) / (4 × tan(π/6))

Step-by-step

1. Formula: A = (n × s²) / (4 × tan(π/n))

2. Side length: s = 5 cm

3. Convert to meters: s = 0.050000 m

4. Area = (6 × 0.050000²) / (4 × tan(π/6))

5. Area = (6 × 0.002500) / (4 × 0.577350)

6. Area = 0.006495 m²

7. Convert to cm²: 0.006495 m² × 10000 = 64.9519 cm²

8. Side: s = 5 cm

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

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

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

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

13. Exterior angle: 360 / n = 60°

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

Area in other units

mm²6,495.191
cm²64.952
0.007
km²0
in²10.068
ft²0.07
yd²0.008

About This Tool

Regular Polygon Area Calculator – Any Number of Sides

A regular polygon is a flat, closed shape with any number of sides where every side has the same length and every interior angle is equal. The simplest is the equilateral triangle (3 sides); beyond that come the square (4), pentagon (5), hexagon (6), and so on up to any arbitrarily large n-gon. This calculator computes the enclosed area of any regular polygon from whichever single measurement you have — the side length, the circumscribed circle radius, or the inscribed circle radius — and simultaneously derives all other geometric properties of the shape.

Area Formulas for a Regular Polygon

Three equivalent formulas exist for the area of a regular n-gon, depending on which measurement is known:

  • From side length (s): A = (n × s²) / (4 × tan(π/n))
  • From circumradius (R): A = (n × R² × sin(2π/n)) / 2
  • From apothem (a): A = n × a² × tan(π/n)

All three formulas produce the same result for any given polygon. The calculator converts your input to side length internally and applies the first formula, then derives the remaining properties.

Circumradius vs Apothem

Understanding the two radii of a regular polygon is important for selecting the right input mode:

  • Circumradius (R) — the distance from the polygon's center to any vertex (corner). It is the radius of the circumscribed circle — the smallest circle that passes through every corner. Formula: R = s / (2 × sin(π/n)).
  • Apothem (a), also called the inradius — the perpendicular distance from the center to the midpoint of any side. It is the radius of the inscribed circle — the largest circle that fits inside the polygon touching every side. Formula: a = s / (2 × tan(π/n)).

The two radii are related by a = R × cos(π/n), so the apothem is always smaller than the circumradius (except in the limiting case of a circle, where they converge).

Derived Properties

From the side length of a regular n-gon, all other properties follow directly:

  • Perimeter: P = n × s
  • Apothem: a = s / (2 × tan(π/n))
  • Circumradius: R = s / (2 × sin(π/n))
  • Interior angle: θ = ((n − 2) × 180) / n degrees — for a triangle 60°, for a square 90°, for a hexagon 120°, approaching 180° as n → ∞
  • Exterior angle: φ = 360 / n degrees — always sums to 360° regardless of the number of sides
  • Sum of interior angles: (n − 2) × 180° — for a triangle 180°, for a square 360°, for a hexagon 720°
  • Number of diagonals: n(n − 3) / 2 — a triangle has 0, a quadrilateral has 2, a pentagon has 5, a hexagon has 9

Using the Preset Shape Buttons

The quick-preset buttons at the top of the calculator let you jump directly to any common polygon — triangle, square, pentagon, hexagon, heptagon, octagon, nonagon, or decagon — without typing the side count manually. For polygons with more than 10 sides, simply type the number of sides directly into the "Number of sides" field. The polygon preview SVG updates in real time to show the current shape.

Unit Flexibility

Select any length unit (mm, cm, m, km, in, ft, yd) for your input measurement and independently choose any area unit (mm², cm², m², km², in², ft², yd²) for the result. The calculator converts all lengths to meters internally, computes the area in m², and then converts to your chosen output unit. A conversion table shows the area expressed in every supported unit simultaneously.

Real-World Applications

Regular polygon area calculations appear in many practical contexts. Architects and tile designers need exact areas for hexagonal and octagonal floor tiles and paving slabs. Structural engineers calculate cross-sectional areas for polygonal column profiles and bolt holes. Game developers building hex-grid or octagon-grid maps use polygon area formulas to determine cell coverage and scale game worlds. Manufacturers of nuts, bolts, and fasteners rely on regular hexagon geometry for wrench-size standards. Educators and students use the general formula to build intuition about how polygon shapes evolve as the number of sides increases toward a circle.

Relationship to a Circle

As the number of sides n increases, a regular polygon approaches a circle. The area formula A = (n × s²) / (4 × tan(π/n)) converges to the circle area formula A = π × r² as n → ∞, because the apothem approaches the circle's radius and the perimeter approaches the circumference. A 100-sided regular polygon (hectagon) already has an area within 0.01% of its circumscribed circle.

Accuracy

All computations use IEEE 754 double-precision floating-point arithmetic, giving approximately 15–16 significant digits of accuracy. Display precision is adjustable from 0 to 10 decimal places. For very large polygons (n greater than a few thousand), floating-point rounding in the trigonometric functions may introduce tiny errors, but these are negligible for any practical application.

Frequently Asked Questions

Is the Regular Polygon Area Calculator free?

Yes, Regular Polygon Area Calculator is totally free :)

Can I use the Regular Polygon Area Calculator offline?

Yes, you can install the webapp as PWA.

Is it safe to use Regular Polygon Area Calculator?

Yes, any data related to Regular Polygon Area 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 area using the corresponding formula and also derives all other polygon properties: perimeter, both radii, interior and exterior angles, and the number of diagonals.

What formulas are used to calculate regular polygon area?

Three equivalent formulas exist depending on which measurement you provide: (1) From side length s — A = (n × s²) / (4 × tan(π/n)); (2) From circumradius R — A = (n × R² × sin(2π/n)) / 2; (3) From apothem a — A = n × a² × tan(π/n). All three give the same area for the same polygon.

What is the difference between circumradius and apothem?

The circumradius (R) is the distance from the center of the polygon to any corner (vertex) — it is the radius of the circle that passes through all vertices. The apothem (a), also called the inradius, is the perpendicular distance from the center to the midpoint of any side — it is the radius of the largest circle that fits inside the polygon. They are related by a = R × cos(π/n).

Can I use this for any polygon, like triangles and squares?

Yes. For a triangle (n=3), interior angles are 60° each; for a square (n=4), each angle is 90°; for a pentagon (n=5) they are 108°, and so on. Use the preset buttons at the top of the calculator to quickly select any common polygon from triangle to decagon without typing the side count manually.

How are the interior angle and number of diagonals calculated?

The interior angle of each vertex of a regular n-gon is ((n−2) × 180) / n degrees. For example, a hexagon has interior angles of (6−2) × 180 / 6 = 120°. The number of diagonals is given by n(n−3)/2 — a triangle has 0 diagonals, a square has 2, a pentagon has 5, a hexagon has 9, and so on.

How accurate are the results?

All calculations use IEEE 754 double-precision floating-point arithmetic (JavaScript's native Number type), providing about 15–16 significant digits of accuracy. You can control the displayed decimal precision from 0 to 10 places. The dominant source of error in practice is the precision of your physical measurement input, not the calculator.