sodcalculator

08 Everyday Math

Gaming Lag Test: How to Measure and Fix It

Guide 08-64449 · Updated · Step by step

A gaming lag test measures the delay between your input (click, keypress, or button press) and the corresponding action appearing on screen, typically reported as ping (in milliseconds) or frame time. This article explains how to run such tests, what the numbers mean, and how to reduce lag for a smoother experience.

What Is Gaming Lag?

Gaming lag refers to any delay that makes your game feel unresponsive. It usually falls into one of three categories:

  • Network lag – caused by high ping or packet loss between your device and the game server.
  • Input lag – the time it takes for your monitor and peripherals to register and display your actions.
  • Frame time stutter – when your GPU/CPU cannot maintain a steady frame rate, causing hitches.

Each type affects gameplay differently, and a proper lag test should isolate the source.

How to Test Network Lag (Ping)

Ping is the most common lag metric. It measures the round-trip time for a small data packet to travel from your device to a server and back. Lower is better; under 20 ms is excellent, 20–50 ms is good, 50–100 ms is playable for most games, and above 150 ms is often noticeable.

To test ping:

  1. Open a command prompt (Windows) or terminal (Mac/Linux).
  2. Type ping 8.8.8.8 (or any public IP) and press Enter.
  3. Look at the “time=” values – the average is your ping to that IP.

For a more game-specific test, use the in-game network overlay (often in settings) or a third-party tool like PingPlotter. Note that ping to a public DNS server is not the same as ping to the game server, so test against your actual server region if possible.

How to Test Frame Time and Stutter

Frame time is the time between two consecutive frames rendered by your GPU. It is measured in milliseconds (ms). A stable frame time of 16.7 ms corresponds to 60 FPS; 8.3 ms to 120 FPS. If frame times spike (e.g., 50 ms), you’ll see stutter even if the average FPS looks fine.

To measure frame time:

  • Use built-in tools like MSI Afterburner (with RivaTuner Statistics Server) or NVIDIA’s FrameView.
  • Enable the FPS counter in your game; many show a graph of frame times.
  • Run a benchmark scene and look at the 1% low and 0.1% low values – these indicate how bad the worst stutters are.

For example, a game averaging 100 FPS but with a 1% low of 30 FPS will feel less smooth than a game with a steady 60 FPS.

How to Test Input Lag

Input lag is the delay between pressing a button and seeing the result. It includes the time for your mouse/keyboard to send the signal, the game to process it, the GPU to render the frame, and the monitor to display it. Total input lag is often 30–80 ms on typical setups.

To measure input lag, you need specialized equipment like a high-speed camera and a tool like NVIDIA’s LDAT (Latency Display Analysis Tool). Without that, you can approximate it by:

  • Using a slow-motion video of your screen and a physical button press (e.g., a light on the keyboard).
  • Checking your monitor’s input lag specs (usually 1–10 ms for gaming monitors).
  • Enabling “Game Mode” on your monitor and low-latency options in your GPU driver.

Most gamers cannot measure input lag precisely at home, but you can reduce it by enabling features like NVIDIA Reflex or AMD Anti-Lag in supported games.

Common Causes of Lag and How to Fix Them

Once you’ve identified the type of lag, here are the typical fixes:

Network Lag

  • Use a wired Ethernet connection instead of Wi-Fi.
  • Close background downloads or streaming apps.
  • Choose a server closer to your location.
  • Restart your router/modem.
  • Check for packet loss with ping -t or a tool like WinMTR.

Frame Time Stutter

  • Update your GPU drivers.
  • Lower graphics settings, especially shadows and anti-aliasing.
  • Enable V-Sync or a frame limiter to prevent GPU overwork.
  • Check CPU temperatures; thermal throttling causes stutter.

Input Lag

  • Use a monitor with a high refresh rate (144 Hz or more) and low response time.
  • Enable the monitor’s gaming mode.
  • Use a wired mouse/keyboard or a high-quality wireless one with low latency.
  • Disable V-Sync if it adds delay (though it may cause screen tearing).

How to Choose a Lag Test Method

Your choice depends on what you’re trying to diagnose:

  • If your game feels “floaty” or actions happen late, test network ping and input lag.
  • If the game freezes or hitches, test frame time stability.
  • If you’re comparing ISPs or routers, run a ping test to the same server over several days.
  • If you’re comparing monitors, look up professional reviews with measured input lag.

For a quick overall check, run a ping test and a frame time benchmark simultaneously. If both are fine, the issue may be your display or peripherals.

Misconceptions About Lag Tests

One common myth is that a high FPS number means zero lag. That’s false – a game can run at 200 FPS but have high input lag due to V-Sync or a slow monitor. Another misconception is that ping is the only factor; packet loss and jitter (variation in ping) also cause rubber-banding and delayed actions.

Also, “ping” in online games is often not the actual network round-trip time; it may include server processing time. So a game showing 40 ms ping might feel fine, while another shows 40 ms but feels laggy due to server tick rate.

Frequently Asked Questions

What is a good ping for gaming?

For fast-paced games like shooters, aim for under 50 ms. Under 20 ms is excellent, 20–50 ms is good, and 50–100 ms is playable but may cause slight delays. Above 150 ms is usually unplayable for competitive games.

How do I test ping to a game server?

Use the in-game network debug overlay if available, or find the server IP and run ping [IP] from the command line. Some games list server locations; choose the one with the lowest ping in the server browser.

Can a lag test tell me if my Wi-Fi is the problem?

Yes. Run a ping test over Wi-Fi, then plug in an Ethernet cable and run the same test. If ping drops significantly, Wi-Fi is the culprit. You can also check for packet loss with ping -n 100 and look for “Request timed out” messages.

Why does my FPS show high but the game still stutters?

This is usually due to frame time spikes. The average FPS is high, but individual frames take too long. Use a tool like MSI Afterburner to monitor frame times and look for spikes. Lowering settings or capping FPS can help.

Does V-Sync cause input lag?

Yes, traditional V-Sync adds input lag because it holds frames to match the monitor’s refresh rate. If you’re sensitive to lag, consider using a monitor with adaptive sync (G-Sync/FreeSync) or disable V-Sync and accept screen tearing.

How can I reduce input lag without buying new hardware?

Enable low-latency modes in your GPU driver (like NVIDIA Reflex), turn off V-Sync, use a wired mouse, and set your monitor to its native refresh rate. Also, close background programs that use CPU/GPU.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Everyday Math bed →