Ages

Now you know how a star is born!

What next?

Try it yourself ↓

How are stars formed?

▶ 5:02 video · Watch on YouTube

  1. 0:00 Every star was born
  2. 0:42 The cold cloud
  3. 1:31 Gravity squeezes
  4. 2:16 The star switches on
  5. 3:08 Mass is destiny
  6. 3:54 Our star's story

Your turn

Make a star, one step at a time

Play with stars!

Each lab is one step from the video. Change things and see what happens.

Each lab isolates one step. Numbers come from NASA and OpenStax; the pictures are not to scale.

Tap the buttons and slide the sliders.

1

See through the dust

Visible vs infrared

Find the baby stars

Switch between ordinary light and Webb’s infrared view. What was hiding in the dark pillars?

Dust absorbs visible light but infrared passes through it. Toggle the view to reveal the young stars inside the Pillars of Creation.

Tap the two buttons. Where are the baby stars hiding?

A sketch of the Pillars, not the real photo.

2

Warm or cold cloud

Temperature vs gravity

Make the cloud cold

Slide the temperature. When does gravity win, and when does the jiggling gas spread out?

Low temperature means low gas pressure, so gravity gathers the gas into clumps. Heat the cloud and thermal motion disperses them.

Slide to make the cloud cold or warm. When do the bits clump together?

A toy model: the pull and the jiggle are simplified.

3

Squeeze a clump

Collapse: heat, spin, disk, jets

Squeeze it!

Squeeze the clump. What happens to its heat and spin? When do the disk and jets appear?

As the core contracts it heats up and spins faster; the spin flattens infalling gas into a disk, and jets appear along the poles.

Slide to squeeze the ball. Does it get hotter?

Not to scale: real collapse shrinks a core far more.

4

Will it switch on?

The fusion threshold

Big clump, tiny clump

Pick a clump, then press Squeeze. Does its core reach 10 million °C, or does it end as a brown dwarf?

Fusion needs a core of about 10 million °C. Below ~1/13 of the Sun’s mass (0.075 Suns) the core never gets there: a brown dwarf.

Pick a clump and squeeze it. Does it light up?

Temperatures are rounded; real cores differ from star to star.

5

Mass is destiny

Mass → colour, lifetime, fate

Pick a star’s mass. How long does it live, what colour is it, and how does it end?

Main-sequence lifetimes from OpenStax Table 22.1, interpolated on a log scale. Above ~8 Suns the star ends as a supernova.

Lifetimes from OpenStax; the in-between values are estimates.

6

Our Sun’s life

The Sun’s evolution

The Sun grows up

Slide through the Sun’s life, from its birth to a white dwarf. Where are we now?

About 4.6 billion years in, halfway through ~10 billion years on the main sequence; then a red giant and a white dwarf.

Slide to see the Sun as a baby, now, and very old.

Sizes are not to scale.

How is a star born?

Every star started as a giant cloud of gas and dust in space. The cloud is very, very cold.

1. Clumps

Gravity is the pull that makes things fall. In the cold cloud, gravity pulls bits of gas together into balls.

2. Squeeze

Gravity squeezes one ball tighter and tighter. The falling gas crashes together and gets hot. The ball spins faster, like a spinning skater. Now it glows: a baby star!

3. Switch on!

In the middle of the baby star, tiny bits squeeze together and join up. That makes lots of energy. The energy pushes out, the star stops shrinking, and it shines. A real star is born!

If the ball is too small, it never gets hot enough. It stays a "failed star", called a brown dwarf.

4. Our Sun

Our Sun was born like this, a long, long time ago. Leftover dust and gas made the planets, and our Earth!

Did you know? New stars are being born right now, in giant dusty clouds far away. A special space telescope can see through the dust to find them.

← More explainers

How are stars formed? The short answer

Stars form inside giant, cold clouds of gas and dust called molecular clouds. Gravity pulls a dense clump of the cloud together. As the clump collapses it heats up and becomes a glowing protostar. When its core reaches about 10 million °C, hydrogen nuclei start fusing into helium. That nuclear fusion releases enough energy to push back against gravity, and the collapse stops. At that moment a true star is born.17

Stars are still being born right now. Our Milky Way holds more than 100 billion stars,1 and new ones keep switching on in places like the Orion Nebula and the Pillars of Creation.34

Where are stars formed? Inside stellar nurseries

The raw material for stars is spread thinly between the stars as gas and dust. In some places it gathers into huge molecular clouds. They are mostly hydrogen, can stretch hundreds of light-years across, and hold from about 1,000 to 10 million times the mass of the Sun.1 Their insides are astonishingly cold: only about 10–20 kelvin, which is 10–20 degrees above absolute zero.3

Because young stars appear in batches inside these clouds, astronomers call them stellar nurseries.1 A few famous ones:

  • The Pillars of Creation, towers of gas and dust in the Eagle Nebula, about 6,500 light-years away. Hubble made them famous in 1995. The Webb telescope's infrared camera sees through the dust to newborn stars only a few hundred thousand years old.4
  • The Orion Nebula, about 1,500 light-years away, where roughly 2,200 young stars crowd into a space a little more than a dozen light-years wide.3
  • The Taurus Molecular Cloud, about 450 light-years away, the closest large star-forming region. Its dense clumps sit along long, thin filaments, like beads on a string.15

Why can't we just photograph stars being born? Dust blocks visible light. Infrared light gets through, so telescopes like Webb and Herschel use infrared to look inside.34

How do stars form, step by step?

Every star's life is a tug of war between two forces: gravity pulling inward and gas pressure pushing outward.38 Star birth is the story of gravity winning for a while, until fusion forces a truce.

  1. A cold cloud forms clumps. Cold gas moves slowly, so it pushes back weakly. Gravity gathers it into dense clumps, and inside those, even denser cores, the embryos of stars.13 Sometimes a push starts things off, such as a nearby exploding star or two clouds bumping together.7
  2. Gravity takes over and the core collapses. To become a star, a core has to shrink so much that its density goes up by a factor of nearly 1020 (a 1 followed by 20 zeros).3
  3. The collapse makes heat. Falling gas speeds up and crashes together, and the energy of falling turns into heat.16 The warm, glowing ball is a protostar, a baby star. At first all its energy comes from this collapse, not from fusion.1
  4. It spins up and grows a disk. As the core shrinks it spins faster, like a figure skater pulling in her arms. Gas falling toward the equator gets held back by the spin and forms a flat, whirling disk.3
  5. Jets and winds clear the view. Young stars blast beams of gas out of their poles, and a stellar wind slowly sweeps away the dusty cocoon.34
  6. Fusion switches on. When the core reaches about 10 million degrees, hydrogen nuclei fuse into helium.7 (Textbooks quote 10 to 15 million, depending on the star.58) Fusion's energy balances gravity, the shrinking stops, and the object is now a main-sequence star, the long, steady stage where it will spend most of its life.110

4 hydrogen nuclei → 1 helium nucleus + energy

That energy is huge. Each second, the Sun fuses about 600 million tons of hydrogen into helium, and about 4 million tons of that mass turns into pure energy.3 The Sun's core sits at about 15 million °C.2

How long does it take for a star to form?

It depends on the star's mass. Stars much heavier than the Sun reach the main sequence in a few thousand to a million years. The Sun needed millions of years, and the smallest stars need tens of millions.5 The first free-fall collapse of a core is fast by comparison, just thousands of years, which is one reason it's so rarely caught in the act.3

What if the clump is too small? Brown dwarfs

A clump between roughly 13 Jupiters and about 0.075 times the Sun's mass (roughly 1/13) never gets hot enough in the middle for steady hydrogen fusion.5 It becomes a brown dwarf, a "failed star" of roughly 13 to 80 times Jupiter's mass that gives off almost no visible light.9 At the other end, stars top out at somewhere between 100 and 200 Suns, because a very heavy newborn star shines so fiercely that it blows away any extra gas.5

The life cycle of a star: mass decides everything

Once a star is born, its mass sets the rest of its story: how hot and what colour it is, how long it lives, and how it dies.18 You might guess that bigger stars last longer because they have more fuel. It's the other way round. A heavier star has more weight pressing on its core, so the core has to be hotter to hold it up, and hotter cores burn fuel much, much faster.10

Star (mass vs the Sun)Surface temperatureColourTime on the main sequence
40 × Sun~54,000 Kblue~1 million years
16 × Sun~29,000 Kblue-white~10 million years
3.3 × Sun~9,600 Kwhite~500 million years
1 × Sun~6,000 Kwhite (looks yellow from Earth)~10 billion years
0.8 × Sun~5,200 Korange~14 billion years
0.4 × Sun~3,800 Korange-red~200 billion years

Temperatures and lifetimes from OpenStax Table 22.1; colours from OpenStax 17.2.1011 The universe is about 13.8 billion years old,16 so the longest-lived red dwarfs have not had time to burn out.

Hot stars glow blue and cool stars glow red: a star's colour tells you its surface temperature.11 Small, cool red dwarfs are by far the most common stars, about three quarters of the stars in the Milky Way, and some may shine for trillions of years.9

How stars die

  • Low and medium mass (like the Sun): when core hydrogen runs out, the star swells into a red giant, puffs its outer layers off as a glowing planetary nebula, and leaves behind its core, an Earth-sized white dwarf that cools for billions of years.19
  • High mass (more than roughly 8 Suns, depending on the star): the core fuses heavier and heavier elements up to iron, then collapses and rebounds in a supernova. What's left is a neutron star or a black hole.19

How was our Sun formed?

Our Sun formed about 4.6 billion years ago from a spinning cloud of gas and dust called the solar nebula. As it collapsed, it spun faster and flattened into a disk. Most of the material fell to the centre and became the Sun, which now holds 99.8% of the solar system's mass. Much of what was left in the disk built the planets, including Earth.2 That's no accident: disks are a normal by-product of star birth, which is why so many stars have planets.3

The Sun is about halfway through its roughly 10-billion-year life. In about 5 billion years it will become a red giant, and later a white dwarf.214

Stars make the next generation of stars (and us)

Star birth and star death are linked. Material thrown out by dying stars and supernovae mixes into future molecular clouds and ends up in the next generation of stars.1 The blast of a supernova, or the strong winds of massive stars, can even squeeze a nearby cloud and trigger new star birth.37 Many of the elements needed for life were made in supernovae,12 so most of the atoms in you, other than hydrogen, were cooked up in stars that died before the Sun was born.

Common misconceptions

"Big stars live longest because they have the most fuel." They burn it far faster. A 40-Sun star lasts about a million years; the Sun lasts about 10 billion.10
"Stars are on fire." Stars aren't burning like wood or coal. Their energy comes from nuclear fusion. A Sun made of coal would burn out in a few thousand years.6
"All the stars formed long ago." Stars are forming right now, in Orion, in the Eagle Nebula and in clouds all over the galaxy.34
"A protostar is already a star." It glows from the heat of collapse. It only counts as a star once hydrogen fusion starts in its core.7
"Anything big and hot enough becomes a star." Below about 1/13 of the Sun's mass, the core never ignites, and you get a brown dwarf.5

FAQ

How are stars formed, step by step?

1) A cold molecular cloud of gas and dust forms dense clumps. 2) Gravity makes a clump collapse. 3) The falling gas heats up, spins faster and flattens into a disk, forming a protostar. 4) When the core reaches about 10 million °C, hydrogen fuses into helium. 5) The energy from fusion balances gravity, and a stable star is born.

Where do stars come from?

Stars come from giant, cold clouds of gas (mostly hydrogen) and dust called molecular clouds, or stellar nurseries. Famous examples are the Orion Nebula and the Pillars of Creation in the Eagle Nebula.

How long does it take for a star to form?

It depends on mass. Very massive stars reach the stable, hydrogen-fusing stage in a few thousand to a million years. A Sun-like star takes millions of years, and the smallest stars take tens of millions of years.

How long does a star live?

A star's mass decides its lifespan. A star 40 times the Sun's mass lasts about a million years, the Sun about 10 billion years, and small red dwarfs hundreds of billions of years or more, longer than the universe has existed so far.

Will stars ever stop forming?

Not for a very long time. Stars are forming right now in our galaxy, for example in Orion and the Eagle Nebula. Star formation only uses a small part of a cloud's gas, and exploding stars return material to space for future stars, but the supply of gas will slowly run down over many billions of years.

What is a protostar?

A protostar is a baby star: a hot, glowing ball of gas that is still shrinking and pulling in material. It shines from the heat of its collapse, not from fusion. It becomes a true star when hydrogen fusion starts in its core.

What is a brown dwarf?

A brown dwarf is a 'failed star'. It forms like a star but has less than about 1/13 of the Sun's mass (roughly 13 to 80 times Jupiter's mass), so its core never gets hot enough for steady hydrogen fusion.

Did this help it click?

Sources

  1. NASA Science, Stars
  2. NASA Science, Sun: Facts
  3. OpenStax Astronomy 2e, 21.1 Star Formation
  4. NASA Science, Pillars of Creation (Webb NIRCam image)
  5. OpenStax Astronomy 2e, 21.2 The H–R Diagram and the Study of Stellar Evolution
  6. OpenStax Astronomy 2e, 16.1 Sources of Sunshine
  7. NASA Science, The Life and Death of a Planetary System, ch. 1
  8. NASA Imagine the Universe, Stars
  9. NASA Science, Types of Stars
  10. OpenStax Astronomy 2e, 22.1 Evolution from the Main Sequence to Red Giants
  11. OpenStax Astronomy 2e, 17.2 Colors of Stars
  12. Center for Astrophysics | Harvard & Smithsonian, How do stars and planets form and evolve?
  13. NASA Science, Hubble: Messier 16 (Eagle Nebula)
  14. NASA Space Place, How Old Is the Sun?
  15. ESA Herschel, The Taurus molecular cloud
  16. NASA Science, What is the Universe?