Skip to content
Omnikalc

Main sequence lifetime calculator: the hydrogen-burning life of a star from its mass

Enter the mass of a star in solar masses to estimate its luminosity and how long it spends burning hydrogen on the main sequence, in billions of years.

Updated on
Your inputs
M☉

Value out of range

Results

Time on the main sequence

0.7228 Gyr

Lifetime of the order of a billion years or more
Luminosity of the star
34.59 L☉
Lifetime compared with the Sun
0.0723 ×
Lifetime compared with the age of the Universe (13.8 Gyr)
0.0524 ×

The more massive a star is, the shorter its life. The main sequence lifetime calculator estimates the luminosity of a star and the time it spends burning hydrogen from its mass in solar masses, and compares it with the lifetime of the Sun and with the age of the Universe.

How the calculation works

  • Enter the mass of the star in solar masses (M☉). Stars range from 0.08 to more than 100 M☉.
  • The calculator estimates the luminosity from the mass with the mass–luminosity relation, in four ranges of mass: L ∝ M^2.3 for low-mass stars, M⁴ for solar-type stars and M^3.5 for heavier ones.
  • The lifetime is the fuel divided by the burning rate: t ≈ 10 Gyr × (M / M☉) / (L / L☉), the Sun being the reference with 10 billion years.
  • The result also compares the lifetime with the Sun and with the age of the Universe, 13.8 billion years.

Example

A star of 2.5 M☉ has a luminosity of 1.4 × 2.5^3.5 = 34.59 L☉. It burns its hydrogen in 10 × 2.5 / 34.59 = 0.7228 billion years, or 0.0723 times the lifetime of the Sun. Such a star lives about 14 times less than the Sun.

Why it matters

The lifetime on the main sequence explains why the oldest stars we see are small, why massive stars are rare and why a planet around a short-lived star has little time for life to develop. It is a basic result of stellar astrophysics, used in the study of stellar populations and of the age of star clusters.

Good to know

The mass–luminosity relation is an average over stars on the main sequence, with a spread of tens of percent for a given mass, and the exponents change with the composition and the rotation. The lifetime assumes that a star keeps 10 % of its mass as usable hydrogen and burns it at its constant luminosity, whereas the real luminosity rises slowly during the life. Mixing, mass loss and binary interaction change the result, which is an estimate to within a factor of about two.

The stellar luminosity calculator gives the power of a star from its size and temperature, the mass–energy calculator applies E = mc² to the fuel, the Eddington luminosity calculator gives the upper limit for massive stars, and the Schwarzschild radius calculator covers the end state of a massive star.

Frequently asked questions

What is the main sequence?

It is the long stable phase of the life of a star, in which it fuses hydrogen into helium in its core. Stars on the main sequence follow a line in the diagram of luminosity against temperature. The Sun has been on the main sequence for about 4.6 billion years and will stay for about 5 billion more.

Why do massive stars live less?

A star has fuel in proportion to its mass, but it burns it in proportion to its luminosity, which grows as M^3.5 to M⁴. A star twice as heavy as the Sun has twice the fuel but about 11 to 16 times the luminosity, so its life is some 5 to 8 times shorter. The most massive stars live only a few million years, while red dwarfs can live trillions.

Why a lifetime of 10 billion years for the Sun?

Only the hydrogen in the core, about 10 % of the mass of the star, is hot enough to fuse. The fusion converts 0.7 % of the mass into energy. The product, 0.1 × 0.007 × M☉ c², divided by the luminosity of the Sun, 3.83 × 10²⁶ W, gives about 10 billion years.

What happens after the main sequence?

When the core hydrogen is gone, a star like the Sun swells into a red giant, burns helium, and ends as a white dwarf. A star above about 8 solar masses goes on to burn heavier elements and ends in a supernova, leaving a neutron star or a black hole.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.