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.
Frequently Asked Questions
Why do massive stars live shorter lives than low-mass stars?
Massive stars have much higher core temperatures and pressures, which accelerate the fusion process. They burn their hydrogen fuel millions of times faster than low-mass stars, so they exhaust their fuel in millions of years rather than billions.
What is the Hertzsprung-Russell diagram?
The HR diagram plots stars by their luminosity (brightness) on the vertical axis and their effective surface temperature on the horizontal axis. Main-sequence stars form a diagonal band. The Sun sits roughly in the middle of this band.
How do we know stellar lifetimes?
We derive stellar lifetimes from stellar evolution models (solving the equations of stellar structure and energy transport). These models are calibrated against observations of star clusters, where all stars formed at the same time but have different masses.
Will the Sun become a red giant?
Yes. In about 5 billion years, the Sun will exhaust its core hydrogen, expand into a red giant (growing to about 250 times its current size), and eventually shed its outer layers as a planetary nebula, leaving a white dwarf core.
What is the formula for stellar lifetime?
For main-sequence stars: Lifetime ∝ M^-2.5 (in solar units). This means a star twice the Sun's mass lives about 2^-2.5 ≈ 0.177 times as long, or roughly 1.8 billion years instead of 10 billion.
Is this a real simulation?
No. This is an interactive visualization of real stellar physics. It displays the mass-lifetime relationship and temperature-luminosity correlation using procedural graphics, but it does not solve the differential equations of stellar structure.