Star Shape Calculator

Enter the number of points and the outer and inner radii of a regular star polygon to get its area, perimeter, edge length, and point angle.

Quick Facts

Area formula
A = n·R·r·sin(π/n)
n congruent triangles of angle π/n, each with sides R and r from the center.
Edge & perimeter formula
L = √(R²+r²−2Rr·cos(π/n)), P = 2n·L
Law of cosines across the n outer tips and n inner notches.
Valid star condition
0 < r < R
If r ≥ R the points flatten out or invert — no longer a valid star.

Your Results

Calculated
Area
-
A = n·R·r·sin(π/n), in square units
Perimeter
-
Sum of all 2n edges
Edge Length
-
Tip-to-notch edge, L = √(R²+r²−2Rr·cos(π/n))
Point Angle
-
Angle at each outer tip

Ready

Enter the points, outer radius, and inner radius, then press Calculate.

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.

Frequently Asked Questions

What is the formula for the area of a star shape?
For a regular n-pointed star with outer radius R and inner radius r, the area is A = n·R·r·sin(π/n). For example, a 5-pointed star with R = 10 and r = 4 has an area of 5×10×4×sin(36°) ≈ 117.6 square units.
How is the perimeter of a star shape calculated?
Each of the star's 2n edges runs from an outer tip to an adjacent inner notch and has length L = √(R² + r² − 2Rr·cos(π/n)), found with the law of cosines. The perimeter is the sum of all 2n edges: P = 2n·L.
What values are valid for the inner and outer radius?
The inner radius r must be strictly smaller than the outer radius R (0 < r < R). If r equals or exceeds R, the points flatten out or invert and the shape is no longer a valid star.
How do I find the angle at each point of the star?
The point (tip) angle is θ = 2·arcsin(r·sin(π/n)/L), where L is the edge length above. For a 5-pointed star with R = 10 and r = 4, the tip angle works out to about 38.3°.