stars

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

classes

classtemperature (K)
O33000+
B1050030000
A750010000
F60007200
G55006000
K40005250
M26003850

mass

Mass is an important 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.

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 = Ma

For main-sequence stars, a is set to 3.5. Things get tricky because of something called 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.

stellar massluminosity
M < 0.43 ML0.23 × M2.3
0.43 M < M < 2 ML = M4
M < M < 55 ML1.4 × M3.5
M > 55 ML32000M

diameter

d = (57702 / T2) * sqrt(L)

surface area

A = 4πr2
A = πd2

lifetime

A star’s lifetime can be estimated.

τ ≈ 1010 * M2.5

resources