Formula and Method for the Star Shape Calculator
A regular star shape (an n-pointed star, or "star polygon") is built from 2n vertices that alternate between an outer radius R (the tip points) and an inner radius r (the notches between points), spaced at equal angular steps of π/n radians around the center. This calculator computes the star's area, perimeter, edge length, and the angle at each outer point directly from n, R, and r.
How the calculation works
Connecting the center to each of the 2n vertices divides the star into 2n congruent triangles, each with two sides of length R and r meeting at an angle of π/n. Summing those triangle areas gives A = n·R·r·sin(π/n). Each visible edge of the star runs from an outer tip to an adjacent inner notch; by the law of cosines its length is L = √(R² + r² − 2Rr·cos(π/n)), and since there are 2n such edges, the perimeter is P = 2n·L. The angle at each outer tip follows from the same triangle via the law of sines: point angle = 2·arcsin(r·sin(π/n)/L).
Common mistakes
- Letting r ≥ R: this produces a self-intersecting or inverted shape — not a valid star polygon. Always keep the inner radius smaller than the outer radius.
- Confusing "points" with "sides": an n-pointed star has 2n straight edges and 2n vertices (n outer tips plus n inner notches), not n.
- Mixing units: enter the outer and inner radius in the same unit — convert before entering if your measurements come from different sources.
Real-world applications
- Logo, badge, and icon design — sizing points and notches precisely for sheriff stars, decorative motifs, and emblems.
- Laser cutting, CNC routing, and papercraft templates that need exact edge lengths and tip angles before cutting material.
- Geometry and trigonometry instruction — a concrete shape for illustrating the law of cosines and law of sines.
- Flag and national-emblem design, where five- and six-pointed stars need reproducible, consistent proportions.