Free Star Shape Calculator
Pentagram — 5 points
Enter any known dimension (outer side a, ray length b, inner side c, span l, or perimeter P) to compute all others.
Enter a known dimension
All dimensions will be calculated automatically
Star Polygon Calculator: A Online Geometry Tool for Star Dimensions
The star shape calculator (also referred to as a pentagram calculator or hexagram calculator) is a free online utility dedicated to the geometry of regular star polygons. Whereas standard polygon calculators handle convex shapes, this tool focuses on self‑intersecting stars—specifically pentagrams, hexagrams, heptagrams, and octagrams. Enter any single known value (side length, perimeter, or area) and the calculator instantly derives all corresponding measurements.
Fundamentals of Star Polygons
A star polygon is defined as a non‑convex, self‑intersecting shape that is equilateral and equiangular. Every regular star polygon is identified by the Schläfli symbol :
- = number of vertices (and sides) of the underlying regular polygon.
- = starriness, or the number of times you must travel around the center to return to the starting point.
This notation neatly classifies all possible star polygons that can be constructed from an -gon. Because star polygons are self‑intersecting, their area calculation differs from that of convex polygons; the calculator uses exact formulas for each shape.
Pentagram: The Five‑Pointed Star
The pentagram is the smallest regular star polygon, derived from a pentagon. Its line segments are in a golden ratio relationship, making it a favorite subject in both art and geometry.
Key Variables
In the star calculator, the following measurements are used:
- – distance between two adjacent tips.
- – length of each ray from a tip to the first intersection (the “point” of the star).
- – side of the inner convex pentagon.
- – full width along one side of the star (tip‑to‑tip across that side).
Golden Ratio Relations
For a pentagram, the segments follow the golden ratio :
Alternatively, in terms of the ray length :
Perimeter and Area
The total length of the outer boundary (the sum of all ten ray segments) is
The area of a pentagram is a more involved expression; the calculator uses the formula
which simplifies to a closed‑form value involving .
Hexagram: The Six‑Pointed Star
Built from a regular hexagon, the hexagram consists of two interlocking equilateral triangles. This symmetry introduces the square root of three into many geometric relationships. For example, the distance between opposite tips and the ray length are linked by a factor of . The tool can compute the area directly, using a component formula such as
(where is the ray length) for certain decompositions.
Heptagram: The Seven‑Pointed Star
A regular heptagon gives rise to two distinct star polygons: the and heptagrams. The form has a wider appearance, while the one is more slender. Both can be analyzed by dividing the star into a central convex heptagon and seven surrounding isosceles triangles. The calculator supports both Schläfli symbols, allowing you to input one known dimension for each type.
Octagram: The Eight‑Pointed Star
The octagram originates from a regular octagon and also offers two variants: and . Angles of appear frequently, making a common factor in the formulas. Its area can be obtained by combining a central octagon with eight flanking triangles.
Fascinating Facts: Star Polygons in the World
Star‑shaped polygons appear on many national flags. The United States flag contains 50 pentagrams; Israel and Burundi use hexagrams; Jordan features a heptagram; and Azerbaijan proudly displays an octagram. The pentagram also appears in religious and occult symbolism, though its geometric appeal lies in its golden ratio proportions.
A classic puzzle asks: “How many triangles are hidden inside a pentagram?” The answer is 35 when counting all overlapping triangles formed by the star’s intricate pattern.
How to Use the Star Dimensions Calculator
- Pick the desired star type from the menu (pentagram, hexagram, heptagram, or octagram).
- Enter one known measurement: any of the linear parameters (, , , ), the perimeter, or the area.
- The tool instantly fills in all other fields.
- For heptagrams and octagrams, beginning with a linear dimension is recommended because the area formulas involve the cotangent function, which prevents straightforward inversion from area alone.
All calculations are based on exact geometric formulas, ensuring both accuracy and consistency across parameters.
FAQ
1. What types of star polygons can I calculate with this tool?
The star shape calculator supports pentagrams, hexagrams, heptagrams (both 7/2 and 7/3), and octagrams (both 8/2 and 8/3). It focuses on regular star polygons derived from pentagons, hexagons, heptagons, and octagons.
2. How do I find the perimeter of a pentagram using the calculator?
Simply select the pentagram type and enter any known dimension, such as the ray length b. The calculator then returns the perimeter using the formula P = 10 × b. You can also start from the area or side a, and the tool will derive b and the perimeter automatically.
3. What is the golden ratio’s role in a pentagram?
All key segments of a pentagram follow the golden ratio φ (≈1.618). For example, the ray length b equals a/φ, the inner pentagon side c equals b/φ, and the total span l equals c/φ. These relationships make the pentagram unique among star polygons.
4. Can the tool compute the area of a hexagram automatically?
Yes, after entering any known linear dimension (such as the ray length b), the calculator displays the hexagram area. Its formula involves √3 because the hexagram decomposes into two equilateral triangles.
5. Why do heptagrams and octagrams require a linear dimension input rather than area?
The area formulas for heptagrams and octagrams contain the cotangent function, which cannot be easily inverted to give unique side lengths from an area alone. Therefore, starting from a linear measurement (like a or b) is recommended for these shapes.
How to Use
- Select the star type (Pentagram, Hexagram, Heptagram, or Octagram) using the number buttons.
- Enter a known dimension and select which variable it represents (a, b, c, l, or P).
- All remaining dimensions of the star shape are calculated and displayed instantly.