Image caption Astronomers were not sure how many Earth-sized planets might be habitable

Astronomers have estimated how many of the 100 billion stars in our galaxy hosts a potentially habitable planet.

Using data from Nasa's Kepler space telescope, they argue that one in five stars like the Sun hosts an Earth-sized world located in the "habitable zone".

This zone is the region around a star where temperatures allow for water - a key ingredient for life - to stay liquid at the surface.

The researchers have published details in the journal PNAS.

"What this means is, when you look up at the thousands of stars in the night sky, the nearest Sun-like star with an Earth-size planet in its habitable zone is probably only 12 light years away and can be seen with the naked eye," said co-author Erik Petigura, from the University of California, Berkeley.

He added: "That is amazing."

His UC Berkeley colleague Andrew Howard said the discovery showed that planets like our own were relatively common throughout the Milky Way galaxy.

Image caption The habitable zone describes the range of distances where liquid water can exist on the surface of a planet

Last week, astronomers announced the discovery of an Earth-sized, rocky planet orbiting its star at a hundredth of the distance between the Earth and the Sun. Temperatures on this world would reach between 2,000C and 2,800C, with much of the dayside molten, meaning there would be little chance for life here.

But team members cautioned that even finding Earth-sized planets in the habitable - or "Goldilocks" - zones of their stars was no guarantee these worlds would be hospitable to life.

"Some may have thick atmospheres, making it so hot at the surface that DNA-like molecules would not survive," said another author, Geoff Marcy, professor of astronomy at Berkeley.

But Prof Marcy added: "Others may have rocky surfaces that could harbour liquid water suitable for living organisms.

"We don't know what range of planet types and their environments are suitable for life."

Researchers had previously combed through some 42,000 stars and discovered 600 likely planets. Of these, 10 were both Earth-sized and located at a distance that was just right for liquid water to persist on the surface.

However, the team then corrected for planets that might have been missed by software designed to sift through the Kepler data for planet signatures. This process involved introducing fake planets into the data.

Accounting for these missed worlds, as well as the fact that only a small fraction of planets are oriented so that they cross in front of their host star as seen from Earth, the astronomers were able to estimate that 22% of all Sun-like stars in the Milky Way have Earth-sized planets in the habitable zone.

"For Nasa, this number - that every fifth star has a planet somewhat like Earth - is really important, because successor missions to Kepler will try to take an actual picture of a planet, and the size of the telescope they have to build depends on how close the nearest Earth-size planets are," Andrew Howard said.

"An abundance of planets orbiting nearby stars simplifies such follow-up missions."