What Is Ping? Meaning, Origin & How It Works
In this article
Ping is a network utility that tests whether a device on an IP network is reachable and measures the round-trip time (RTT) for data packets to travel from your computer to that device and back. It is both a command-line tool and a concept used in everyday tech talk to describe network latency. The word itself is standard technical jargon, not slang, and it comes from the sonar "ping" sound used in submarines to detect objects. In a sentence, you might say, "My ping to the game server is 45 ms," or "I pinged the router to check if it's online."
Origin of the Term
The ping utility was created in 1983 by Mike Muuss, a programmer at the U.S. Army Ballistic Research Laboratory. He named it after the sonar pulse used by submarines—the sound wave that bounces off an object and returns to give distance and presence information. The name also became a backronym: Packet Internet Groper. The tool was initially written for Unix and later became standard on Windows, macOS, and Linux. The term "ping" is now used as a verb (to ping a host) and a noun (the ping time). It is considered standard technical vocabulary in networking and gaming, not informal slang, because it appears in official documentation and manuals across all major operating systems.
How Ping Works
Ping uses the Internet Control Message Protocol (ICMP), specifically the Echo Request and Echo Reply messages. Here is the basic process:
- Your computer sends an ICMP Echo Request packet to a target IP address or hostname.
- The target device, if reachable and configured to respond, sends back an ICMP Echo Reply.
- Your computer measures the time between sending the request and receiving the reply—this is the round-trip time.
- The output shows the reply time in milliseconds (ms), the packet loss percentage, and summary statistics.
For example, running ping 8.8.8.8 on Windows or ping 8.8.8.8 on macOS/Linux sends four (Windows) or continuous (Linux/macOS, until you press Ctrl+C) requests. The output will show lines like Reply from 8.8.8.8: bytes=32 time=14ms TTL=117. The time value is the ping time.
What Ping Time Means in Practice
Ping time is a measure of latency, not bandwidth. A low ping (e.g., 10–20 ms) means fast response, which is critical for online gaming, video calls, and any real-time interaction. A high ping (e.g., 150 ms or more) causes noticeable delay. Here is a rough guide:
- 0–20 ms: Excellent for gaming and VoIP.
- 20–50 ms: Good for most online activities.
- 50–100 ms: Playable for casual gaming, but noticeable lag in competitive titles.
- 100–150 ms: Noticeable delay; okay for browsing but poor for real-time apps.
- 150 ms and up: High latency; gaming becomes difficult, and video calls may stutter.
Note that ping time is not the same as download speed. You can have a 500 Mbps connection but a high ping if the route to the server is congested or physically distant.
How to Run a Ping Test
Running a ping test is simple and does not require any special software. The steps differ slightly by operating system, but the core command is the same.
On Windows: Open Command Prompt (press Win+R, type cmd, press Enter), then type ping [address] (e.g., ping google.com). It sends four packets by default.
On macOS and Linux: Open Terminal, then type ping [address]. It runs continuously until you press Ctrl+C. To limit the number of packets, use ping -c 4 [address] on macOS/Linux (the -c flag sets the count).
You can ping an IP address (e.g., 192.168.1.1) or a domain name (e.g., google.com). Pinging a local IP like your router (usually 192.168.1.1 or 192.168.0.1) tests your local network; pinging an external site tests your internet connection and route.
Common Problems and Misconceptions
One common misconception is that ping measures download or upload speed. It does not—it measures response time. Another is that a high ping always means your internet is slow. In reality, high ping can be caused by network congestion, distance to the server, Wi-Fi interference, or even your ISP's routing.
If you see Request timed out (Windows) or 100% packet loss (Linux/macOS), the target did not respond. This could mean the device is offline, the IP is incorrect, or a firewall is blocking ICMP. Many servers intentionally ignore ping requests for security, so a timeout does not always mean the server is down—try a different address like 8.8.8.8 (Google's public DNS) to test your internet connection.
Another issue is that Wi-Fi can add 10–30 ms of latency compared to a wired Ethernet connection. If you are troubleshooting high ping in games, try a wired connection first.
How to Improve Your Ping
If your ping is higher than expected, here are steps to try, in order of simplicity:
- Restart your router and modem. This clears temporary network glitches.
- Use a wired Ethernet connection. Wi-Fi adds latency and can be affected by interference.
- Close bandwidth-heavy apps. Streaming, downloads, and cloud backups can cause lag.
- Connect to a closer server. In games, choose a server geographically near you.
- Update your network drivers. Outdated drivers can cause performance issues.
- Check for background updates. Windows, game launchers, and antivirus can all be updating silently.
- Contact your ISP. If the issue persists, there may be a routing problem or a line fault.
Do not use third-party "ping boosters" or VPNs that claim to reduce ping; they often increase latency. A VPN can sometimes help if your ISP throttles certain traffic, but it usually adds overhead.
Ping vs. Other Network Metrics
Ping is often confused with other terms:
- Latency: The time it takes for a packet to travel from source to destination. Ping measures round-trip latency.
- Jitter: The variation in ping times over time. High jitter causes stuttering even if the average ping is low.
- Packet loss: The percentage of packets that never arrive. Even a small loss (1–2%) can ruin a game.
- Bandwidth: The amount of data transferred per second, measured in Mbps. Not related to ping.
For example, you can have a low ping (20 ms) but high jitter (50 ms variation), which makes online gaming feel laggy. Ping only gives one snapshot; tools like ping -t (Windows) or ping -i 1 (Linux) can show jitter over time.
Frequently Asked Questions
Is ping a slang word?
No. Ping is standard technical terminology used in networking and computing. It appears in official documentation, RFCs, and operating system manuals. It is not informal or slang, though it is also used casually in gaming communities to refer to latency.
What is a good ping for gaming?
For fast-paced online games like shooters, a ping under 50 ms is ideal. Under 20 ms is excellent. Between 50–100 ms is playable but may give you a slight disadvantage. Above 150 ms, you will likely experience noticeable lag.
Can I ping a phone or another device?
Yes, if the device has an IP address and allows ICMP. On a local network, you can ping a phone's IP (found in Wi-Fi settings). However, many phones and IoT devices block ping responses for privacy or battery reasons, so a timeout does not always mean the device is offline.
Does ping affect internet speed?
No. Ping measures latency, not speed. You can have a fast download speed (e.g., 200 Mbps) but a high ping (e.g., 200 ms) if the server is far away or the network is congested. Speed tests measure bandwidth separately from ping.
Why does my ping vary between different websites?
Because the distance and network path to each server differ. Pinging a server in your city will have lower ping than one on another continent. Also, some servers are busier or have weaker infrastructure, which adds delay.