Ping is the round-trip time of a small packet between your computer and a server, measured in milliseconds (ms). The lower the number, the lower the latency and the faster things feel. The main causes are geographic distance, network path and congestion. To reduce it, choose a server closer to your users and a better route.
What exactly are ping and latency?
Ping is the name of a tool that uses the ICMP protocol to send a test packet and receive a reply, but in everyday speech "ping" means that round-trip delay. Latency differs from bandwidth: bandwidth says how much data moves per second, while latency says how long one packet takes to arrive. A connection can have high bandwidth but high latency. We cover bandwidth and traffic separately.
What number is good?
These are rules of thumb and depend on the use:
- Under 50 ms: excellent for online gaming and video calls.
- 50 to 150 ms: fine for browsing, video streaming and most work.
- Over 200 ms: noticeable and annoying in interactive work such as SSH or gaming.
What raises ping?
- Distance: signals travel through fibre at a finite speed, so the farther the server, the higher the delay.
- Network path: your packet crosses several networks (hops), and the route is sometimes longer than a straight line.
- Congestion: busy links, especially at peak hours, queue packets.
- Local connection quality: weak Wi-Fi or a crowded internet provider.
- Server load: a very busy server answers more slowly.
How do I measure a server's ping?
Open a terminal on Windows, macOS or Linux:
ping 203.0.113.10(Replace the sample IP with your server's.) The output shows the average, minimum and maximum. Use traceroute (tracert on Windows) to see the path. Besides the average, watch packet loss; if 1 of 4 packets is lost, the problem is the route or the IP even when the average looks good. One measurement is not enough; test several times at different hours.
What does "clean IP" mean?
"Clean IP" is a common phrase with no single exact definition. In practice it means an IP that answers well from your network and is not suffering drops or blocking from its previous use. Because datacenter IPs are recycled, you may receive one someone else used before. The practical approach is to test ping from several points and from your audience's network.
How do I reduce ping?
- Take the server in the location nearest most of your users.
- Compare several locations with ping and traceroute from your own network.
- For a website, use a CDN so static content arrives from a nearby point.
- Check the local connection; sometimes the Wi-Fi is the problem, not the server.
- If the server's IP has a route problem, get another IP.
For sizing and project type, see also choosing the right VPS.
With CloudSnap
At CloudSnap you pick the location when you buy, and the pricing page lets you filter plans by country. For hourly servers outside Iran the bot has a "Clean, never-repeated IP" option: it pings each new server's IP before delivery from our test servers inside Iran, and treats it as clean when all of them get 4 of 4 replies; otherwise it tries another server. Each try adds a few minutes before the server is ready, the option has its own fee, and it is not offered for Windows and MikroTik. Start from the bot.
Summary
Ping is round-trip delay, and it is set by distance, route and congestion rather than by download speed. To reduce it, choose a nearer location, test the route with ping and traceroute, and measure several times at different hours.
FAQ
What is a good ping for a server?
It depends on the use; for browsing, up to about 150 ms is usually acceptable, and for SSH and gaming the lower the better.
Is ping different from internet speed?
Yes. Ping is latency, while internet speed is bandwidth. Bandwidth decides how quickly a file downloads.
Why does my server's ping fluctuate?
Because of route congestion, Wi-Fi or server load. Measure at several hours.
Does no ping reply mean the server is off?
Not necessarily. Some servers or firewalls block ICMP while the server is on.
How do I check a clean IP?
Test with ping and traceroute several times from your audience's network and watch packet loss.
