Skip to content

How to check your ping in Command Prompt (and read the result)

The Net Fix · Updated · 11 min read

The short answer

To check your ping, open Command Prompt (Windows) or Terminal (Mac), type ping 1.1.1.1 and press Enter. The time= value on each reply line is your ping in milliseconds, and the summary shows the lowest, highest and average. Under about 50 ms is comfortable for most games, and lost packets matter more than the average. A game server may not answer ping at all, so test a public address too. The Net Fix game server ping test checks game regions for you.

  • Windows: press the Windows key, type cmd, open Command Prompt, then run ping 1.1.1.1. Mac and Linux: open Terminal and run ping -c 10 1.1.1.1.
  • Ping is the round-trip time in milliseconds (ms) for a small message to reach another computer and come back. Lower is better.
  • Four replies is a quick look. Ten to fifty replies show spikes and lost packets, which are what players actually feel.
  • Add -t on Windows (or leave out -c on Mac and Linux) to keep pinging until you press Ctrl+C.
  • "Request timed out" means no reply, which is a problem only if a trusted address like 1.1.1.1 also times out.
  • A ping that climbs while a download or upload runs points to bufferbloat, a home-router fix, not your provider.

What does ping measure?

The ping command sends a small test message, called an ICMP echo request, to a computer you name, and waits for the matching echo reply. Microsoft's documentation describes it as verifying IP-level connectivity by sending these requests and displaying the replies along with their round-trip times. That round-trip time, in milliseconds, is what people mean by "ping". It is the delay, not the speed: a 1 Gbps line can still have a high ping, and a modest line can have a low one.

A ping measures one path to one destination at one moment. That makes it good for a quick health check and for catching spikes and dropped packets, and poor as a full description of your connection. For the numbers games react to, pair it with a test that also measures ping while the line is busy, such as the speed and lag test.

How do I check ping in Command Prompt on Windows?

  1. Press the Windows key, type cmd and press Enter. Command Prompt opens. PowerShell and Windows Terminal work the same way, because they run the same ping command.
  2. Type ping 1.1.1.1 and press Enter. 1.1.1.1 is Cloudflare's public DNS address, a well-known server that answers ping, which makes it a convenient reference point.
  3. Wait for four replies. Windows sends four requests by default, then prints a summary.
  4. Read the time= value on each line, then the Minimum, Maximum and Average in the summary.
  5. For a longer look, type ping -t 1.1.1.1. It keeps going until you press Ctrl+C. Ctrl+Break prints the statistics so far without stopping.

Here is a real run from a home connection on 21 November 2026, using ping -n 10 1.1.1.1 to send ten requests instead of four:

How do I check ping on a Mac or Linux?

Open Terminal (on a Mac, press Command+Space, type Terminal and press Enter). Type ping -c 10 1.1.1.1 and press Enter. The -c option sets how many requests to send. On macOS and Linux, ping keeps running until you stop it with Ctrl+C when you don't give a count, so -c is the way to get a short test. The BSD manual for ping describes the same behavior: without -c it "will operate until interrupted", and the summary at the end gives the minimum, mean, maximum and standard deviation of the round-trip times.

The lines look a little different from Windows (time=20.1 ms, with decimals), but the idea is the same. The standard deviation is a handy extra: a high value next to a low average means the ping is bouncing around, which is jitter. The jitter guide explains what to do about it.

The same check on each system
SystemWhere to type itShort testKeep going until stopped
Windows 10 and 11Command Prompt, PowerShell or Windows Terminalping 1.1.1.1 (4 requests)ping -t 1.1.1.1, then Ctrl+C
macOSTerminalping -c 10 1.1.1.1ping 1.1.1.1, then Ctrl+C
LinuxAny terminalping -c 10 1.1.1.1ping 1.1.1.1, then Ctrl+C
PhoneNo command line by defaultUse a ping or speed test app, or the speed and lag test in a browserNot applicable

How do I read the ping result?

Each reply line has the same parts. Here is what they mean, using the Windows format.

What each part of a ping line means
PartExampleWhat it tells you
Reply fromReply from 1.1.1.1A computer answered. If you see this, the path works.
bytes=bytes=32Size of the test message's data. Windows sends 32 bytes by default.
time=time=20msRound-trip delay in milliseconds. This is your ping.
TTL=TTL=59Time to live, a hop limit on the message. Useful to engineers, not a speed number.
LostLost = 0 (0% loss)Requests that got no reply. Anything above 0% on a wired link is worth chasing.
Minimum / Maximum / Average20ms / 26ms / 20msRange of the delay. A wide gap between Minimum and Maximum means an unsteady connection.

Do not judge a connection on the average alone. A 20 ms average with one 400 ms reply in the middle will feel like a stutter in a game or a call, and the average hides it. Look at the Maximum and at the lost count. As a rough guide for gaming, a ping under about 50 ms is comfortable in most games and under 20 ms is excellent; the high ping guide gives the bands in more detail.

What does Request timed out mean?

It means ping sent a request and no reply came back within the wait time. On Windows that wait is 4,000 milliseconds (4 seconds) by default, according to Microsoft, and you can change it with -w followed by a number of milliseconds. A timeout is not always a fault, and what it means depends on what else is timing out.

Reading timeouts
What you seeMost likely meaningWhat to do
Every ping to every address times outNo connection at all: Wi-Fi off, cable out, router or modem downCheck the lights, restart the router and modem, then test again
1.1.1.1 replies, a website name does notA DNS problem: the name can't be turned into an addressTry the DNS fix page and a different DNS server
Your router replies, 1.1.1.1 times outThe problem is past your router: modem, provider line or an outageCheck an outage page, restart the modem, then contact the provider with your results
Some requests time out, others replyPacket loss: a weak Wi-Fi signal, a bad cable or a congested lineTest on a cable; see the packet loss guide
Only one particular server times outThat server may block ping on purposeTest another address before blaming your connection

The most useful trick is to ping three things in order: your router (its address is usually printed on the router or shown as the default gateway), then 1.1.1.1, then the thing you actually care about. The first one that fails or turns slow tells you where the problem starts. If pinging the router is already slow on Wi-Fi but fine on a cable, the cause is the wireless link. The Wi-Fi fix page covers that case, and the DNS fix page covers names that will not resolve.

Why can't I ping my game server?

Many game and web servers ignore ping or block it, because ICMP echo can be switched off in a server's firewall. A timeout there says nothing about your internet. Many studios also run game servers behind several machines, so a single address you find may not be the one your match uses. This is a case where Command Prompt can mislead you, and a different kind of test works better.

  • Test a known public address (1.1.1.1 or 8.8.8.8) first, so you know the problem isn't your own line.
  • Use the game's own network display if it has one, such as an in-game ping or network stats overlay.
  • Use the game server ping test to check the regions where game and voice servers run, then pick the lowest-lag region in your game's settings.
  • Look for your game page on The Net Fix, such as Valorant lag, for ports and region advice.

Which ping options are worth knowing?

You can use ping with no options and learn most of what you need. Four options are worth remembering, and they are the ones Microsoft documents.

Useful ping options (Windows; macOS and Linux use -c for count)
OptionWhat it doesExample
-tKeeps sending until you press Ctrl+C (Ctrl+Break shows the statistics so far)ping -t 1.1.1.1
-n countSets how many requests to send; the default is 4ping -n 20 1.1.1.1
-l sizeSets the data size in bytes; the default is 32 and the maximum is 65,500ping -l 1000 1.1.1.1
-w millisecondsSets how long to wait for each reply; the default is 4,000ping -w 1000 1.1.1.1
-4 or -6Forces IPv4 or IPv6 when you ping a nameping -4 example.com

A larger packet takes longer to travel, so a bigger -l value can give a slightly higher time. In the same session as the sample above, ping -n 4 -l 1000 8.8.8.8 returned replies at 39, 41, 42 and 50 ms (average 43 ms). That is a different address and a larger packet, so those numbers show the format only and are not a comparison. Leave the size at its default for ordinary checks.

How do I check whether ping rises when the connection is busy?

This is the check most people skip, and it explains many cases of lag on a plan that tests as fast. Start ping -t 1.1.1.1 in one window and note the steady value. Then start a large download or upload (or a speed test) and watch the time= values. If the ping jumps from 20 ms to several hundred while the line is busy, your router is queueing packets: that is bufferbloat, and it is fixed at home with Smart Queue on the router, not by calling your provider.

  1. Open Command Prompt and run ping -t 1.1.1.1. Note the steady time.
  2. On the same computer or another one, start a large download or run a speed test.
  3. Watch the time= values while it runs. Note the highest.
  4. Stop the download and press Ctrl+C in Command Prompt.
  5. If the busy values were many times the idle ones, run the bufferbloat test and follow the bufferbloat fix.

What can I do if my ping is high?

Work from the cheapest change up. Move the device to a cable first. A wired connection removes Wi-Fi interference from the result, and the Ethernet vs Wi-Fi guide shows how large the difference can be. Pause other downloads and cloud sync, then test again. Next, turn on Smart Queue if your router has it. If the ping is high only to certain servers, the route may be the cause, and a VPN is not a reliable fix; the VPN and ping guide explains why. If every address is slow on a clean cable test, keep dated results and contact your provider.

When does Command Prompt stop being the right tool? When the problem comes and goes. A ping you run for a minute can miss a spike that happens every few minutes. For intermittent trouble, use the spike monitor or leave ping -t running in a window and look back when the lag hits. The lag spikes guide covers timed spikes, and the packet loss guide covers requests that never come back.

Questions

How do I check my ping in Command Prompt?

Press the Windows key, type cmd, open Command Prompt, type ping 1.1.1.1 and press Enter. The time= value on each reply is your ping in milliseconds, and the summary lists the minimum, maximum and average. Add -t to keep pinging until you press Ctrl+C.

What is a good ping result?

Under about 20 ms is excellent and under about 50 ms is comfortable for most online games. Above 100 ms you will usually notice lag. Lost packets matter as much as the average, so look at the Lost line in the summary too.

What does Request timed out mean in ping?

It means no reply arrived before the wait time ran out, which is 4 seconds by default on Windows. If every address times out, the connection is down. If only one server times out, it may simply block ping.

Which address should I ping to test my internet?

Use a public address that answers ping, such as 1.1.1.1 (Cloudflare) or 8.8.8.8 (Google). Ping your router as well. If the router answers quickly but 1.1.1.1 does not, the problem is beyond your home network.

How do I ping continuously in Windows?

Type ping -t followed by the address, for example ping -t 1.1.1.1. Windows keeps sending requests until you press Ctrl+C to quit. Press Ctrl+Break to see the statistics so far without stopping.

How do I check ping on a Mac?

Open Terminal and type ping -c 10 1.1.1.1. The -c option sets the number of requests, and the summary at the end shows minimum, average, maximum and standard deviation. Without -c, ping runs until you press Ctrl+C.

Why is my ping high even though my internet is fast?

Ping measures delay, and speed measures capacity, so the two are separate. Ping often rises when the line is busy, because the router queues packets (bufferbloat). Test it with a download running, and use Smart Queue on the router if it jumps.

Can I ping a game server from Command Prompt?

You can try, but many game servers block ping or answer from a different machine than your match uses. If you get timeouts, that does not mean your internet is bad. Use the in-game network display or a game server ping test instead.