Networking

How to Measure and Fix Packet Loss

Measure packet loss with ping, find where it starts by testing hop by hop, and read the numbers correctly. Real ping runs and a results calculator.

Packet loss is the share of packets that never arrive. Measure it with a long ping (at least 50–100 packets) to your router first, then to a public server. Loss to the router points to your own Wi-Fi, cable or device; loss only to the public server points to your provider or beyond. Fix local causes first: use a cable, move closer to the access point, restart or update the router, and replace damaged cables.

Measure it

Use ping with a count. Windows sends 4 packets by default, too few to see occasional loss.

macOS / Linux:  ping -c 100 1.1.1.1
Windows:        ping -n 100 1.1.1.1

Here is a real 20-packet run from the drafting machine to Cloudflare’s resolver, and one to Google’s:

--- 1.1.1.1 ping statistics ---
20 packets transmitted, 20 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 6.004/11.791/27.551/7.322 ms

--- 8.8.8.8 ping statistics ---
20 packets transmitted, 20 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 39.633/51.322/116.524/22.013 ms

No loss, but notice the spread: the slowest reply to 8.8.8.8 took almost three times the average. Variation like that is jitter, and it matters as much as loss for calls and games. For comparison, pinging a documentation address that no host answers gives total loss:

--- 192.0.2.1 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

Paste your own reply times into the calculator. The default values are the individual replies from our 1.1.1.1 run; write “timeout” for any request that got no reply.

Try itEnter reply times in ms to get loss, min/avg/max and jitter.

Stable: low latency, low jitter, no loss.

Sent / received
20 / 20
Packet loss
0.0%
Min / avg / max
6.0 / 11.8 / 27.6 ms
Jitter (mean change between consecutive replies)
7.4 ms

Thresholds used for the verdict: loss over 2%, jitter over 30 ms or average over 100 ms is flagged as poor. They are rules of thumb, not a standard.

Find where the loss starts

Test in widening circles, each for 100 packets:

  1. Your default gateway (the router). Find it with ipconfig (Windows) or route -n get default (macOS). Loss here is local.
  2. Your provider’s first hop. traceroute (macOS/Linux) or tracert (Windows) lists the hops; ping the first one outside your home.
  3. A public server, such as 1.1.1.1 or 8.8.8.8.

mtr (Linux, macOS via Homebrew) or pathping (Windows) automate this by pinging every hop repeatedly. When reading them, only loss that continues to the final hop is real. Routers often deprioritize replies to ping, so an intermediate hop can show 30% loss while the destination shows none; that is the router being busy, not packets being dropped.

Common causes and fixes

Where loss appearsLikely causeWhat to do
Router, on Wi-Fi onlyweak signal, interference, congestion on the channeltest on a cable; move closer; switch to 5 GHz or a less crowded channel
Router, on a cable toodamaged cable or port, overloaded routerswap the cable and port; restart or update the router
Provider’s first hop onwardline fault, congested link, modem signal issuecollect ping/mtr results over time and contact the provider
Only during uploads or large downloadsbufferbloat: queues fill and drop packetsenable smart queue management (SQM/QoS) on the router
One server or game onlythat service’s networknothing local; try another server region

How much loss matters

On TCP, lost segments are retransmitted, so a download still completes, just more slowly. Real-time traffic over UDP cannot wait for retransmission: even 1–2% loss is audible in a call or visible as stutter in a game. The TCP vs. UDP test shows why, and the guide to ping, jitter and loss in gaming covers the thresholds players notice.

Sources

  1. RFC 792: Internet Control Message Protocol — IETF. echo request/reply used by ping
  2. RFC 1122: Requirements for Internet Hosts — IETF
  3. RFC 5737: IPv4 Address Blocks Reserved for Documentation — IETF

How we made this

Measured. We ran ping -c 20 -i 0.5 against 1.1.1.1 and 8.8.8.8 and against an unreachable documentation address (192.0.2.1) from the Mac used to draft this article, on 16 November 2026. Summaries are quoted verbatim. Per-hop traceroute output is not published because it reveals the drafting network's provider and location.

Performed by Claude, an AI assistant working in the BinConvert repository (macOS on Apple Silicon, built-in ping), November 16, 2026.

This article was drafted with AI assistance. Every example, calculation and command output on this page was re-run or checked before release; the calculator's output for the measured series matches ping's own summary. Review: automated test suite and source check, November 16, 2026.

Spotted an error? Tell us and we will correct it.

Copied to clipboard!