Planets exist because gravity, rotation, and the basic physics of dust and gas make them nearly inevitable. Whenever a massive cloud of gas collapses to form a star, leftover material naturally clumps together into orbiting bodies. This isn’t a rare accident. Astronomers have now confirmed over 6,100 planets orbiting other stars in our galaxy alone, and the actual number is likely in the billions. Planet formation appears to be a standard byproduct of star formation.
It Starts With a Collapsing Cloud
About 4.6 billion years ago, a vast cloud of gas and dust began to collapse under its own gravity. As it shrank, any slight rotation the cloud already had sped up dramatically, the same way a figure skater spins faster by pulling in their arms. This is conservation of angular momentum, and it’s the reason the collapsing material didn’t just fall straight into the center to form a star and nothing else.
Instead, the spinning flattened the cloud into a disk. The largest concentration of matter collected at the center and became our Sun. But a significant amount of material remained spread throughout that disk, orbiting the young star. That leftover material is the raw ingredient for planets.
From Dust Grains to Rocky Worlds
Inside the disk, tiny particles of dust and ice began sticking together. At the smallest scales, static electricity on grain surfaces pulled them together, much like how dust clings to a TV screen. These collisions built up pebble-sized clumps, then boulder-sized ones. Once an object reached roughly 10 kilometers across, its own gravity became strong enough to actively pull in nearby material, accelerating its growth.
This snowballing process, called accretion, continued for tens of millions of years. Rocky planets like Earth formed through repeated collisions and mergers of 50 to 100 smaller planetary bodies. The full assembly of the rocky inner planets took around 100 million years. That sounds long, but it’s only about 2% of the solar system’s current age.
Why Gas Giants Formed Where They Did
The solar system has a dividing line called the frost line. Inside it, close to the Sun, temperatures were high enough that only rock and metal could solidify out of the disk. That’s why Mercury, Venus, Earth, and Mars are small, dense, rocky worlds. Outside the frost line, temperatures dropped low enough for water, methane, and ammonia to freeze into solid ice. This gave the outer planets a much larger supply of solid building material to work with.
Jupiter and Saturn likely started as rocky-icy cores that grew to 10 to 20 times Earth’s mass. At that size, their gravity was strong enough to capture enormous envelopes of hydrogen and helium gas directly from the disk. This runaway gas capture happened fast by planetary standards. Jupiter and Saturn finished forming in roughly 10 million years, well before the rocky planets were done assembling. Uranus and Neptune, farther out where material was more spread out, took about 90 million years to reach their final size.
The Violent Sorting Period
Planet formation wasn’t a tidy process. After the main building phase, the solar system was still full of leftover debris: asteroids, comets, and small proto-planetary bodies that never made it into a full planet. Around 4 billion years ago, a shift in the orbits of the giant planets disrupted the asteroid belt and sent waves of rocky debris crashing into the inner solar system. This event, known as the Late Heavy Bombardment, carved the giant basins still visible on the Moon, Mercury, and other rocky surfaces.
Evidence for this period comes from Moon rocks collected during the Apollo missions. Scientists found that impact-melted samples from widely separated lunar landing sites all dated to roughly 4 billion years ago, with very few older impacts represented. The bombardment likely lasted between 20 and 200 million years and played a final role in shaping the planets we see today.
Planets Are the Rule, Not the Exception
For a long time, scientists could only study one planetary system: ours. That made it hard to know whether planets were cosmically common or a fluke. The discovery of exoplanets settled the question. NASA’s Exoplanet Archive now lists over 6,100 confirmed planets around other stars, detected through multiple independent methods. Statistical estimates suggest that most stars in the Milky Way host at least one planet.
Protoplanetary disks have also been directly observed around young stars throughout the galaxy. These disks show gaps and rings that match the patterns predicted by forming planets sweeping up material along their orbits. The physics that built our solar system, gravity pulling matter together, rotation flattening it into a disk, and accretion building bigger objects from smaller ones, operates the same way everywhere. Planets form because the laws of physics, given a cloud of gas and dust, make them almost impossible to avoid.

