Skip to main content

Regular Polygon Calculator, Area, Interior Angle and Apothem

Sides n + side length s, get area, interior angle, apothem and both radii, with a to-scale n-gon drawn live, browser-only

  • Runs locally
  • Category Calculator
  • Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.

Shape: Hexagon

Area
2.598076
Perimeter
6
Interior angle
120°
Exterior angle
60°
Sum of interior angles
720°
Apothem (inradius)
0.866025
Circumradius
1

Regular polygon (to scale)

circumradius-- apothem

What this tool does

A regular polygon calculator that takes the number of sides n and one side length s and returns every standard measurement at once: perimeter ns, area (1/4)·n·s²·cot(pi/n), the interior angle (n-2)·180/n, the exterior angle 360/n, the sum of interior angles, the apothem (the inradius, distance from center to the midpoint of a side), and the circumradius (distance from center to a vertex). It names the shape too, so n=6 reads back as a hexagon and n=12 as a dodecagon. A live SVG draws the actual polygon to scale with its apothem and circumradius marked, so you see the geometry rather than only the numbers. Every formula runs as plain JavaScript in your tab, one click copies the full result, and the share link reproduces your exact n and s. 100% client-side, no upload.

Tool details

Input
Files + Numbers
The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
Output
Live result + Copy + Preview
The result area focuses on usable output, with copy, download, or preview actions when supported.
Privacy
Browser-side processing
The main tool logic does not call an external API, so inputs normally stay in the current tab.
Save / share
Shareable URL state
Key settings are encoded in the URL so another person can reopen the same setup.
Performance budget
Initial JS <= 10 KB
No WASM budget is declared, keeping the tool quick to open on mobile.
Best fit
Calculator · Student
Category and role tags drive related tools, internal links, and quick fit checks.

How to use

  1. 1. Input

    Paste or drop your content into the tool panel.

  2. 2. Process

    Click the button. All processing is local in your browser.

  3. 3. Copy / Download

    Copy the result or download to disk in one click.

How Regular Polygon Calculator fits into your work

Use it for fast estimates, comparisons, and planning numbers before you make the final call.

Calculation jobs

  • Getting a realistic range before a purchase, plan, workout, or schedule decision.
  • Comparing scenarios by changing one input at a time.
  • Turning rough assumptions into a number you can discuss.

Calculation checks

  • Double-check units, dates, rates, and rounding assumptions.
  • Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
  • Save the inputs that produced an important result so you can reproduce it later.

Good next steps

These links move the current task into a more complete workflow.

  1. 1 Scientific Calculator Scientific calculator — sin / cos / log / sqrt / power, with full keyboard input + history, deg/rad mode. Open
  2. 2 Unit Converter Convert between length, weight, temperature, area, volume, speed, time — instant, browser-only Open
  3. 3 Pythagorean Theorem Calculator Solve a²+b²=c² — find the hypotenuse, find a missing leg, or measure the distance between two points (2D & 3D). Browser-only. Open

Real-world use cases

  • Check geometry homework before handing it in

    A worksheet asks for the area and interior angle of a regular octagon with 5 cm sides. Enter n=8 and s=5, read area = 120.71 cm² and interior angle = 135 degrees, then compare against your own working. The live drawing confirms you pictured an octagon and not a hexagon, and the apothem and circumradius are right there if the next part of the question needs them.

  • Lay out a gazebo, tabletop or planter base

    Building a hexagonal deck or an octagonal planter, you know the side length you want from the lumber on hand. Punch in n and s to get the apothem (how far the center sits from each edge) and the circumradius (how far out the corners reach), the two numbers you need to mark the layout on the ground and check it clears the space before any cuts.

  • Teach the (n-2)·180/n pattern in class

    Step a class through triangle, square, pentagon, hexagon and watch the interior angle climb 60, 90, 108, 120 while the exterior angle falls 120, 90, 72, 60. The shareable URL lets you drop a specific shape into a lesson slide or assignment so every student opens the exact same figure rather than a blank tool.

  • Size a bolt circle or CNC pocket pattern

    A flange needs six holes on a regular hexagon. The circumradius is your bolt-circle radius and the central angle between holes is the exterior angle, 360/6 = 60 degrees. Read both off one screen, copy the result into your notes, and reproduce the layout later from the link without re-deriving anything.

Common pitfalls

  • Mixing up the apothem and the circumradius. The apothem reaches the midpoint of a side (inradius), the circumradius reaches a vertex. The circumradius is always larger. Using the apothem where a corner-to-center distance was needed undersizes the shape.

  • Using degrees inside the formulas. The area and radius formulas use cot, tan and sin of pi/n in radians, not 180/n in degrees. Feeding degrees into a calculator set to radians (or the reverse) is the most common source of a wrong area.

  • Entering fewer than 3 sides. A polygon needs at least 3 sides, n=1 or n=2 is not a closed shape and the tool refuses it. Also remember n must be a whole number, there is no regular 5.5-gon.

Privacy

Every result here, the area, the angles, the apothem, the circumradius and the polygon drawing, is computed by plain JavaScript inside your browser tab. Nothing about your shape is sent anywhere and nothing is logged. The one thing to know, the shareable link encodes n and s in the URL query string, so a link pasted into chat will record those two numbers in the recipient server access log. The values are harmless geometry, but if you would rather not leave any trace, use the copy button and paste the text instead of sharing the URL.

FAQ

Tool combos

Folks in your role tend to reach for these alongside this tool.

Made by Toolora · 100% client-side · Updated 2026-05-30