nolag.gg

How to Check Your Ping: in the Browser, Command Prompt and In Game

Three ways to measure ping, from a browser test to tracing the route, and how to tell from the numbers exactly where the milliseconds are lost.

People usually check their ping in two situations: the game has started lagging, or they want to work out which server to play on. Either way, one number isn't enough. You need to know what you measured to, how many times and under what conditions, or you can spend an evening tweaking your router when the problem is your ISP's route, or the other way round.

Below are three ways to check, from the quickest to the most detailed, with real examples of Windows command output and what to look for in each line.

What ping actually measures

Ping, also called RTT (round-trip time), is the time it takes a small packet to get from your computer to the server and for the reply to come back. Not one way, but there and back. So a ping of 40 ms means your shot reaches the server in about 20 ms, and you find out the result after another 20 ms.

Your PC Server out ≈ 15 ms back ≈ 15 ms processing ≈ 1 ms RTT, or ping ≈ 31 ms request sent reply received 0 ms 10 ms 20 ms 30 ms
Ping is counted from the moment the request is sent until the reply arrives. Half your ping roughly equals the one-way latency, if the routes there and back are the same (which isn't always the case).

What makes up that time: the speed of light in fibre, queues on routers along the way, Wi-Fi transmission time and the time the server takes to reply. You can't get around physics, but queues and unnecessary loops in the route are exactly what cause most problems.

~1 msof ping per 100 km of fibre, there and back
1.5–2×how much longer the real cable path usually is than a straight line on the map
~12 msa sensible minimum from London to Frankfurt, even with a perfect route

Which gives you a useful rule: if you're in London and your ping to Frankfurt is 12–20 ms, that's close to the physical limit. If it's 40–50 ms, there's an extra loop or congestion somewhere along the way, and it's worth tracking down.

Check your ping online in 10 seconds

The quickest way, with nothing to install and no console: the browser ping test. Click “Start test” and the page makes 40 small requests to our FRA-1 node in Frankfurt. That takes about 10 seconds.

The result is four numbers, and each one tells you something different:

MetricWhat it isGood result
PingThe lowest response time out of 40 measurements. Shows how fast your connection can be at its best momentunder 30 ms from the UK and Western Europe
AverageThe average across all measurements. If it's much higher than the minimum, there are queues on the networkno more than 5–10 ms above ping
JitterHow much consecutive measurements differ from each other. That's the “spikes”under 5 ms on cable
LossThe share of requests that got no reply. They show as red lines on the graph0%

Below the numbers is a graph of every measurement. Look at its shape, not just the result. A flat band means the network is fine. A picket fence of peaks is jitter, almost always Wi-Fi or background downloads. Individual red lines are packet loss, covered in detail in our article on packet loss.

Why browser ping is higher than in-game ping. The browser measures latency with HTTPS requests, and processing them takes a couple of extra milliseconds. So your game ping to the same place is usually a few milliseconds lower. That doesn't matter for before-and-after comparisons: the key is to measure the same way each time.

The online test has one limitation, but it's an important one: it shows the path to Frankfurt, not to your game's server. It's a good check of your home network and ISP, but if the game server is in London or Stockholm, the route there can be completely different. For that you need Windows commands and the game's own stats.

The ping command in Command Prompt

Open Command Prompt: Win + R, type cmd, press Enter. The simplest check:

ping 8.8.8.8

Pinging 8.8.8.8 with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 time=14ms TTL=117
Reply from 8.8.8.8: bytes=32 time=13ms TTL=117
Reply from 8.8.8.8: bytes=32 time=15ms TTL=117
Reply from 8.8.8.8: bytes=32 time=14ms TTL=117

Ping statistics for 8.8.8.8:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 13ms, Maximum = 15ms, Average = 14ms

How to read it. time=14ms is the ping for that request. TTL is how many more hops the packet could have made; it doesn't affect ping, so ignore it. What matters is in the final statistics: loss and the gap between minimum and maximum.

Four packets aren't enough: ping -n 100

By default Windows sends 4 requests, which isn't enough to catch spikes. Send a hundred:

ping -n 100 8.8.8.8

...
Reply from 8.8.8.8: bytes=32 time=14ms TTL=117
Reply from 8.8.8.8: bytes=32 time=61ms TTL=117
Request timed out.
Reply from 8.8.8.8: bytes=32 time=15ms TTL=117
...

Ping statistics for 8.8.8.8:
    Packets: Sent = 100, Received = 98, Lost = 2 (2% loss),
Approximate round trip times in milli-seconds:
    Minimum = 13ms, Maximum = 87ms, Average = 19ms

Now the problem is visible. A minimum of 13 ms says the connection itself is fast. But a maximum of 87 ms, an average well above the minimum and 2% loss mean the network has spikes. In game that feels like enemies occasionally “teleporting” and shots not going through. The two “Request timed out.” lines are the lost packets.

A rough rule: if the average is 5 ms or less above the minimum, the network is steady. If it's 10 ms or more above, look for the cause of the spikes, starting with Wi-Fi and downloads. The causes are covered in detail in why your ping spikes.

Non-stop ping: ping -t

The -t switch keeps pinging until you stop it. It's handy for catching the moment of lag: run it in a window next to the game and watch what happens when the game starts stuttering.

ping -t 192.168.1.1

Ctrl + Break shows the statistics and keeps pinging; Ctrl + C shows the statistics and stops the command.

Notice the address: here it's your router, not a server on the internet. This is the most useful check, and the one people do least often. You can find your router's address with ipconfig, on the “Default Gateway” line. If you get a steady 1 ms or less to the router over a cable, and 2–4 ms with no peaks over Wi-Fi, your home network is fine. If you sometimes get 30–100 ms to the router, the problem is in your home, and there's no point looking for it at your ISP. There's a comparison of cable and wireless with numbers in Wi-Fi vs Ethernet.

CommandWhat it doesWhen you need it
ping address4 requestsA quick check that the address responds at all
ping -n 100 address100 requests and final statisticsThe main check for ping, spikes and loss
ping -t addressPings non-stopCatching the moment of lag while you play
ping -l 1200 address1200-byte requests instead of 32Checking whether larger packets get lost
ipconfigShows the router's address (default gateway)Before pinging the router

tracert and pathping: how to use them

Ping answers “how much”; tracert answers “where”. It shows every router on the path to the address and the time to each one. That way you can see which segment of the route the latency appears on.

tracert 8.8.8.8

Tracing route to dns.google [8.8.8.8]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  192.168.1.1
  2     3 ms     4 ms     3 ms  10.84.0.1
  3     *        *        *     Request timed out.
  4     6 ms     5 ms     6 ms  203.0.113.18
  5    29 ms    31 ms    28 ms  203.0.113.65
  6     7 ms     7 ms     8 ms  198.51.100.9
  7    40 ms    41 ms    40 ms  198.51.100.34
  8    41 ms    41 ms    42 ms  198.51.100.77
  9    42 ms    41 ms    42 ms  dns.google [8.8.8.8]

Trace complete.

Each line has the hop number, three time measurements and the address. Three numbers rather than one, because three requests are sent to each hop. To make the trace faster, add the -d switch: it turns off hostname lookups, and tracert -d 8.8.8.8 finishes in a few seconds instead of a minute.

pathping: traceroute with loss statistics

tracert takes only three measurements per hop, so it's easy to mistake a random spike for a problem. pathping first maps the route, then sends 100 requests to each hop and counts the losses. It's slow, about 25 seconds per hop, but it's honest.

pathping -n 8.8.8.8

Computing statistics for 225 seconds...
            Source to Here   This Node/Link
Hop  RTT    Lost/Sent = Pct  Lost/Sent = Pct  Address
  0                                           192.168.1.35
                                0/ 100 =  0%   |
  1    0ms     0/ 100 =  0%     0/ 100 =  0%  192.168.1.1
                                0/ 100 =  0%   |
  2    4ms     0/ 100 =  0%     0/ 100 =  0%  10.84.0.1
                                0/ 100 =  0%   |
  3  ---     100/ 100 =100%     0/ 100 =  0%  10.84.12.6
                                0/ 100 =  0%   |
  4    6ms     0/ 100 =  0%     0/ 100 =  0%  203.0.113.18
                                3/ 100 =  3%   |
  5   40ms     3/ 100 =  3%     0/ 100 =  0%  198.51.100.34
                                0/ 100 =  0%   |
  6   42ms     3/ 100 =  3%     0/ 100 =  0%  8.8.8.8

Trace complete.

Look at the “Source to Here” column: that's the loss from you to the hop. Here 3% appears at the fifth hop and stays to the end, and the link line between the fourth and fifth hops also shows 3%. So packets are being lost at exactly that interconnect. The 100% at the third hop isn't a worry: there's no loss after it, that router just doesn't answer requests.

How to read a traceroute: three rules

Most mistakes in reading tracert come from looking at a single hop rather than at what happens after it. Here's the same traceroute as a diagram.

Hop Address Latency 20 ms 40 ms 1192.168.1.1 <1 ms your router 210.84.0.1 4 ms ISP private address 3* * * no reply, that's normal 4203.0.113.18 6 ms 5203.0.113.65 29 ms slow to reply itself, next hop is back to 7 ms 6198.51.100.9 7 ms 7198.51.100.34 40 ms jump of +33 ms, and slower from here on: this is the problem 8198.51.100.77 41 ms 9server 42 ms
Hop 5 looks suspicious, but hop 6 replies in 7 ms again, so the route through it is fast. The real problem is at hop 7: latency rises and never comes back down, all the way to the server.

1. Private addresses at the start are normal

Addresses like 192.168.x.x, 10.x.x.x, 172.16–31.x.x and 100.64–127.x.x are internal. The first one is your router, the next ones are your ISP's network. If there are two or three of them in a row, your ISP gives you an address through a shared gateway, which usually has almost no effect on ping. The time to these hops should be small: 1–10 ms. If you already have 30 ms or more with spikes at the second or third hop, the problem is on your ISP's line, and they're the ones to call.

2. Asterisks mean nothing if everything after them responds

A line reading * * * Request timed out. means the router didn't answer the traceroute request. Many backbone routers are deliberately set up that way so as not to waste resources. Traffic still passes through them normally. Only one thing is worrying: asterisks that start at some hop and continue right to the end. Then either the destination doesn't answer traceroutes (common with game servers) or the connection really is breaking.

3. What matters is a jump that stays

A router answers traceroutes when it has time to spare: it forwards traffic first and replies to diagnostic requests afterwards. So a single hop with a high time, after which latency drops again, isn't a problem, just a busy router. A real problem looks like this: at some hop the time rises by 15–30 ms and doesn't come back down. Most often that's where the route heads off to another city or country. If your ping from Manchester to Frankfurt jumps by 30 ms at one hop and the hop's name contains another city's code, your packets are taking a detour.

You can't fix a loop like that with computer or router settings: it's on the side of your ISP and its neighbours. What you can do about it is covered in detail in how to lower ping in games.

How to find your ping to a game server

The obvious idea is to find the game server's address and ping it. In practice that often doesn't work: instead of replies you get nothing but “Request timed out.”. The server is fine; it just doesn't answer that kind of request.

There are two reasons. First, many publishers filter ICMP, the diagnostic protocol that ping and tracert use, to make attacks on their servers harder. Second, in some games you don't connect to the game server directly at all, but to the publisher's relay. That's how Valve's network works in CS2 and Dota 2: the address you see in the console may belong to a relay, not the match server itself.

So the most accurate method is the game's built-in stats. They measure latency to the exact server you're playing on, using the same protocol the game uses.

GameWhere to see pingWhat else it shows
CS2Console: cq_netgraph 1, or the scoreboard with TabLoss, connection stability
ValorantSettings → Video → Stats: Network Round Trip TimePacket loss, as text or a graph
Dota 2Settings → Advanced Options → “Display Network Information”Incoming and outgoing packet loss
League of LegendsCtrl + F during a matchFPS next to ping
FortniteSettings → Game UI → Net Debug StatsLoss, incoming and outgoing traffic
Apex LegendsSettings → Gameplay → Performance Display; data centre selection on the start screenPing and loss to every data centre

A note on Apex: the data centre selection window on the start screen is essentially a ready-made ping test to every region. It shows ping and loss, and you can pick the best one right there. More on this game in our article on Apex Legends ping. There are separate breakdowns for other games too: CS2, Valorant, Dota 2, Fortnite.

If the game has no stats

Then there's a workaround. Run tracert to the server's address, even if the server itself doesn't respond. The last hop that still responds is usually in the same data centre or close to it, and the ping to it is almost the same as to the server. You can find the server's address during a match in Windows Resource Monitor: Network tab → Network Activity, the game's process. Look for an address with a constant exchange of small packets.

Checking the route in the other direction

tracert from your computer has a blind spot: it shows the path from you to the server, but the server's replies can come back a completely different way. Internet routes are often asymmetric, and the problem is sometimes on the way back.

Our route check traces from the other end: from our FRA-1 node in Frankfurt to your computer. In 10 seconds it shows three numbers and a list of hops:

  • Ping to FRA-1: the latency between the node and you. From the UK and Western Europe, a reasonable result is 10–30 ms.
  • Variation: how much the measurements wander. The smaller it is, the more stable your connection.
  • Hops on the path: how many routers there are between Frankfurt and you. For a path across Europe, 10–16 is normal.

You read this route by the same rules, just in reverse order: the hops in Germany come first, and your ISP's network is at the end. The last hops often don't respond, because home routers usually stay silent to requests like these. If you use a proxy or other network tunnels, the trace will reach them rather than your computer.

A useful trick: compare both traceroutes. If the outbound one is flat but the return one jumps by 30 ms somewhere in the middle, you've found an asymmetric loop that can't be seen from one side.

What's a good ping: table by genre

Different genres need different reaction speeds, so a “good ping” for a shooter and for a strategy game are different numbers.

GenreExcellentFineNoticeably badAcceptable jitter
Tactical shooters: CS2, Valorant, R6under 30 ms30–60 ms70 ms and upup to 5 ms
Fast-paced shooters: Apex, Overwatch 2, Marvel Rivalsunder 35 ms35–70 ms80 ms and upup to 5–8 ms
Battle royales: Fortnite, PUBGunder 40 ms40–80 ms100 ms and upup to 10 ms
MOBAs: Dota 2, League of Legends, Deadlockunder 40 ms40–80 ms100 ms and upup to 10 ms
Tanks and planes: World of Tanks, War Thunderunder 50 ms50–90 ms120 ms and upup to 15 ms
MMOs and strategyunder 60 ms60–120 ms150 ms and upup to 20 ms

Packet loss should be 0% for any genre. Even 1–2% is noticeable in a shooter: some shots don't register and enemies stutter.

Common mistakes when checking ping

You can run every command correctly and still reach the wrong conclusion. Here are the most common mistakes.

“I checked my ping while an update was downloading”

Any download saturates the connection, and packets queue up. Ping under load can be several times higher than usual. That's useful to know, but you should measure your baseline ping with Steam, torrents and Windows updates closed. Then you can repeat it with a download running to see the difference.

“It was fine once on Wi-Fi, so Wi-Fi isn't the problem”

A wireless network behaves differently at different times: neighbours switch on their routers, someone at home starts watching video. One short test proves nothing. Run ping -n 100 to the router over Wi-Fi and over cable at the same time of day and compare the maximums.

“15 ms to Google but 60 in game, so the game is to blame”

The address 8.8.8.8 answers from the site nearest to you, often in your own city. The game server could be 1,000 km away or more. You need to compare with your ping to the same region the server is in, otherwise the difference is simply down to distance.

“My ping is 35 ms, so everything's great”

One number doesn't show spikes or loss. An average of 35 ms with a maximum of 150 ms and 3% loss plays worse than a steady 50 ms. Look at the minimum, average, maximum and loss together.

A five-minute checking routine

1

Home network

ping -n 100 to the router. More than 5 ms on average or peaks above 20 ms mean the problem is at home: Wi-Fi, an old router, downloads.

2

Your ISP's line

The ping test and ping -n 100 8.8.8.8. Jitter and loss here, with a clean home network, point to your ISP's line.

3

The route to the game

In-game stats, tracert to the server and the route check from the other end. Look for a jump that doesn't go away before the end.

Measure at the times you actually play. Your ISP's network during the day and at nine in the evening are two different networks, and a morning test often looks perfect precisely because everyone's at work. If the numbers change from evening to evening, write them down for a couple of days in a row: data like that makes talking to your ISP's support much easier.

FAQ

How can I check my ping online without installing anything?

Open the ping test in your browser and click “Start test”. In 10 seconds it takes 40 measurements to a node in Frankfurt and shows your ping, average ping, jitter and loss. Bear in mind it measures over HTTPS, so your in-game ping is usually a few milliseconds lower.

How do I check ping in Command Prompt?

Press Win + R, type cmd and run ping -n 100 8.8.8.8 or ping with the address of the server you want. At the end Windows shows the minimum, maximum and average ping and the loss percentage. ping -t pings non-stop; stop it with Ctrl + C.

Why does pinging a game server say “Request timed out”?

Many game servers and relays don't answer ping: the publisher filters ICMP requests. The server itself is working; you just need to check it with the game's built-in stats or a traceroute to the last hop that responds.

How do I see my ping to the server in game?

In CS2, type cq_netgraph 1 in the console; in League of Legends, press Ctrl + F; in Dota 2, turn on network information in the advanced options; in Valorant, turn on network stats in the video settings; in Fortnite, turn on Net Debug Stats; in Apex, turn on Performance Display.

What do asterisks in tracert mean?

Three asterisks and “Request timed out.” mean that hop didn't answer the traceroute request. If the hops after it respond normally, it's not a problem: the router is simply configured not to reply. It's only worrying if the asterisks continue right to the end.

What counts as a good ping?

For competitive shooters, under 30 ms is good; for MOBAs and battle royales, under 40–50 ms; for MMOs and strategy games, under 60–80 ms. But stability matters more than the number: jitter above 10 ms and any packet loss are more noticeable than an extra 15 ms.

Try it free for 7 days

No card. Installs in a minute.

Download for Windows