RealTimeSpeed
Troubleshooting

How to Run Ping and Traceroute on Windows, Mac and Phone (and Read the Results)

November 29, 2026Syed Wasiq
When your connection lags, the first question is always the same: is the problem in my home, at my ISP, or somewhere out on the internet? Two free tools that come with almost every computer can answer that: ping and traceroute. They look technical, but you only need a few commands and a few rules to read them. This guide gives you the exact commands for Windows, Mac and phones, shows real-looking sample output line by line, and walks through a full diagnosis from start to finish.

What Ping and Traceroute Actually Do

Ping sends a small "are you there?" packet to an address and times how long the reply takes. Run it many times and you learn three things: your typical latency, how much it varies (jitter), and how many packets never come back (packet loss).

Traceroute shows the path. Every packet carries a counter called TTL (time to live) that each router lowers by one. When it hits zero, that router throws the packet away and sends back a short error message. Traceroute uses this on purpose: it sends packets with a TTL of 1, then 2, then 3, and so on. Each router along the way gives itself away in turn, so you get a numbered list of every hop between you and the target, with timings for each.

Step 1: Choose What to Test Against

The target you pick decides what you learn. Use three targets, in this order:

  1. Your own router. This tests only your Wi-Fi or cable inside the home. On Windows, run ipconfig and look for "Default Gateway". On a Mac, open System Settings, then Network, then your connection's Details, then TCP/IP, and read the "Router" field. It is often 192.168.0.1 or 192.168.1.1.
  2. A big public server. Cloudflare's 1.1.1.1 or Google's 8.8.8.8 are close to most people and very reliable. This tests your home plus your ISP.
  3. The thing that is actually slow. A game server address, a work VPN, or a website name. This tests the whole path, including distance.

Step 2: The Commands for Each Device

Windows

Press the Windows key, type cmd, and open Command Prompt. Then use:

  • ping -n 50 1.1.1.1 sends 50 pings (plain ping sends only 4, which is too few to judge).
  • ping -t 1.1.1.1 pings forever until you press Ctrl+C. Good for watching a problem as it happens.
  • tracert -d 1.1.1.1 runs a traceroute. The -d skips name lookups so it finishes faster.
  • pathping -n 1.1.1.1 is a Windows extra. It traces the route, then pings every hop many times and reports loss per hop. It takes several minutes, but the result is the best single report to send an ISP.

Mac (and Linux)

Press Cmd and Space, type Terminal, and open it. Then use:

  • ping -c 50 1.1.1.1 sends 50 pings. Without -c, Mac ping runs until you press Ctrl+C.
  • traceroute -n 1.1.1.1 runs a traceroute without name lookups.
  • traceroute -I -n 1.1.1.1 uses the same type of probe (ICMP) as Windows. Some networks answer one type and ignore the other, so try both if you see many timeouts.
  • If you install the free tool mtr (for example through Homebrew on Mac, or your package manager on Linux), it combines ping and traceroute in one live screen.

iPhone and Android

Phones do not come with a command line. You have two easy options. First, search your app store for a "ping traceroute" network tools app; most offer both tools with a simple form. Second, open our Ping Test or Continuous Speed Test in your phone's browser. They do not show hops, but they show live latency, jitter and drops over time. A useful phone trick: stand next to the router and test, then test in the room where things are slow. The difference is your Wi-Fi.

How to Read Ping Results

Here is a short sample from Windows. The address is real (Cloudflare's DNS), but the timings are an example.

Pinging 1.1.1.1 with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=14ms TTL=57
Reply from 1.1.1.1: bytes=32 time=13ms TTL=57
Request timed out.
Reply from 1.1.1.1: bytes=32 time=41ms TTL=57

Ping statistics for 1.1.1.1:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 13ms, Maximum = 41ms, Average = 22ms
What you seeWhat it meansWhat healthy looks like
time=14msRound-trip time for that one packet.Steady numbers close to each other.
Request timed outThat packet or its reply was lost.None at all over 50 to 100 pings.
Lost = 1 (25% loss)Share of packets that never came back.0%. Even 1% can be felt in games and calls.
Minimum / MaximumThe best and worst trip. A big gap means jitter.Maximum not far above minimum.
stddev (Mac only)How much the times spread out.A few milliseconds or less.
TTL=57The hop counter left on the reply.Safe to ignore for everyday checks.

In the sample, one packet in four was lost and one reply took three times longer than the others. With only four pings you cannot tell if that is a pattern or a blip, which is why you should always send at least 50.

How to Read a Traceroute (Without Being Fooled)

Here is an example Windows traceroute. The addresses after hop 1 are example addresses reserved for documentation, so do not try to look them up.

Tracing route to 1.1.1.1 over a maximum of 30 hops

  1     1 ms     1 ms     1 ms  192.168.1.1
  2     8 ms     7 ms     9 ms  100.64.0.1
  3     9 ms     8 ms    10 ms  198.51.100.17
  4     *        *        *     Request timed out.
  5    48 ms    11 ms    12 ms  203.0.113.5
  6    13 ms    12 ms    13 ms  1.1.1.1

Trace complete.

Each line is one hop, with three timing samples. Six rules cover almost every case:

1. Hop 1 is your router. On a cable it should be about 1 ms every time. On Wi-Fi a few milliseconds is normal. If hop 1 is high or jumps around, the problem is inside your home, usually Wi-Fi.

2. Hops 2 and 3 are your ISP. A big jump here, such as from 1 ms to 40 ms, points at your line or your ISP's local network. (A 100.64 address at hop 2, as here, often means your ISP uses CGNAT. See What Is CGNAT?)

3. Stars in the middle are usually fine. Hop 4 shows * * *, but hops 5 and 6 answer normally. That router simply does not reply to traceroute probes. It is still passing your traffic.

4. A spike that does not carry on is not a problem. Hop 5 shows 48 ms once, but hop 6 is back to 13 ms. Routers treat replies to traceroute as low priority, so a single busy router can look slow while forwarding real traffic at full speed. Only trust a slowdown that continues to every later hop.

5. A jump that carries on to the end is real. If timings go from 15 ms to 90 ms at one hop and stay near 90 ms all the way to the end, that hop added the delay. If the jump lines up with a long distance, like an ocean crossing, it may just be physics. Our ping and distance guide shows what to expect.

6. Loss counts only if it reaches the end. Loss at one middle hop with none at the last hop is the same "low priority" effect as rule 4. Loss that starts at a hop and continues to the target is real loss.

Worked Example: Is It My Wi-Fi or My ISP?

Imagine your video calls freeze a few times an hour. Here is how you would track it down with nothing but ping. The numbers are an example of a common pattern.

  1. Ping the router 100 times from the laptop on Wi-Fi: ping -n 100 192.168.1.1. Result: average 4 ms, maximum 95 ms, 3% loss. A healthy home link should show almost no loss and a small maximum, so this is already suspicious.
  2. Repeat with an Ethernet cable plugged in. Result: average 1 ms, maximum 2 ms, 0% loss. The cable is clean, so the router and the line to it are fine.
  3. Ping 1.1.1.1 100 times on the cable. Result: average 12 ms, maximum 18 ms, 0% loss. The ISP side is healthy too.
  4. Conclusion: the freezes come from Wi-Fi. The fixes are moving closer, changing the channel (see our Wi-Fi channels guide), or using a cable for calls (see WiFi vs Ethernet).

If instead step 2 had been clean but step 3 showed 4% loss, the problem would be beyond your home. In that case, run the same test again in the evening, run pathping or mtr to the target, and keep the Continuous Speed Test open to record when the loss happens.

What to Send Your ISP

Support teams respond much better to clear evidence than to "my internet is bad". Send them:

  • A ping to your router over a cable showing 0% loss (this proves your home is not the cause).
  • A ping of at least 100 packets to 1.1.1.1 or 8.8.8.8 showing the loss or high times.
  • A traceroute, or better a pathping or mtr report, to the same target.
  • The dates and times the problem happens, ideally from a monitor that ran for hours.

Frequently Asked Questions

What does 'Request timed out' mean in ping?

It means that packet, or its reply, did not come back in time. A few in a long ping to a public server point to packet loss. In a traceroute, stars at a middle hop are often harmless because some routers do not answer traceroute probes.

Why does one traceroute hop show high ping but the next is fine?

Routers treat replies to traceroute as low priority. A busy router may answer slowly while still forwarding your real traffic quickly. Only a jump that continues to every later hop shows real added delay.

How many pings should I send?

At least 50, and 100 is better. Four pings, the Windows default, are too few to spot packet loss or jitter. Use ping -n 100 on Windows or ping -c 100 on Mac.

Can I run traceroute on my phone?

Not with built-in tools. iPhone and Android need a free network tools app for traceroute. For live ping, jitter and drops, you can simply open our continuous speed test in your phone's browser.

Related Tools

Keep reading

Is your connection unstable?

Watch your download, upload and ping change in real time instead of guessing from a single result.

Start the live speed test
RING TIME

CHOOSE GAME MODE

Select your challenge mode to launch the ring

SCORE0
BEST0
×2