Slow Wi-Fi or slow broadband? How to tell
Ping three points in a row, from your router to a public address, and the first bad one is the cause. Commands for macOS and Windows, and what to do next.
3 min read
On this page
Before calling your provider or buying a router, find out which one is slow. The quickest test needs nothing but a cable: connect a computer to the router by cable and try again. If it's fast now, the Wi-Fi is the problem. If it's just as slow, it's the line or what lies behind it.
No cable? Measure each stretch separately.
Three stretches
- 1Your device → routerWi-Fi, or a cable
- 2Router → providerYour broadband line
- 3Provider → the internetTheir network and beyond
Each test includes the stretches before it, so the first one that looks bad is the culprit.
Find your router's address
On macOS:
route -n get default | grep gateway gateway: 192.168.1.1On Windows:
(Get-NetRoute -DestinationPrefix 0.0.0.0/0).NextHopFind your provider's first hop
The first two lines of a traceroute are usually your router and then your provider:
traceroute -n -m 3 1.1.1.1 1 192.168.1.1 3.214 ms 2.871 ms 2.990 ms 2 198.51.100.1 9.402 ms 8.955 ms 9.133 ms 3 198.51.100.65 10.847 ms 10.391 ms 10.502 mstracert -d -h 3 1.1.1.1Addresses and times are examples. If the second line is another private address or one starting with 100.64 to 100.127, it's a second router or your provider's carrier-grade NAT. If it shows * * *, that device doesn't answer, so use the next one that does. Make sure a VPN is off, or you'll see its path instead.
Ping all three
Send 50 packets to each, at a time when it feels slow:
ping -c 50 192.168.1.1ping -c 50 198.51.100.1ping -c 50 1.1.1.1ping -n 50 192.168.1.1ping -n 50 198.51.100.1ping -n 50 1.1.1.1Read the last lines: packet loss, and the gap between minimum and maximum.
- Router bad: Wi-Fi. Everything after it will be bad too.
- Router fine, first hop bad: the line to your provider, or its equipment.
- Both fine, 1.1.1.1 bad: your provider's network or beyond.
- All fine, but downloads are slow: ping measures delay and loss, not speed. Run a speed test, below.
One caution: some providers' devices give ping a low priority, so loss at that hop alone doesn't mean anything if 1.1.1.1 is clean. Reading the hops explains why.
CKIP's global ping can't do this for you. It measures from probes around the world to a target, so it says something about the target and nothing about your line.
Measure the speed
Run the speed test on the Cloudflare page twice: once right next to the router and once where you usually sit.
- Fast near the router, slow elsewhere: coverage.
- Slow in both places, fast by cable: the Wi-Fi itself, or the device.
- Slow by cable too: compare with the speed you pay for. Try again early in the morning: slow only in the evening suggests congestion at your provider.
It uses up to 300 MB of download and 50 MB of upload, so mind your data allowance. Test with other downloads stopped. The test doesn't measure delay under load, so "it lags when someone's downloading" is a different problem.
macOS has a test built in, networkQuality, which also reports how the connection responds under load.
If it's the Wi-Fi
- Move. Distance, walls and metal matter most. Put the router in the open, high up, near where you use it.
- Use 5 or 6 GHz when you're close. They're faster and less crowded, with a shorter range. 2.4 GHz reaches farther and is shared with Bluetooth, microwave ovens and the neighbors.
- Restart the router and update its firmware.
- Test another device in the same spot. If only one is slow, it's that device.
- Use a cable for anything that doesn't move.
- Check the settings against what Apple recommends, which is sensible advice for other devices as well:
Repeaters that receive and send on the same radio roughly halve the speed. A mesh system linked by cable, or a second access point, is better.
If it's the line
- Restart the modem, with the power off for a minute.
- Check the cables and any splitter.
- Look for an outage: your provider's page, or the global network status for a wider one.
- Call with evidence. "By cable, 4% loss to your first hop and none to my router, from 20:00 to 22:00 for three days" leads to a different conversation from "the internet's slow". Keep the output with the times.
If it's neither
When every test is fine and one service is slow, it's the service or the route to it. One site won't open helps you look at that step by step. Also consider a VPN, which adds a detour to everything.