Skip to content
SpeedTestGO

How to Ping an IP Address and Read the Result

Shawn Stolting

2 min read

Published Updated

Short answer

Ping sends a test message and times the reply. Use ping on Windows or ping -c 4 on Mac and Linux, test your router, then a public server, then a website name to find the fault.

Use of Ping an IP
In this article (5 sections)
  1. How to ping
  2. How to read the result
  3. What to ping to find a problem
  4. Is it OK to ping Google DNS? Is it legal?
  5. FAQs

Pinging an IP address sends a small test message to a device and measures how long the reply takes. It tells you whether the device is reachable and how long the round trip takes, in milliseconds. It is the quickest way to test a connection, and it is safe and legal when used on your own network or on public servers in moderation.

How to ping

SystemCommandNotes
Windowsping 1.1.1.1Sends 4 requests by default. Add -t to keep going until you press Ctrl+C
macOS and Linuxping -c 4 1.1.1.1Without -c it runs until you press Ctrl+C

Open Command Prompt (Windows) or Terminal (Mac and Linux), and replace the address with the device you want to check. You can also use a website name.

How to read the result

You seeIt means
Reply from ... time=18msThe device answered, and the round trip took 18 ms
Request timed outNo reply arrived. The device may be off, the network down, or a firewall is blocking pings
Destination host unreachableYour computer or router cannot find a route to it
Packet loss above 0%Some packets were lost. Steady loss means an unstable link
Times that vary a lotHigh jitter. See what jitter means

What to ping to find a problem

  1. Your router (often 192.168.0.1 or 192.168.1.1). If this fails or is slow, the problem is your local network or Wi-Fi.
  2. A public server such as 1.1.1.1 or 8.8.8.8. If your router works but this fails, the problem is your connection to the internet.
  3. A website name. If the IP works but the name does not, it is a DNS problem. Try the DNS lookup tool.

Ping times depend on distance. Under 30 ms is excellent, and as a rule of thumb over 100 ms is noticeable in games. See what ping means, and test your line in the browser:

Internet Speed Tester

Press Start. After the test you get a network quality score and what your speed is good for.

Download

0.0 Mbps

Upload

0.0 Mbps

Ping

0.0 ms

Jitter

0.0 ms

Your last results

How this test measures

The test runs against the nearest Cloudflare data center, shown above as the server. Results describe the path between you and that server, which can differ from the path to a particular website, game or call server.

Ping is the median round-trip time of 60 small requests, and jitter is the average difference between consecutive ones. Download and upload use files of growing size sent one after another over a single connection, and the result is the 90th percentile of the requests that ran long enough to be reliable. Speeds are in megabits per second (1 Mbps = 1,000,000 bits).

Because it uses one connection, the test can read lower than a multi-connection test on very fast or distant links. Wi-Fi, a VPN, other devices and a busy browser can all lower the result, so use a cable and close other apps for the most accurate number. Nothing from the test is stored on our servers.

Powered by Cloudflare's network. No account needed.

The ping and jitter test does this without a command line.

Yes. Public DNS servers such as 8.8.8.8 and 1.1.1.1 reply to pings and are commonly used for testing. A few pings are harmless. What is not acceptable is flooding a server with pings, which is a denial-of-service attack, or probing other people's networks without permission. This is general information, not legal advice.

FAQs

What does pinging an IP address do?
It sends a small request to the address and waits for a reply, showing whether the device is reachable and how long the round trip takes.
Why does ping say Request timed out?
No reply came back. The device might be off, the connection down, or a firewall might block ping replies. Try pinging something else to narrow it down.
What is a good ping time?
Under 30 ms is excellent, 30 to 60 ms is good, and over 100 ms is noticeable in fast games. Distance affects it.
Is pinging an IP illegal?
Normally no. A few pings to a public server or your own devices are routine. Flooding a target or probing networks without permission can be illegal.
Can I ping a website?
Yes. Use the website name, and the command shows its IP address. Some sites block ping replies, so a timeout does not always mean the site is down.
Read nextCan I Have Two Routers on One Modem?Try itInternet Speed TestDownload, upload, ping and jitter in about half a minute.