Here’s a question: If you could fly a spacecraft from one end of the galaxy all the way to the other, in a straight line, what are the chances you’d make it through without hitting anything?
That’s the scenario Reddit user bigri23 put forth on the “Ask Science” subreddit. The answer might surprise you: It’s pretty close to 100 percent. In other words, your likelihood of hitting something is zero.
Fellow Redditor astrocubs has the top answer, which explains why the chances of running into something on a flight through the universe are actually very, very small. (This is assuming that “something” is bigger than a pebble, which rules out gas and dust, and only considers something planet-sized or bigger). Here’s how astrocubs got there:
Around the Sun, there are about 0.004 stars per cubic light year. Near the center of the galaxy this will be higher, and at the edges it will be lower. To be conservative and try to hit something, let's just say the galactic average is 1000x what it is near the sun: 4 stars / cubic light year. (NOTE that this is pretty absurd.)
The vast majority of stars are smaller than the Sun, but a tiny percentage are way, way bigger. Calling them all Solar-radius might be a decent estimate. But let's go crazy and say an average star has 100x the Sun's radius. (Again, this is absurd, but we're trying to hit something.)
We can ignore planets, black holes, neutron stars, etc. because their cross-sectional areas are just minor corrections to the stars. E.g. the cross-sectional area of all planets in the solar system would just be adding 3 percent to the Sun.
With all that in mind, and all those assumptions—even the ones that exaggerate our chances of hitting something—in place, astrocubs estimates that our theoretical spaceship would have to fly from one end of the galaxy to the other 15,000 times before ever running into anything.