How quickly do massive stars (over $8 M_ ext{odot}$) burn through their hydrogen and helium cores on the main sequence?

Answer

Only a few million years

Massive stars burn through their fuel much faster than Sun-like stars, consuming their hydrogen and helium cores in only a few million years on the main sequence.

How quickly do massive stars (over $8 M_	ext{odot}$) burn through their hydrogen and helium cores on the main sequence?
astronomylifespanstarred giantstar evolution