The discovery of seven Earth-size planets around a nearby star, TRAPPIST-1, is certainly exciting news. But what would it take to visit one of these potentially Earth-like alien worlds?

TRAPPIST-1 is 39 light-years away from Earth, or about 229 trillion miles (369 trillion kilometers). It would take 39 years to get to its current location traveling at the speed of light. But no spacecraft ever built can travel anywhere near that fast.

That said, people have sent some pretty fast vehicles into outer space. With today's technology, how long would it take to get to TRAPPIST-1?

Characteristics of the seven TRAPPIST-1 worlds, compared to the rocky planets in our solar system. (Image credit: NASA/JPL-Caltech)

Given a spacecraft's speed, calculating the amount of time it would take to travel to TRAPPIST-1's present location is simple. Because speed is equal to distance divided by time, the total travel time must equal the distance to TRAPPIST-1 (39 light-years) divided by the spacecraft's speed.

New Horizons

New Horizons, the fastest spacecraft ever launched, flew past Pluto in 2015 and is currently traveling out of the solar system at 14.31 kilometers per second, or about 32,000 mph, according to NASA's New Horizons tracking page. At this rate, it would take the Pluto probe about 817,000 years to travel the 39 light-years.

Juno

NASA's Juno spacecraft actually flew faster than New Horizons during its approach to the gas giant Jupiter in 2016. With the help of Jupiter's gravity, Juno hit a top speed of about 165,000 mph (265,000 km/h) relative to Earth, making it the fastest human-made object ever (though New Horizons' initial speed was faster than Juno's speed after launch).

Even if Juno were constantly traveling that fast — not just getting a speed boost en route — it would take the spacecraft 159,000 years to reach TRAPPIST-1's current location.

Voyager 1

Voyager 1, Earth's most distant spacecraft, left the solar system and entered interstellar space in 2012. According to NASA, it is currently speeding away at 38,200 mph. For Voyager 1 to travel 39 light-years, it would take the spacecraft 685,000 years.

But Voyager 1 isn't going there anytime soon, or ever. Instead, the spacecraft is heading for a different star, AC +79 3888: It will fly within 1.6 light-years of this star in about 40,000 years (NASA's calculation takes into account that the star is moving, also).

Space Shuttle

NASA's space shuttle traveled around the Earth at a maximum speed of about 17,500 mph (28,160 km/h). A spaceship traveling at this speed would take around 1.5 million years to get to TRAPPIST-1's current location.

So for a human mission to the TRAPPIST-1 solar system, the space shuttle would not be a practical mode of transportation.

Breakthrough Starshot

One ultrafast spacecraft that could reach TRAPPIST-1 in a much shorter time span is an interstellar mission advocated by Stephen Hawking, the Breakthrough Starshot initiative.

Hawking's tiny, laser-propelled probes could theoretically fly as fast as 20 percent of the speed of light, or 134 million mph (216 million km/h). That's about 4,000 times faster than NASA's record-breaking New Horizons spacecraft! A spacecraft that fast could travel 39 light-years in less than 200 years. But that concept has yet to leave the ground.

An artist's impression of the view from a planet in the TRAPPIST-1 system. (Image credit: ESO/M. Kornmesser/ spaceengine.org

With today's technology, there's no way that anyone alive right now could make it to TRAPPIST-1 in a lifetime. While discussing the new discovery at a news conference today (Feb. 22), NASA officials suggested that it would likely take at least 800,000 years to reach the TRAPPIST-1 system.

So don't start making any interstellar vacation plans anytime soon.

Correction: A previous version of this article stated that Stephen hawking dreamed up the Breakthrough Starshot initiative. Hawking helped to launch it and serves on the board of directors, but the concept was first conceived by Russian entrepreneur Yuri Milner.

Editor's Note: This article has been updated to clarify NASA's calculation of when Voyager will pass near the star AC +79 3888, which factors in the star's movement. Our calculations describe the time to travel 39 light-years, to TRAPPIST-1's current location.

Email Hanneke Weitering at hweitering@space.com or follow her @hannekescience. Follow us @Spacedotcom, Facebook and Google+. Original article on Space.com.