Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Test Internet Connection for Gaming: Ping, Jitter, Packet Loss

· 6 min read · Home Networking

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide walks you through testing your internet connection for the three metrics that matter most for online gaming: ping (latency), jitter (latency variability), and packet loss. You'll learn what each one means, how to run a reliable test on Windows, macOS, or a gaming console, and how to interpret the results to diagnose lag, rubber-banding, or disconnects.

What You'll Need

  • A computer or laptop with an Ethernet port (recommended) or Wi-Fi.
  • The IP address or hostname of a game server you want to test (optional, but helps target the exact server you play on).
  • Access to a command prompt (Windows) or Terminal (macOS/Linux).
  • For console testing: a PC or laptop on the same network, or the console's built-in network test (less detailed).

Step-by-Step

  1. Close bandwidth-heavy applications. Pause downloads, stop streaming, and close other devices' heavy usage. You want a clean test of your connection, not one competing with Netflix.
  2. Prefer a wired connection. If possible, plug your computer directly into your router with an Ethernet cable. Wi-Fi adds variability that can mask or exaggerate issues.
  3. Open the command line tool.
    • Windows: Press Win + R, type cmd, and press Enter.
    • macOS: Press Cmd + Space, type Terminal, and press Enter.
    • Linux: Use your system's terminal emulator (e.g., Ctrl+Alt+T on Ubuntu).
  4. Run a continuous ping test. This sends small data packets to a server and measures the round-trip time. Use a reliable, low-latency target like a major DNS server (e.g., 8.8.8.8 or 1.1.1.1) or your game server's IP. Type:
    ping -t 8.8.8.8
    (Windows) or
    ping -i 1 8.8.8.8
    (macOS/Linux). Let it run for at least 2 minutes (120 pings).
  5. Record the ping responses. Note the time= values. Look for the minimum, maximum, and average. Write down any Request timed out or Destination host unreachable messages—those are lost packets.
  6. Stop the ping test. Press Ctrl + C on Windows/Linux, or Cmd + C on macOS. The summary will show sent, received, lost, and average ping.
  7. Calculate jitter. Jitter is the variation in ping times. If your pings range from 20ms to 60ms, your jitter is roughly 40ms. For a precise value, use a dedicated tool like pingplotter or winmtr (free), or run a jitter test on websites like packetlosstest.com or cloudflare.com/speedtest. These tools send a burst of packets and measure the deviation.
  8. Test packet loss specifically. Ping already shows lost packets, but for a more thorough test, use a tool that sends many packets over a short period. For example, on Windows: ping -n 100 8.8.8.8 sends 100 pings. On macOS/Linux: ping -c 100 8.8.8.8. Any loss above 0% is worth investigating.
  9. Test to your game server. If you know the IP of the game server (often found in the game's network settings or via a tool like nslookup on the hostname), run the same ping test to that IP. This gives you the most relevant numbers for your actual gameplay.
  10. Interpret the results.
    • Ping: Under 50ms is excellent, 50-100ms is good, 100-150ms is playable, above 150ms is noticeable lag.
    • Jitter: Under 10ms is great, 10-20ms is acceptable, above 20ms causes visible stutter and rubber-banding.
    • Packet loss: 0% is ideal. Even 1% can cause teleporting or missed inputs in fast-paced games. Above 2% is a serious problem.

Common Mistakes

  • Testing over Wi-Fi. Wi-Fi is prone to interference and signal drops. Your results will be noisy and may not reflect your ISP's actual line quality.
  • Testing during peak hours. If you test at 8 PM on a Saturday, your ISP's network may be congested. Run the test at different times to get a baseline.
  • Not running enough pings. A single ping or 10 pings is not enough to measure jitter or packet loss reliably. Run at least 100 pings or 2 minutes of continuous pinging.
  • Using a far-away server. Pinging a server on another continent will show high ping, but that's not an issue with your connection. Always test to a server close to you or the actual game server.
  • Ignoring background traffic. Windows updates, cloud backups, or a roommate streaming 4K video will skew your results. Ensure the network is idle.

Tips

  • Test to multiple targets. Ping your router (e.g., 192.168.1.1) to check your local network, then ping a public server to check your ISP. If local ping is fine but public ping is bad, the issue is outside your home.
  • Use a dedicated tool. For a user-friendly interface, try free tools like PingPlotter (Windows/macOS), WinMTR (Windows), or MTR (macOS/Linux). They show a graph of ping over time and pinpoint where packet loss occurs along the route.
  • Test at different times of day. Your connection can vary wildly between morning and evening. Keep a log to spot patterns.
  • Reboot your router before testing. This clears the router's memory and can fix temporary issues. Wait 2 minutes after reboot for it to fully connect.
  • Check your in-game ping readout. Many games show ping in the scoreboard. Compare that to your command-line test to see if the game's server is the bottleneck.

Troubleshooting

If your ping is high (over 100ms) or jitter is above 20ms:

  • Reboot your router and modem. Unplug them for 30 seconds, then plug back in.
  • Move closer to your router or use Ethernet. If you must use Wi-Fi, switch to the 5GHz band if available.
  • Check for other devices hogging bandwidth. Look at your router's admin page for active devices.
  • Run a speed test to see if your download/upload is far below your plan. If so, contact your ISP.

If you have packet loss (any % above 0):

  • Check your Ethernet cable for damage or loose connections. Replace it if necessary.
  • Test with a different cable or port on the router.
  • Update your network drivers (Windows: Device Manager > Network adapters).
  • If packet loss persists on a wired connection, it's likely your ISP's problem. Run a tracert (Windows) or traceroute (macOS/Linux) to the server and look for the IP where loss starts. If it's before your ISP's first hop, it's your equipment; if it's later, it's the ISP's network.

If the ping test times out entirely:

  • Some servers block ICMP (ping) traffic. Try a different target like 1.1.1.1 or your actual game server.
  • Check your firewall—it might be blocking ping. Temporarily disable it for the test (re-enable after).

Frequently Asked Questions

What is a good ping for gaming?

Under 50ms is ideal for fast-paced games. 50-100ms is fine for most casual play. Above 100ms you'll notice delay, and above 150ms it becomes difficult to play competitively.

What is jitter and why does it matter?

Jitter is the variation in ping times. Even if your average ping is low, high jitter causes packets to arrive at uneven intervals, leading to stutter and rubber-banding. Aim for under 10ms jitter.

How much packet loss is acceptable?

Zero percent is the only acceptable amount for gaming. Any loss means your game has to guess where you are, causing teleporting or missed shots. If you see loss above 0%, troubleshoot immediately.

Can I test ping, jitter, and packet loss on a console?

Consoles have basic network tests (usually in Settings > Network) that show ping and download/upload speed, but not jitter or packet loss. For a detailed test, connect a laptop to the same network and run the commands above.

Why is my ping fine in the test but bad in-game?

The game server may be far away or overloaded. Also, in-game ping includes server processing time. Test to the actual game server IP if you can find it, and check if the issue happens on all servers or just one.

Does a VPN help with ping or packet loss?

Sometimes a VPN can route around congested paths and reduce jitter, but it adds overhead and usually increases ping. It's a last resort—try fixing your local network first.