AI Tools Free

Regular Polygon Area Calculator

Enter the integer Number of equal sides (n) and the Side length (s) into this regular polygon area calculator and area of regular polygon calculator to compute exact two-dimensional planar area A = (n × s²) / (4 × tan(π / n)) in one click. Test the preloaded sides = 6, side = 2 hexagonal baseline returning 10.3923048454, or evaluate any regular polygon from 3 to 1,000 sides in your browser.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Calculate result.

Your result
Enter your details

Result will appear here

How to Calculate Area of Regular Polygon & Apothem Formula

The Regular Polygon Area Calculator is a browser-based geometry tool that serves as an area of regular polygon calculator and area of a regular polygon calculator using A = (n × s²) / (4 × tan(π / n)). Enter an integer side count between 3 and 1,000 and a side length between 1e-09 and 1,000,000,000 to get a 12-significant-digit area in matching square units (in², ft², cm², or m²).

Area (A) = ½ × Perimeter (P) × Apothem (a) = (n × s²) / (4 × tan(π / n))

Understanding how to calculate area of regular polygon starts with dividing a regular n-gon into n congruent isosceles triangles radiating from its center. Each central triangle has base s, central vertex angle 2π / n radians, and perpendicular altitude (the apothem a, or incircle radius) equal to a = s / (2 × tan(π / n)). Because a is fixed once n and s are chosen, this area of regular polygon calculator using apothem geometry computes the exact surface area directly from n('sides') * n('side') ** 2 / (4 * Math.tan(Math.PI / n('sides'))) without requiring a separate apothem measurement.

Diagram of a regular hexagon (n = 6, s = 2) divided into 6 central triangles with apothem a = s / (2 tan(pi/6)) = 1.7320508 and total Area = 10.3923048454.
Dividing a regular hexagon (n = 6, s = 2) into 6 central triangles gives apothem a = √3 ≈ 1.7320508 and total area 6√3 ≈ 10.3923048454.

Area of Regular Polygon Calculator Reference & Multiplier Table

Because the trigonometric term k_n = n / (4 × tan(π / n)) depends only on the number of sides n, the area of any regular polygon equals k_n × s². Review these 10 verified polygon benchmarks to see how the area of regular polygon calculator scales across standard shapes when s = 2:

Sides (n)Regular Polygon NameInterior Angle ((n-2)×180°/n)Apothem Factor (a / s)Area Multiplier (k_n = n / (4 tan(π/n)))Exact Area When s = 2 (4 × k_n)
3Equilateral Triangle60°0.28867513460.4330127019 (√3 / 4)1.7320508076
4Square (Regular Quadrilateral)90°0.50000000001.00000000004
5Regular Pentagon108°0.68819096021.72047740066.8819096024
6 (preloaded)Regular Hexagon (Default)120°0.86602540382.5980762114 (3√3 / 2)10.3923048454
7Regular Heptagon128.5714°1.03826069833.633912444014.535649776
8Regular Octagon135°1.20710678124.8284271247 (2(1+√2))19.313708499
9Regular Nonagon (Enneagon)140°1.37373870976.181824193824.7272967751
10Regular Decagon144°1.53884176867.694208842930.7768353718
12Regular Dodecagon150°1.866025403811.1961524227 (3(2+√3))44.7846096908
20Regular Icosagon162°3.156875757331.5687575733126.2750302934

Step-by-Step Guide to Using the Regular Polygon Area Calculator

Follow these three steps to compute the area of any equilateral and equiangular polygon in the workspace above.

Enter the Number of Equal Sides (#sides)

Type the whole integer edge count n (3 to 1000, step="1") into Number of equal sides (#sides, preloaded with 6 for a hexagon).

Input and settings
Number of equal sides input field preloaded with 6 in the Regular Polygon Area Calculator workspace.
Step 1: Enter the integer number of equal sides n (from 3 to 1,000; preloaded with 6).

Enter the Side Length (#side)

Provide the corner-to-corner length s of a single outer edge (1e-09 to 1,000,000,000) in Side length (#side, preloaded with 2).

Tool result
Side length input field preloaded with 2 alongside the Calculate result button.
Step 2: Enter the corner-to-corner side length s (preloaded with 2).

Click Calculate Result and Export

Select Calculate result to display the 2D planar area in #result-main, then use Copy or Download (result.txt) to save the output.

Review the details
Result panel displaying 10.3923048454 square units with Copy and Download result.txt action buttons.
Step 3: Review the computed regular polygon area (10.3923048454) and copy or download result.txt.

Worked Examples to Calculate Area of a Regular Polygon

These three real-world scenarios show how to calculate area of a regular polygon for ceramic mosaic tiles, timber gazebo framing, and structural steel gussets.

Preloaded Baseline: Hexagonal Ceramic Tile (n = 6, s = 2 in)

A floor mosaic uses regular hexagonal tiles (sides = 6) with 2 in outer edges. Evaluating 6 × 2² / (4 × tan(π / 6)) divides 24 by 2.3094010768 to return 10.3923048454 sq in per tile.

Regular hexagon tile with n = 6 and side length s = 2 inches yielding 10.3923048454 square inches.
Hexagonal tile check: n = 6 and s = 2 in produce 6√3 = 10.3923048454 sq in.

Timber Framing: Octagonal Gazebo Deck (n = 8, s = 6 ft)

A builder ordering decking boards for an 8-sided gazebo whose rim joists each span 6 ft from corner to corner enters 8 and 6. The formula 8 × 36 / (4 × tan(π / 8)) yields 173.823376491 sq ft of deck surface.

Regular octagon gazebo deck with n = 8 sides of s = 6 feet producing 173.823376491 square feet.
Octagonal gazebo deck: n = 8 and s = 6 ft cover 173.823376491 sq ft.

Structural Steel: Equilateral Triangle Gusset (n = 3, s = 120 mm)

A metal fabricator cutting a 3-sided equilateral steel gusset plate with 120 mm edges inputs 3 and 120, producing 3 × 14,400 / (4 × tan(π / 3)) = 6235.38290725 mm² (62.3538 cm²).

Equilateral triangle steel gusset with n = 3 and s = 120 mm yielding 6235.38290725 square millimeters.
Equilateral triangle gusset: n = 3 and s = 120 mm yield 6235.38290725 mm².

Reading Regular Polygon Area Units, Scaling & Circle Convergence

The value displayed in #result-main is a two-dimensional planar surface area expressed in the square of your input length unit (mm², cm², in², ft², or m²), never a linear perimeter or 3D cubic volume.

When you double the side length s while keeping n fixed, the area quadruples (2² = 4×) because s is squared in the numerator: increasing a hexagon's edge from 2 in (10.3923048454 sq in) to 4 in produces 41.5692193817 sq in. Machine drawings for hex bolts and octagonal pavers often specify the flat-to-flat span F = 2a rather than edge length s; convert across-flats distance F to side length first via s = F × tan(π / n) (for a hexagon, divide F by √3 ≈ 1.7320508076).

If you keep the total perimeter P = n × s constant and increase n toward 1,000, the polygon's area approaches the area of a circle with circumference P (A_circle = P² / 4π).

Comparison of flat-to-flat span (2a) versus corner-to-corner side length (s) on a regular hexagon and octagon.
Always enter the outer edge length s (not the across-flats span 2a) into the Side length field.

Regular Polygon Area Input Limits, Irregular Shapes & Related Tools

Review these integer side-count constraints, radian-vs-degree checks, and related 2D geometry calculators before exporting your result.

Number of equal sides (#sides) requires a whole integer from 3 to 1,000 (step="1"), because at least 3 straight edges are required to enclose a 2D polygon. Side length (#side) requires a positive finite number from 1e-09 to 1,000,000,000. If you check the formula on a handheld calculator set to Degree (DEG) mode, evaluate tan(180° / n) rather than tan(π / n), since JavaScript's Math.tan operates in radians.

When your geometry task involves unequal sides, curved boundaries, or 4-sided layouts, pair this tool with our Polygon Area Calculator for irregular polygons defined by (x, y) vertex coordinates via the Shoelace theorem, the Triangle Area Calculator for non-equilateral triangles, the Rectangle Area Calculator and Trapezoid Area Calculator for 4-sided layouts, or the Circle Area Calculator and Circumference Calculator for circular limits.

Input validation bounds (sides 3 to 1000, side length 1e-9 to 1e9) alongside related regular and irregular polygon tools.
Keep sides n in [3, 1000] and side length s in [1e-09, 1e9], or switch to the Polygon Area Calculator for irregular (x, y) shapes.

Frequently Asked Questions About the Regular Polygon Area Calculator

Answers about using Regular Polygon Area Calculator and understanding its results.

How do I calculate the area of a regular polygon from side length?

Multiply the integer number of equal sides n by the squared side length s², then divide by 4 × tan(π / n) in radians (or 4 × tan(180° / n) in degrees): A = (n × s²) / (4 × tan(π / n)). For a regular pentagon (n = 5) with side length 10 cm, the area is (5 × 100) / (4 × tan(π / 5)) = 172.047740059 cm².

What are the simplified area formulas for a regular hexagon and octagon?

For a regular hexagon (n = 6), tan(π / 6) = 1 / √3, which simplifies the general equation to A = (3√3 / 2) × s² ≈ 2.5980762114 × s². For a regular octagon (n = 8), tan(π / 8) = √2 - 1, simplifying the area equation to A = 2(1 + √2) × s² ≈ 4.8284271247 × s².

How does the apothem formula A = ½Pa connect to this calculator?

A regular polygon's apothem a (the perpendicular distance from the center to the midpoint of any side) is fixed by n and s via a = s / (2 × tan(π / n)). Substituting perimeter P = n × s and a into A = ½ × P × a yields A = (n × s²) / (4 × tan(π / n)), so you never need to measure the apothem separately.

What range of side counts and lengths does this tool accept?

The Number of equal sides field accepts whole integers from 3 (an equilateral triangle) up to 1,000. The Side length field accepts positive real numbers from 1e-09 up to 1,000,000,000, formatting outputs up to 12 significant digits in matching square units.

Can I use this formula for an irregular polygon with unequal sides?

No. The formula A = (n × s²) / (4 × tan(π / n)) only holds when every side has the same length s and every interior angle equals (n - 2) × 180° / n. For land parcels or CAD contours with unequal edges, enter the ordered (x, y) vertices into the Polygon Area Calculator (/tools/polygon-area-calculator).

Why does the preloaded n = 6, s = 2 example return 10.3923048454?

With sides = 6 and side = 2, the numerator is 6 × 2² = 24 and the denominator is 4 × tan(π / 6) = 4 / √3 ≈ 2.3094010768. Dividing 24 by 2.3094010768 gives 6√3 ≈ 10.3923048454 square units.

Calculate result with your input

Choose another tool for your next calculation, conversion, or text task.

Calculate result