Star Shape Calculator
Test cases replayed : 4 of 4 match · Methodology · No outside source listed
Enter the number of points and the outer radius (center to a tip). Use the regular star shape, such as the classic pentagram, or give your own inner radius.
Result
Area n R r sin(π/n) (square units)
Inner radius r used
- Edge length √(R² + r² − 2Rr cos(π/n))
- Perimeter 2n × edge
- Angle at each point (degrees)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Number of points (5 or more for a regular star): enter 3 or more.
- Outer radius R, center to a tip (length units): enter 0 or more.
- Inner radius: choose Regular star: inner corners on the lines joining every second tip or My own inner radius (below).
- Inner radius r, center to an inner corner (only if you chose your own): enter 0 or more.
- Read the result: Area n R r sin(π/n) (square units); the panel also shows Inner radius r used, Edge length √(R² + r² − 2Rr cos(π/n)), Perimeter 2n × edge and Angle at each point (degrees).
How this calculator works
A star with n points has 2n corners alternating between the tips, at distance R from the center, and the inner corners, at distance r. Joining the center to every corner cuts it into 2n triangles, each with sides R and r around an angle of π/n, so the area is 2n × ½Rr sin(π/n) = nRr sin(π/n).
Each edge, from a tip to the next inner corner, follows from the law of cosines: e = √(R² + r² − 2Rr cos(π/n)). The perimeter is 2n edges. The angle at a tip is twice the angle the edge makes with the line from the center, found with the law of sines.
In a regular star {n/2}, drawn by joining every second tip, the inner corners lie where those lines cross, at r = R cos(2π/n) / cos(π/n). For the five-pointed star (pentagram) this gives r ≈ 0.382R and a point angle of 36°.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Number of points (5 or more for a regular star) | ||
| Outer radius R, center to a tip | length units | |
| Inner radius (1: Regular star: inner corners on the lines joining every second tip; 2: My own inner radius (below)) | ||
| Inner radius r, center to an inner corner (only if you chose your own) | ||
| Inner radius r used | ||
| Area n R r sin(π/n) | square units |
Worked example
| Number of points (5 or more for a regular star) | 5 |
|---|---|
| Outer radius R, center to a tip (length units) | 10 |
| Inner radius | Regular star: inner corners on the lines joining every second tip |
| Inner radius r used | 3.8197 |
|---|---|
| Edge length √(R² + r² − 2Rr cos(π/n)) | 7.2654 |
| Perimeter 2n × edge | 72.6543 |
| Angle at each point (degrees) | 36 |
Area n R r sin(π/n) (square units) 112.257
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the point angle of a regular five-pointed star?
36°. Its inner radius is about 0.382 times the outer radius.
What is the area of a regular five-pointed star with an outer radius of 10?
About 112.257 square units.
Can I use this for a star with very thin points?
Yes: choose your own inner radius. The smaller r is compared with R, the sharper the points.