How to test for packet loss on Windows
Last updated · 6 min read
Packet loss is the part of your game's traffic that never arrives. A few lost packets can mean a shot that doesn't register or a player who jumps across the screen, and a normal speed test won't show it. Windows already has the tools to find it: here is how to run them, how to read what they say, and how to tell whether the loss is in your Wi-Fi, at your provider or at the game's server.
Why the usual ping test misses it
Typed on its own, ping sends four messages and stops. Microsoft's own documentation gives four as the default count. Loss tends to come in short bursts, so four messages usually all come back, and if one doesn't, that's 25% of the test from a single unlucky moment. Neither result tells you much.
The fix is to send more and to send them while the problem is happening. Open a terminal (press Win, type cmd, Enter) and give ping a count:
ping -n 100 1.1.1.1sends a hundred messages, about one a second, so it takes a little under two minutes.ping -t 1.1.1.1keeps going until you stop it. Ctrl + Break prints the figures so far and carries on; Ctrl + C prints them and stops. Leave it running in a window beside the game, then stop it after a bad patch.
At the end, ping prints a summary such as "Sent = 100, Received = 98, Lost = 2 (2% loss)", followed by the shortest, longest and average reply. Each lost message shows up as its own "Request timed out" line, after ping has waited four seconds for it (the default). Look at where in the run those lines fall: a cluster of them together is a burst, which is what usually lines up with a moment of lag in a game.
Three places to ping, in order
One target can only tell you that something between you and it lost the message. Three targets, from near to far, tell you where.
- Your router. Run
ipconfigand note the "Default Gateway", thenping -n 100that address. On a cable this should lose nothing at all. Loss here is inside your home: the Wi-Fi, a cable, a powerline adapter, or the router itself. - An address outside.
ping -n 100 1.1.1.1. If the router test was clean and this one isn't, the loss is on your line or at your provider. Check that nobody in the house is uploading or downloading before you draw that conclusion. - The game's server, if you know it. Some games show the address they're connected to, or write it in their logs; Find your game's server explains how to find it. Many game servers don't answer pings at all, so "timed out" on every single message usually means the server ignores pings, not that every packet was lost.
Run all three during the same bad patch. A test run later, when the game feels fine, measures a healthy connection.
Finding the hop with pathping
Windows also has pathping, which first lists every router on the way, like a traceroute, and then pings each of them in turn. By default it sends 100 messages to each router, a quarter of a second apart, so a full run takes a minute or more. Adding -n skips looking up the routers' names, which makes it start faster:
pathping -n 1.1.1.1
The results have two loss columns. "Source to Here" is the loss from your PC to that router. "This Node/Link" is the loss that started at that router or on the line just before it. The rule for reading them is the one Microsoft's own example shows:
- Loss at one router that doesn't carry on to the routers after it is that router choosing not to answer pings. Busy routers answer pings last, after the traffic they're passing on. It isn't loss your game would feel.
- Loss that starts at one hop and stays all the way to the end is real. The hop where it starts is where to look: your router at hop one, your provider in the next few, someone else's network further on.
The same rule applies to WinMTR and other traceroute tools; How to read a traceroute goes through a full example.
The game's own figures
Ping measures a separate kind of message, and some networks treat pings differently from game traffic. The game's own display measures the traffic that matters, so turn it on and compare.
- Counter-Strike 2: Settings, Game, Telemetry has the network problems line; players' guides describe it as shown always, only when conditions are poor, or never.
- Valorant: Settings, Video, Stats has the performance figures and graphs, and Riot recommends its packet loss graphs. Riot says a good wireless connection or most wired ones should have close to no packet loss at all times.
Lag and ping, game by game lists where to find these displays in the other games we've written about.
Wi-Fi, provider or server
Put the results side by side:
- Loss to the router: your home network, nearly always the Wi-Fi. Test once with a cable; if the loss goes away, that's your answer. Wi-Fi or Ethernet for gaming covers what to do if a cable isn't possible.
- Router clean, loss to
1.1.1.1and beyond: your line or your provider. Note the times it happens and keep the pathping output: a provider takes a report with measurements more seriously. - Everything clean, loss only in one game: the route to that game's servers, or the servers. Ask a friend on another provider whether they see it on the same server at the same time. If they do, the server is the likelier cause.
Where NoSpike fits
NoSpike can help only with the third case, loss on the route between your provider and the game. It measures your own route to the game's server and the routes through its relays in Amsterdam, Copenhagen, Frankfurt, London, Madrid and Sweden, and by default sends the game through a relay only when that route measured better. When your own route is best, it says so and routes nothing.
It can't fix Wi-Fi, a faulty cable or a struggling game server, and many games on its list are still betas while their servers are being mapped. Measuring needs only an account; routing the game is what Pro is for.
Frequently asked questions
How much packet loss is normal?
On a wired connection, none, or very close to it. Riot says the same of Valorant on good wireless and most wired connections. Any loss you can see in a hundred-message test at the time a game lags is worth tracking down.
Why does ping show loss to a server when my game feels fine?
The server, or a router on the way, may be ignoring or slowing down pings while it passes the game's traffic on normally. Trust loss that carries on to the end of a pathping, and the game's own display, over a single hop's figure.
Can a faster internet plan fix packet loss?
Only when the loss comes from your line being full, for example someone else in the house uploading. Loss in the Wi-Fi, at your provider's busy links or on the route to the game stays with a faster plan.