Stellar Lifetime Calculator

A star spends most of its life on the main sequence, steadily fusing hydrogen into helium in its core. How long this phase lasts is set by how much fuel the star has (its mass) divided by how fast it burns that fuel (its luminosity). Because luminosity rises far faster than mass, the heaviest stars live shortest. This calculator scales a star's lifetime from the Sun's, using the mass-luminosity relation with a user-editable exponent and solar lifetime, returning the main-sequence lifetime in both years and Sun lifetimes.

0.00
0.00
0.00

Stellar lifetime formula

L / L_sun = (M / M_sun)^a
lifetime = t_sun * (M / M_sun) / (L / L_sun)
so lifetime = t_sun * (M / M_sun)^(1 - a)

The lifetime equals the fuel supply (proportional to mass) divided by the burn rate (luminosity). With the mass-luminosity exponent a, more massive stars have far higher luminosity and therefore shorter lives. The solar benchmark anchors the scaling.

Stellar lifetime facts

  • The Sun's main-sequence lifetime is about 10 billion years.
  • A 10 solar mass star lives only tens of millions of years on the main sequence.
  • Low-mass red dwarfs can burn for trillions of years, far longer than the present age of the universe.
  • The mass-luminosity exponent near 3.5 is an average; real stars vary across the mass range.
  • Solar lifetime and exponent are user-editable so you can match your reference convention.

Stellar lifetime: frequently asked questions

How long does a star live on the main sequence?

A star's main-sequence lifetime is the time it spends fusing hydrogen in its core. It depends strongly on mass: more massive stars burn far hotter and exhaust their fuel much faster. The Sun's main-sequence lifetime is about 10 billion years, and other stars scale from that benchmark by their mass and luminosity.

What formula does this calculator use?

It uses lifetime = t_sun * (M / M_sun) / (L / L_sun), the fuel divided by the burn rate, where luminosity follows the mass-luminosity relation L/L_sun = (M/M_sun)^a. With the common exponent a = 3.5, this simplifies to lifetime = t_sun * (M/M_sun)^(1 - 3.5) = t_sun * (M/M_sun)^(-2.5). The solar lifetime and exponent are user-editable.

Why do massive stars die so much faster?

Although a massive star has more hydrogen fuel, its luminosity rises far faster than its mass (roughly as mass to the 3.5 power). The fuel grows linearly with mass but the consumption rate grows much faster, so the net lifetime falls sharply. A 10 solar mass star lives only a few tens of millions of years.

What is the mass-luminosity exponent?

The exponent in L proportional to M to the power a varies with stellar mass, but a value near 3.5 is a widely used average for main-sequence stars of roughly solar mass. This calculator exposes the exponent as a user-editable input so you can apply 3.0, 3.5, 4.0, or a piecewise value as your reference requires.

Is this an exact age?

No. It is a scaling estimate calibrated to the Sun, not a detailed stellar evolution model. Real lifetimes depend on metallicity, rotation, mass loss, and the exact mass-luminosity behavior across the mass range. Treat the result as an order-of-magnitude main-sequence lifetime, useful for comparison and teaching.

Official sources

Reviewed by the CalculatorHub team, edited by James Graham, 16 June 2026. See our methodology.