What is a pentagram?
A regular pentagram is the regular star {5/2}: five points on a circle, each joined to the second next, drawn without lifting the pen. This calculator measures its visible outline, the region a filled star covers: a 10-sided outline whose 5 outer corners lie on a circle of radius R and whose 5 inner corners, where neighbouring lines cross, lie on a smaller circle of radius ρ. The area is the area of that outline, never the sum of the overlapping triangles.
How to use it
Choose what you know (outer radius R, inner radius ρ, the length c of one straight line of the figure, the outline edge e, the outline perimeter P or the area A), enter the value and pick a length unit if you want one shown. The unit only labels the results. Lengths from 0.000001 to 1,000,000,000 and areas from 0.000000000001 to 1,000,000,000,000,000,000 are accepted; anything else is refused. Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Derivation of the formulas
With n = 5 points and step m = 2, the angle \(\theta = \pi/n\):
$$\rho = R\,\dfrac{\cos(m\theta)}{\cos((m-1)\theta)},\quad c = 2R\sin(m\theta),\quad e = \sqrt{R^2 + \rho^2 - 2R\rho\cos\theta}$$
$$A = n\,R\,\rho\,\sin\theta,\quad P = 2n\,e,\quad \text{point angle} = 180^\circ (n - 2m)/n$$
The inner radius comes from intersecting two neighbouring lines of the figure; the area adds the 10 triangles from the centre to the outline edges.
Worked example
The page opens with R = 10: ρ = 3.819660, c = 19.021130, e = 7.265425, P = 72.654253 and A = 112.256994.
FAQ
Why is the area not n times a triangle?
The lines of a star overlap. Counting every triangle would count the centre several times; the visible region is counted once.
What is the line length c?
The length of one straight stroke of the figure, from one outer point to the point m steps further on.
How precise are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
References
Zwillinger, D. (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018
Coxeter, H. S. M., Introduction to Geometry, 2nd ed., 1969