What this calculator does
This tool computes, for a circle of radius r, the side length and area of every regular polygon that can be inscribed in that circle — from a triangle up to as many sides as you like. It builds a table with one row for each integer number of sides n between your chosen minimum and maximum, and also reports the circle's own area so you can watch the polygon area converge toward it.
How to use it
Enter the circle radius r (any consistent unit — the side comes out in that unit and the areas in that unit squared). Set the range of polygon sides: from n (at least 3) to n (at least the minimum). The table is capped at 200 rows to keep it fast and readable. Larger n means the polygon hugs the circle more tightly, so its area gets closer to the circle area.
The formulas explained
An inscribed regular n-gon splits into n identical isosceles triangles. Each has two radius-length sides meeting at the center with an apex angle of \(\frac{2\pi}{n}\). The polygon side is the triangle's base, \(a = 2r\cdot\sin\!\left(\frac{\pi}{n}\right)\) (using the half-angle \(\frac{\pi}{n}\)). Each triangle has area \(\frac{1}{2}r^{2}\cdot\sin\!\left(\frac{2\pi}{n}\right)\), so the whole polygon area is
$$S_p = \tfrac{1}{2}\cdot n\cdot r^{2}\cdot\sin\!\left(\frac{2\pi}{n}\right)$$The circle area is simply \(S_c = \pi r^{2}\). As \(n \to \infty\), \(S_p \to S_c\) — the classic limiting argument for the area of a circle.
Worked example
For \(r = 1\) and a regular hexagon (\(n = 6\)):
$$a = 2\cdot 1\cdot\sin\!\left(\frac{\pi}{6}\right) = 2\cdot 0.5 = 1.0$$$$S_p = \tfrac{1}{2}\cdot 6\cdot 1\cdot\sin(60°) = 3\cdot 0.8660254 = 2.5980762$$The circle area is \(S_c = \pi \approx 3.1415927\), so the hexagon already fills about 83% of the circle.
Reference Values for Common Regular Polygons (r = 1)
For a unit circle (r = 1), the side length is \(s_n = 2\sin(\pi/n)\) and the polygon area is \(A_n = \tfrac{n}{2}\sin(2\pi/n)\). The circle area is \(\pi \approx 3.1416\). Values are rounded to 4 decimals.
| n (sides) | Polygon | Side length \(2\sin(\pi/n)\) | Area \(\tfrac{n}{2}\sin(2\pi/n)\) | % of circle area |
|---|---|---|---|---|
| 3 | Triangle | 1.7321 | 1.2990 | 41.3% |
| 4 | Square | 1.4142 | 2.0000 | 63.7% |
| 5 | Pentagon | 1.1756 | 2.3776 | 75.7% |
| 6 | Hexagon | 1.0000 | 2.5981 | 82.7% |
| 8 | Octagon | 0.7654 | 2.8284 | 90.0% |
| 10 | Decagon | 0.6180 | 2.9389 | 93.5% |
| 12 | Dodecagon | 0.5176 | 3.0000 | 95.5% |
| 20 | Icosagon | 0.3129 | 3.0902 | 98.4% |
| 100 | 100-gon | 0.0628 | 3.1395 | 99.9% |
For any other radius r, scale the table: side lengths are multiplied by r (linear scaling), and areas are multiplied by r² (quadratic scaling). For example, with r = 2 the hexagon side is 2.0000 and its area is 4 × 2.5981 = 10.3923.
Interpreting the Results Table
The ratio of polygon area to circle area is
$$\frac{S_p}{S_c} = \frac{ \tfrac{1}{2} n r^2 \sin(2\pi/n)}{\pi r^2} = \frac{\sin(2\pi/n)}{2\pi/n}$$
The r² cancels, so the percentage of the circle filled depends only on the number of sides n, not on the size of the circle. That is why the percentage column in the reference table holds for every radius.
- Area grows with n. Each extra side fills more of the circle, so the area increases monotonically but always stays below \(\pi r^2\).
- Side length shrinks with n. Since \(\sin(\pi/n) \approx \pi/n\) for large n, the side approaches \(2\pi r/n\). The perimeter \(n s_n = 2nr\sin(\pi/n)\) therefore approaches the circumference \(2\pi r\).
- The hexagon is special. For n = 6, \(s = 2r\sin(30^\circ) = r\), so the side equals the radius. This is why six circles of radius r fit around a central one, and why compass constructions give a hexagon easily.
- Convergence rate. A series expansion gives \(\pi r^2 - A_n \approx \dfrac{2\pi^3 r^2}{3n^2}\), so the gap shrinks roughly as 1/n²: doubling the number of sides cuts the gap by about a factor of four. At n = 100 the polygon already covers about 99.93% of the circle.
Archimedes (3rd century BC) used this idea: by computing perimeters of inscribed and circumscribed polygons up to 96 sides, he bounded \(\pi\) between \(223/71\) and \(22/7\), one of the earliest rigorous approximations of π.
FAQ
Why must n be at least 3? A polygon needs a minimum of three sides; fewer cannot enclose an area.
What units should I use? Any — the radius is used directly with no conversion. If r is in cm, the side is in cm and areas in cm².
Why does the polygon area approach the circle area? Each extra side makes the polygon a better approximation of the circle, so for large n the area difference shrinks toward zero.