Skip to content

What is ping? How it works, what the numbers mean, and how to lower it

By the DataImpulse team · 25 Nov 2026 · 5 min read

Ping is the round-trip time between you and another machine. This guide shows how to run the command, read every part of its output, and find what is causing a high number.

Ping is a measurement of delay. It is the time a small message takes to travel from your device to another machine and back, counted in milliseconds. It is also the name of the command that takes the measurement.

This guide shows how to run it, what each part of the output means, what counts as a good result, and how to track down a bad one.

How ping works

The ping command sends an echo request and waits for an echo reply. Both are messages of the Internet Control Message Protocol, defined in RFC 792. The receiving machine is expected to send back exactly what it was given, and your computer times the round trip.

Because the message goes there and back, ping is a round-trip figure. A ping of 40 ms means roughly 20 ms in each direction.

Run a ping test

On macOS and Linux, send four requests and stop.

ping -c 4 one.one.one.one

On Windows the count option has a different letter.

ping -n 4 one.one.one.one

We ran the first command on a Linux server while writing this. It printed four reply lines and a summary reporting 4 packets transmitted, 4 received and 0% packet loss.

Read the output

Each reply line shows several values.

  • The size of the reply, usually 64 bytes.
  • icmp_seq, the sequence number. A missing number is a lost packet.
  • ttl, the number of router hops the reply could still have travelled. It hints at distance and at the kind of system that answered.
  • time, the round trip for that one request, in milliseconds.

The summary gives the packets sent and received, the percentage lost, and four timings: minimum, average, maximum and a measure of how much the results varied. The average is the figure people quote as their ping. The variation is called jitter, and it matters as much as the average for calls and games.

What is a good ping

  • Under 20 ms: excellent. Typical for a server in your own city or region.
  • 20 to 50 ms: very good. Fine for competitive games and calls.
  • 50 to 100 ms: good for browsing and video, acceptable for most games.
  • 100 to 150 ms: noticeable in fast games and in conversation.
  • Over 150 ms: delays are obvious, and calls start to feel awkward.

Packet loss matters more than a few milliseconds. Even 1 or 2 percent loss makes a call break up, however low the ping.

What causes high ping

Distance comes first. Signals in fibre travel at about two thirds of the speed of light, which works out near 1 ms of round trip for every 100 km of cable. A server on another continent cannot answer in 10 ms, whatever your connection.

After distance come these.

  • Wi-Fi. Interference and weak signal add delay and jitter. A cable removes both.
  • A busy home network. Uploads, backups and video on the same line push your packets into a queue.
  • The connection type. Cable and fibre are quick, mobile networks add tens of milliseconds, and geostationary satellite adds over half a second.
  • Your provider's routes. Traffic does not take a straight line, and a poor route can double the distance.
  • An overloaded server at the other end.

Find where the delay is

Ping the pieces of the path one at a time.

  1. Ping your router's local address. More than a few milliseconds here points at Wi-Fi or the router.
  2. Ping a nearby public server. A high result with a healthy first step points at your provider.
  3. Ping the server you actually use. If only this one is slow, the problem is distance or the far end.

For the hops in between, use traceroute on macOS and Linux or tracert on Windows. It lists each router on the way with its own timing, so you can see where the delay begins.

How to lower ping

  • Use a network cable for anything sensitive to delay.
  • Choose the server or region closest to you where the application lets you.
  • Stop uploads and backups while you play or talk.
  • Move the router, or use the 5 GHz band, if you must stay on Wi-Fi.
  • Restart the router if delay has crept up over days.
  • Ask your provider about the route if a nearby server is consistently slow.

A VPN or proxy adds a stop to the journey, so it normally raises ping. It can lower it only in the uncommon case where its route to the server is better than your provider's.

When ping fails but the site works

Ping uses its own protocol, and many networks filter or slow those messages to protect themselves. A server may ignore ping completely and still serve web pages perfectly. So a failed ping proves little, and a successful one proves only that the machine is reachable.

For the same reason, ping is not a measure of download speed. A connection can have a low ping and little bandwidth, or the reverse.

Ping and proxies

You cannot ping through an HTTP proxy. A proxy carries web connections, and ping's messages are not that kind of traffic. Pinging the proxy's own address tells you the delay to the proxy and nothing about the path beyond it.

To measure what a proxy really adds, time a full request through it with curl.

curl -s -o /dev/null -w "connect %{time_connect}s, first byte %{time_starttransfer}s, total %{time_total}s\n" -x http://USERNAME:PASSWORD@HOST:PORT https://httpbin.org/get

We ran the same timing without a proxy and it printed all three values. Run it several times and compare with the direct figure. The difference is the cost of the extra hop, and it is smallest when the proxy is near you or near the site. The curl test guide explains the options, how to test a website from another country uses the same timings to compare locations, and types of proxy servers notes which kinds are fastest.

Try it yourself

Create an account, add funds from US$1 and order a proxy in the country you need.

Keep reading