Back to WordPress Glossary

What is a Ping?

Ping is a network utility that sends ICMP echo requests to a network host and measures the round-trip time and packet loss in the replies. That time, reported in milliseconds, is also called your “ping”: lower means less latency. No reply doesn’t prove the host is offline, because firewalls can block ICMP.

More About Pings

When you ping a server, it should send back a reply. The time that reply takes to make the round trip, measured in milliseconds (ms), is the latency between your device and that server.

Higher latency means slower loading times because every round trip a page load needs inherits that delay: the DNS lookup, the TCP handshake, the TLS negotiation, and each file request. A single page can trigger dozens of round trips.

A low ping mainly means the network path between you and the server is short and uncongested. Ping verifies IP-level connectivity only; it can’t tell you whether the site itself builds pages quickly, so use a page-speed test for that.

You can ping any IP address or domain name from the command line; the command is ping on Windows, macOS, and Linux alike. It takes a bare hostname or IP address, not a full URL: ping example.com, not https://example.com/page. One difference between systems: Windows sends 4 requests and stops, while macOS and Linux keep pinging until you press Ctrl+C.

How ping works

Ping sends a small packet called an ICMP echo request to the target and waits for an ICMP echo reply, timing each round trip. Along with those times, it reports the percentage of packets lost and the minimum, average, and maximum round-trip times. Mike Muuss wrote the utility in December 1983 at the U.S. Army’s Ballistic Research Laboratory and named it after sonar: send a pulse, listen for the echo.

Reading a ping test

Run ping -c 5 www.example.com (the -c 5 option sends 5 requests; on Windows, just run ping www.example.com) and each reply prints on its own line:

64 bytes from 93.184.216.34: icmp_seq=0 ttl=56 time=11.632 ms

After the last reply comes a summary:

5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 9.674/10.968/11.726/0.748 ms

Two numbers tell the story: the time= value, that request’s round-trip time, and the packet loss percentage, which should be 0% on a healthy connection. In this test, all 5 packets came back, and round trips ranged from 9.674 ms to 11.726 ms, averaging 10.968 ms. Rising times or lost packets point to a network problem, not necessarily a website problem.

What’s a good ping time?

No single number separates a good ping from a bad one; judge yours against distance, connection type, and what you’re doing. PingPlotter’s guideline is roughly 1 ms of latency for every 60 miles between you and the server, plus a base your connection type adds: about 5 to 40 ms for cable internet and 10 to 70 ms for DSL. By that math, New York to Los Angeles over DSL lands near 110 ms, and that’s normal.

The task matters as much as the number. High latency shows up as laggy online games, stream buffering, and long page loads, and interactive, real-time uses feel a delay long before ordinary browsing does. PingPlotter’s benchmark for a merely passable connection is latency of 200 ms or below, depending on connection type and distance. More useful than any single reading: ping the same destination repeatedly and investigate sustained increases, results that swing widely between replies (jitter), or packet loss, where anything above 5% within 10 minutes signals a likely problem.

What a ping timeout means

A timeout means no reply reached you within the wait window; Windows waits 4 seconds by default. The server may be down or unreachable, but there’s another common cause: some routers and firewalls are set to drop ICMP traffic, so a healthy server can sit behind a firewall that never answers pings at all. Before you assume an outage, open the site in a browser or ping it from a second network, like a phone hotspot. If the site loads, the server is fine and only ping is blocked.

Ping in WordPress

In WordPress publishing, a ping is something else: an automatic notification one blog sends another when it links to one of its posts, better known as a pingback. This page covers the network utility. If you arrived here from a WordPress discussion setting, the pingback entry is the one you want.

Lowering ping for your visitors

Your visitors’ ping to your website is set mostly by physical distance, their connection type, and congestion along the route. A badly overloaded server can add delay, but it’s rarely the main cause. Two fixes are within your control: host in a data center close to your audience, and put a CDN in front of your site so visitors fetch files from a nearby edge server instead of crossing an ocean for every request. For everything else that slows a page down, see our guide to speeding up a WordPress site.

Frequently Asked Questions

Not exactly, though people use the words interchangeably. Ping is the test (and, informally, its result), while latency is the delay it measures: the time data takes to travel to the server and back. A “30 ms ping” means the round-trip latency was 30 milliseconds.
Use ping to learn whether a host answers and how fast. Use traceroute when ping shows delay or loss and you need to see where along the route the problem sits: traceroute times each hop between you and the server.
“Request timed out” means no reply came back within the wait window; the request may or may not have arrived. “Destination host unreachable” means a router, or your own device, couldn’t find a route to the target. The first suggests loss, congestion, or ICMP blocking; the second, a routing problem.
Ping your router first, then several unrelated sites, then repeat from another network. Slowness everywhere points toward your Wi-Fi, router, or ISP; slowness to one host points toward that route, so run traceroute. These comparisons narrow the likely fault; they don’t prove it.
Special Offer

Powerful WordPress Hosting

Reliable, lightning-fast hosting solutions specifically optimized for WordPress. Find the perfect plan for you by clicking below.

WordPress Hosting Plans