Drag the mass slider and watch a glowing probe star slide along the main sequence: heavier stars burn hotter, brighter, and far faster than their published lifetimes would suggest.
Published figures: main-sequence lifetime scales as mass to the power -2.5; surface temperature scales as mass to the power 0.57; luminosity scales as mass to the power 3.5 (Sun = 1 solar mass, 5778 K, 1 solar luminosity, 10 billion year lifetime).
Drag to orbit and scroll or pinch to zoom. Drag the mass slider to move the probe star, or press Reset to the Sun.
Stellar Main-Sequence Lifetime Calculator
by Astronomy Tools TeamA star's lifetime depends critically on its mass. More massive stars burn their fuel rapidly and live short lives; low-mass stars burn slowly and live for billions of years. This interactive diagram shows how stellar lifetime scales with mass on the main sequence (when a star fuses hydrogen in its core).
Key Features
- Mass-lifetime relationship: Stellar lifetime ∝ M-2.5 (inverse 2.5 power of mass in solar masses)
- Real published figures: Our Sun: ~10 billion years at 1 solar mass; O-type stars: ~10 million years at ~20 solar masses
- Hertzsprung-Russell diagram: Diagram axes show effective temperature (horizontal, reversed) and luminosity (vertical, logarithmic)
- Mass slider probe: Drag the slider from 0.1 to 20 solar masses and a glowing probe star slides along the main-sequence curve, with its temperature, luminosity, and lifetime updating live
- Interactive 3D rendering: Rotate, zoom, and explore stellar positions in the HR diagram
- In-browser only: No upload, no server processing - the visualization runs entirely in your browser's WebGL engine
Real Stellar Lifetimes
| Stellar Type | Mass (M☉) | Surface Temp (K) | Luminosity (L☉) | Main-Sequence Lifetime |
|---|---|---|---|---|
| M dwarf (red) | 0.1 | ~3000 | 0.001 | ~1 trillion years* |
| G dwarf (yellow, Sun) | 1.0 | 5778 | 1.0 | ~10 billion years |
| A star (white) | 2.0 | ~9000 | ~5 | ~1 billion years |
| B star (blue-white) | 5.0 | ~12000 | ~100 | ~100 million years |
| O star (blue) | 20 | ~30000 | ~10000 | ~10 million years |
* M dwarfs' lifetime exceeds the current age of the universe (~13.8 Gy)
How Stars Evolve
A star spends most of its life on the main sequence, fusing hydrogen into helium in its core. The relationship between mass and lifetime is one of the most fundamental in astronomy. Massive stars live fast and die young; low-mass stars burn steadily for trillions of years (far longer than the universe's current age). This is why we see many more low-mass stars than high-mass stars in any nearby region of space.
Educational Approximation
The main-sequence lifetime explorer is a visualization, not a simulation. It displays real stellar physics (the mass-lifetime relation, temperature-luminosity correlation, and HR diagram positions) but does not solve the equations of stellar structure. The diagram is tuned for clarity, not for a faithful stellar-structure solver.
For a static view of the Hertzsprung-Russell diagram with all stars visible at once, see our interactive HR diagram tool.