Pingdom Home

US + international: +1-212-796-6890

SE + international: +46-21-480-0920

Business hours 3 am-11:30 am EST (Mon-Fri).

Pingdom Blog

Royal Pingdom

Ramblings from the Pingdom team about the Internet and web tech

RSS Feed

Theoretical vs real-world speed limit of Ping

Ping is the favorite tool of network administrators for testing connectivity and response time over networks, but is there a limit to how fast response times can get?

Of course there is. The answer is c.

Ultimately response time over a network is limited by the speed of light. In a vacuum, light travels with a speed of 299,792 km/s. In air, pretty close to that. It gets slower when traveling through glass (think fiber optics) but this isn’t a Physics paper so we will settle for the theoretical maximum for now. Electricity travels with close to the speed of light as well.

Ping across routers

Theoretical response time limits of Ping

So, if we assume that a “ping” travels with the speed of light, which are the best possible response times we can get?

10 km -> 0,067 milliseconds
100 km -> 0,67 milliseconds
1,000 km -> 6,7 milliseconds
10,000 km -> 67 milliseconds

(Note that Ping shows the time for a roundtrip, i.e. 2 x the distance.)

Pinging between Europe and USA

The distance between New York and Paris is 5,839 km. For light to travel from New York to Paris and then back again would take 40 milliseconds.

Maximum distance between two places on Earth

If you choose the shortest route, the maximum distance between two locations will never be more than halfway around the planet. Halfway around Earth is about 20,000 km.

Considering that Ping goes to a destination and then back again, the packet sent by Ping would travel 40,000 km, the equivalent of a trip around Earth.

That is 133 milliseconds.

Anyone who has tried to ping various servers across the world will know that this is a way better response time than what you can realistically get. So why is ping so slow?

Why Ping is slower in the real world

The examples above take place under ideal conditions that don’t exist in the real world.

  1. The actual distance traveled will be longer, more like zig zag than a straight line.
  2. Repeaters, switches and routers will slow down transfer speeds. The more equipment the signal has to pass through (for example routers), the longer it will take to reach its target.
  3. The actual speed of the signal will never quite match the speed of light. Even with fiber optics (glass) the speed of light is about 30% slower than through vacuum or air, and most of the distance covered will be through fiber.
  4. A beam of light bounces around like a pinball when it travels along the thin (admittedly extremely thin) fiber, and that will of course make the distance traveled even longer.

With all this in mind, you should probably double the “ideal” response times shown above for a more realistic target to aim at. It’s useful to know when there is room to push for better network performance, and when the actual physical limits set in.

Want to test your site every minute?








You will get an email with your login information.

Pingdom Podcast #6

Pingdom’s Podcast is a weekly show about Internet, web, security, and mobile stuff.

In this show, Saleh also gives us an update on the pending approval of his Carbon for Windows Phone Twitter client. We also talked about Nokia’s recent financial results, if Google Chrome can hit more than 50% market share this year, and the recent privacy-blunder by the guys behind the Path mobile app.

Read more

There’s no denying that Google Chrome continues to be the darling of the web browser market. And as we predicted in July last year, Chrome overtook Firefox around November 2011.

So now the question is, when will Google also wrestle down Internet Explorer, and become the undisputed king of the browser world? In December 2011, Chrome 15 became the most popular browser in the world, beating Internet Explorer 8, but if you combine all IE versions, Microsoft still holds the number 1 spot.

Equipped with the latest web browser statistics from StatCounter, we set out to see when Chrome is likely to achieve more than 50% market share.

Read more

Up or not? Keep track of your favorite US sports websites

Want to see how your favorite US sports site is doing, if it has a perfect 100% uptime score or not? If you want to check the latest scores and it isn’t working, could it be a problem with your computer or connection, or the site? We’ve got the solution for you!

For some time now we’ve been monitoring 34 major US sports and news sites related to sports. Our recent articles on the Super Bowl are a result of that monitoring.

Now you can look at how these sites are doing yourself on the public reports page for this list of US sports websites.

Read more

Google Maps turns 7 years old – amazing facts and figures

Who has not used Google Maps? Raise your hand! Since the launch 7 years ago, Google Maps has become the de facto map service that users around the world go to for all their mapping needs.

As we say Happy Birthday to Google Maps, read on to find out some of the critical milestones in its history, and some amazing numbers and statistics.

Read more

In 2010, there were just over 1 million secure Internet websites worldwide. Almost half of those, or 446,992 to be exact, were located in the United States.

But in which country can we find the most secure websites in relation to population? The answer may surprise you.

Read more