terican

Last verified · v1.0

Calculator · math

Star Shape Calculator

Compute the area and perimeter of any regular star polygon by entering the number of points, outer radius, and inner radius.

FreeInstantNo signupOpen source

Inputs

Star Shape Result

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Star Shape Resultunits

The formula

How the
result is
computed.

Star Shape Calculator: Area and Perimeter of Regular Star Polygons

A star polygon is a non-convex polygon formed by connecting every kth vertex of a regular n-gon, producing the familiar radiating-point silhouette used in flags, emblems, and decorative art. The five-pointed star (pentagram) and the six-pointed Star of David are the most common examples, but the same geometric framework extends to any number of points. This star shape calculator applies exact trigonometric formulas to compute area and perimeter for any regular star with n outer points, an outer radius R, and an inner radius r.

Core Formulas

Two primary measurements describe a star shape: its enclosed area and its perimeter (total edge length around the outline).

Area Formula

The area of a regular star with n points, outer radius R, and inner radius r is:

A = n · R · r · sin(π/n)

This formula treats the star as 2n congruent triangles sharing an apex at the center. Each triangle has two sides of length R and r and an included central angle of π/n radians. The area of one such triangle is (1/2)·R·r·sin(π/n), and summing all 2n triangles yields the formula above.

Perimeter Formula

The perimeter traces all outer edges of the star:

P = 2n · √(R² + r² − 2Rr · cos(π/n))

A star with n points has exactly 2n sides of equal length. Each side connects one outer tip to one adjacent inner notch. Applying the law of cosines to the triangle formed by the center, one outer tip, and one adjacent inner vertex — with the central angle equal to π/n — gives each side length as √(R² + r² − 2Rr·cos(π/n)).

Variables Explained

  • n (Number of Points): The count of outer tips. A standard five-pointed star uses n = 5; the Star of David uses n = 6. Larger values of n produce stars that resemble cogwheels or starburst shapes with progressively shallower indentations.
  • R (Outer Radius): The distance from the geometric center to each outer tip. This is the dominant size parameter and defines the star's maximum extent.
  • r (Inner Radius): The distance from the center to each inner concave vertex (the notch between two adjacent points). A smaller r relative to R produces sharper, more dramatic points; setting r close to R yields a nearly regular polygon with barely visible indentations.

Deriving the Regular-Star Inner Radius

For a geometrically regular star polygon {n/2} — constructed by connecting every second vertex of a regular n-gon — the inner radius is not a free parameter but is determined entirely by the outer radius:

r = R · cos(2π/n) / cos(π/n)

For a five-pointed star (n = 5), this gives r ≈ 0.382 × R, placing the inner notches at roughly 38.2% of the outer radius. For a six-pointed star (n = 6), the result is r ≈ 0.577 × R. According to Wolfram MathWorld's entry on Star Polygons, these ratios arise directly from the diagonal properties of regular polygons and define the canonical star polygon shapes studied since classical antiquity.

Worked Examples

Example 1: Five-Pointed Star, Custom Proportions

Given n = 5, R = 10 cm, r = 4 cm:

  • Area: A = 5 × 10 × 4 × sin(36°) = 200 × 0.5878 ≈ 117.6 cm²
  • Side length: √(100 + 16 − 80 × cos(36°)) = √(116 − 64.72) = √51.28 ≈ 7.16 cm
  • Perimeter: P = 10 × 7.16 ≈ 71.6 cm

Example 2: Six-Pointed Star, Regular Proportions

Given n = 6, R = 8 cm, r = 4.62 cm (regular-star value):

  • Area: A = 6 × 8 × 4.62 × sin(30°) = 6 × 8 × 4.62 × 0.5 ≈ 110.9 cm²
  • Side length: √(64 + 21.34 − 73.92 × cos(30°)) = √(85.34 − 64.02) = √21.32 ≈ 4.62 cm
  • Perimeter: P = 12 × 4.62 ≈ 55.4 cm

Applications

Star shape calculations appear across a wide range of practical disciplines. Graphic designers use them to size star elements in logos, badges, and emblems. Architects and tile-makers apply star polygon geometry in Islamic geometric patterns and decorative flooring. Manufacturers who cut star-shaped parts — gaskets, cookie cutters, decorative metalwork — need accurate area figures for material estimation. Teachers use these formulas to connect geometry and trigonometry for students, consistent with the scope outlined in the Common Core State Standards for Mathematics. Origami artists and paper-crafters rely on radius ratios to achieve precise point angles in folded star designs.

Methodology and Sources

Both formulas derive from standard analytic geometry. The area formula follows from decomposing the star into 2n isoceles triangles with a shared apex at the center and summing their areas via (1/2)ab·sin(C). The perimeter formula applies the law of cosines to each of the 2n equal-length sides. These derivations are consistent with the formal treatment in Wikipedia's article on Star Polygons and the rigorous definitions on Wolfram MathWorld.

Reference

Frequently asked questions

What is a star shape calculator used for?
A star shape calculator computes the area and perimeter of a regular star polygon using the number of outer points, the outer radius (center to tip), and the inner radius (center to inner notch). It applies exact trigonometric formulas so users can obtain precise measurements without manual calculation, making it useful for graphic design, architecture, manufacturing, and mathematics education.
What is the difference between the outer radius and inner radius of a star?
The outer radius R is the distance from the center of the star to each outer tip, defining the shape's maximum extent. The inner radius r is the distance from the center to each inner concave vertex, the notch between two adjacent points. A ratio of r/R close to zero creates very sharp, needle-like points, while a ratio close to 1 produces a nearly round shape with barely visible indentations.
How do you calculate the area of a 5-pointed star?
Use the formula A = n x R x r x sin(pi/n) with n = 5. For example, with outer radius R = 10 cm and inner radius r = 4 cm: A = 5 x 10 x 4 x sin(36 degrees) = 200 x 0.5878, giving approximately 117.6 square centimeters. The formula sums the areas of ten triangles formed between the center, each outer tip, and each adjacent inner notch.
What is a regular star polygon and how is its inner radius determined?
A regular star polygon {n/2} is constructed by connecting every second vertex of a regular n-gon. In this special case the inner radius is fixed by the outer radius through the formula r = R x cos(2pi/n) / cos(pi/n) and cannot be chosen freely. For a 5-pointed star this yields r approximately 0.382 x R, placing inner notches at 38.2% of the outer radius — the classic pentagram proportion described on Wolfram MathWorld.
Can the star shape calculator handle stars with more than 5 or 6 points?
Yes. The area formula A = n x R x r x sin(pi/n) and the perimeter formula P = 2n x square-root(R-squared + r-squared minus 2Rr x cos(pi/n)) are valid for any integer n of 3 or greater. A 7-pointed heptagram, an 8-pointed octagram, or a 12-pointed star all use the same equations. Larger n values produce progressively shallower indentations unless the inner radius r is kept significantly smaller than R.
What units does the star shape calculator use, and how can results be converted?
Results use the same units as the input radii. Area is expressed in square units and perimeter in linear units, so entering radii in centimeters yields area in square centimeters and perimeter in centimeters. To convert area to square meters multiply by 0.0001; to convert perimeter from centimeters to meters multiply by 0.01. Any consistent unit system works: inches, feet, millimeters, or meters.