1-min guide

What is ping?

Ping is a command that sends a small “Can you hear me?” message to another computer and measures the round-trip time until the reply comes back.

Reading time: about 1 min

More in the 5-min version →
Your PC The server ① Hear me? (echo request) ② I hear you (echo reply) Round trip ①→② = 15 ms
It measures the time from sending to getting the reply (RTT = round-trip time)

What does it tell you?

When someone says “the network is slow” or “maybe the server is down,” it’s often the first command an infrastructure engineer types.

Try it

# Windows (Command Prompt)
ping itgesen.com
# Mac (Terminal) — “-c 4” means “send only 4 times”
ping -c 4 itgesen.com

In the result, time=15.2 ms is the round-trip time. ttl= is the number of routers it can still pass through; it drops by 1 at each router. If the final packet loss is 0%, every packet you sent came back.

How fast is it?

From → toTypical round trip
Between data centers in Tokyoabout 1 ms
Tokyo ↔ Osakaabout 9 ms
Home line → a server in Japanabout 15 ms
Tokyo ↔ Los Angelesabout 100 ms
Tokyo ↔ Londonabout 170–200 ms

Light in optical fiber travels about 200,000 km per second. Even so, a round trip to a faraway country takes 0.1–0.2 seconds because of the distance and the route. The 0.2–0.3 seconds it takes a person to see a light and press a button is about one round trip to Europe.

No reply doesn’t always mean it’s down

For security, some servers are set not to answer ping. When there’s no reply, check in other ways too, such as whether the web page opens.

Round-trip times are rough figures based on sample measurements and vary with the line, route and time of day. Sources (in Japanese): AWS latency between AZs (Zenn, 2023), Latency between regions (Classmethod, 2022), Measurements from a home line (2026), Tokyo ↔ London and other measurements (Hats Network)

Summary
  • Ping is a command that measures round-trip time
  • Within Japan: a few to a few dozen ms; overseas: 100 ms or more
  • No reply doesn’t necessarily mean it’s down
Go further: 5-min deep divePing in depth: ICMP, TTL and tracerouteLearn to read every part of the result line. What TTL really is, and how to use traceroute to find where it’s slow.Read the 5-min version →