avanier's banner

stars

Stars are integral to worldbuilding especially if you are constructing an entire solar system.

classes

classtemperature (K)
O33000+
B10500–30000
A7500–10000
F6000–7200
G5500–6000
K4000–5250
M2600–3850
HR diagram by Ashley Elliot (Louisiana State University)
Hertzsprung–Russell diagram by Ashley Elliott, LSU. Source

The Hertzsprung–Russell diagram shows the relationship between stars’ spectral types, radii, luminosities, and effective temperatures.

The Sun is a G-type main-sequence star. Main sequence refers to the diagonal line that runs roughly from the upper left to the lower right of the diagram above.

mass

Mass is a key value here as almost every other attribute of the star can be derived from it. Stellar mass is expressed in solar masses (M☉). A 2 M☉ star has twice as much mass as our Sun. Stars can be as small as 0.09 M☉ to as big as 150 M☉.

1 M☉ = (1.98847 ± 0.00007) · 1030 kg

temperature

The following equation gives an approximate temperature (T ) of a star given its B-V color index:

T = 4600 * (1 / (0.92BV)  + 0.62) + (1 / (0.92BV) + 1.7)

luminosity

Luminosity is the amount of energy emitted by an astronomical object—a star in this case. A star’s luminosity is expressed in terms of solar luminosity (L☉), which is ~3.828 × 1026 watts, and derived from its size and effective temperature. Read more about mass–luminosity relation.

// mass–luminosity relation
L☉ = M☉a

For main-sequence stars, a is set to 3.5. Things get tricky because of the Eddington luminosity, which sets a limit to a star’s normal luminosity. If exceeded, the star loses mass. The table below gives the approximate formulæ based on mass range where M is your chosen star’s mass.

massluminosity
M < 0.43 M☉L☉ ≈ 0.23 × M☉2.3
0.43 M☉ < M < 2 M☉L☉ = M☉4
2 M☉ < M < 55 M☉L☉ ≈ 1.4 × M☉3.5
M > 55 M☉L☉ ≈ 32000M☉

Alternatively, luminosity can also be derived from a star’s radius and effective temperature.

L☉ = 4πR☉2σT4

σ is the Stefan–Boltzmann constant which is ~5.67 × 10-8 W/(m2K4).

radius

Radius (R☉) can be calculated using luminosity. 1 R☉ = 695700 km.

R☉ = sqrt(L☉/4πσT4)

An alternate way of calculating diameter (and radius) based on temperature and luminosity:

d ≈ (57702 / T2) * sqrt(L☉)
R☉ = d / 2

surface area

A = 4πr2
A = πd2

lifetime

A star’s lifetime (τ) can be estimated using its mass. 1 τ = 10 × 109 years (10 billion).

τ ≈ 1010 * M☉2.5

resources