How to Test Network and Internet Latency (Lag) in Microsoft Windows

Download ArticleDownload Article

There is almost nothing more frustrating than waiting on your browser to refresh or a page to load while you are on the internet. This delay is referred to as latency, which is a measure of the time it takes a packet of data to travel from the source (web-server) to the destination (your computer). To test your latency, you can run a speed and ping test at www.dslreports.com.

Checking Latency Lag on PC

To check the lag on your Windows PC, make sure no other users are on your network. Go to www.dslreports.com and run a speed test. Then, run a ping test.

Method 1
Method 1 of 3:

Using Web-based Tools

Download Article
  1. How.com.vn English: Step 1 Select your testing site.
    A variety of websites provide access to internet testing tools, your internet service provider (ISP) likely has some tools on their portal, but two popular testing sites are from Speakeasy[1] and DSLReports[2]. The following steps use the tools available from DSLreports, as they provide a comprehensive set of diagnostic tools.[3]
    • Navigate to www.dslreports.com.
    • Select Tools from the top toolbar menu.
  2. How.com.vn English: Step 2 Get other users off your network.
    If other users are on your home network, the speed test report may be impacted by the shared use of network resources.
    • Speak with the other users of your network. Ask them to get off the network until you have completed testing for connectivity issues.
    • If you are experiencing problems with your connectivity, you may want to connect your computer directly to your internet modem with an ethernet cable to run these tests, instead of via your wireless network, to further isolate the problem.
    Advertisement
  3. How.com.vn English: Step 3 Run a Speed Test.
    Speed test will tell you the download and upload speed you are actually getting between your computer and the test site, which you can compare to the speed you have contracted for with your ISP.[4]
    • Click on the start button. On the right side of the Speed Test box there is a start button, this will start the speed test.
    • Select the connection type. On the test page, select the type of connection you have from the list of Gigabit/Fiber, Cable, DSL, Satellite, WISP, or other.
    • Run the test. The test will run, testing download speed, upload speed and reporting latency.
  4. How.com.vn English: Step 4 Run Ping Test.
    The ping test checks the time it takes a packet of data to travel from your computer, to a remote server and back to your computer. This particular test will test multiple servers simultaneously reporting back to you an overall grade of the performance.[5] Normal latency varies by the type of connection from 5 - 40ms for cable modem, 10 - 70ms for DSL, 100 to 220ms for dial-up and 200 - 600 for cellular[6]. The distance to the remote server also adds to latency, you can estimate an additional 1ms in latency for every 60 miles (100km) the data travels[7].
    • Run Ping Test. From the tools page, select Start, in the Ping Test (Real Time) box. This will advance you to a page indicating that all of the listed servers will be ping-ed twice per second and every thirty (30) seconds a report on your connection from A to F will be provided.
    • Click Start. A radar plot will show along with a chart of the various server locations, their IP address and the real time statistics about the connection latency.
    • View the report. As the test is running, your connection’s grade will appear on the left column, with a new grade every 30 seconds. When the test is complete you will be given the option to test again or share your results.
  5. How.com.vn English: Step 5 Find your IP address.
    While not an actual test the “What is my IP address” tool reports the public IP address where your computer is can be found. This is not the actual IP address of your computer because of the proxy services your router provides. This tool also lists the common IP addresses of the components of your network, which is helpful if you need use the Windows utilities to help find the source of your network or internet latency.
    • Run What is my IP address. Click start within the What is my IP address box. This will advance you to a page that displays your IP address as well as any other addresses relevant to your computer.
    • Record your IP address. If you plan on doing additional diagnostic tests on your network / internet connection write down the IP address displayed, as well as any of the common IP addresses from the list below.
  6. Advertisement
Method 2
Method 2 of 3:

Using Windows Command Prompt

Download Article
  1. How.com.vn English: Step 1 Access the Command Line Prompt.
    You can enter the commands for testing network and internet latency directly at the command line.
    • Click on Start, select Run.
    • Type cmd, and press OK. This will launch the command line window where you can simply type the test commands to execute them. You can also search for cmd.exe in the windows search
  2. How.com.vn English: Step 2 Run Ping Loopback test.
    The Ping loopback test will test your computer’s connection to verify that there are no local hardware problems causing the network or internet latency issue.
    • Type “Ping 127.0.0.1 -n 20”. This IP address is the same for nearly all built in network connections, the “-n 20” extension will send 20 packets of data before terminating the test. If you forget to type “-n 20” you can cancel the test by entering Ctrl+C.
    • View the statistics. The time it took for the packet of data to travel locally should be less than 5ms and there should be zero packet loss.
  3. How.com.vn English: Step 3 Run Ping to a remote server.
    Now that you have verified that your local port is working, you can Ping remote servers to test the latency. Again, normal latency varies by the type of connection from 5 - 40ms for cable modem, 10 - 70ms for DSL, 100 to 220ms for dial-up and 200 - 600 for cellular[8]. The distance to the remote server also adds to latency, you can estimate an additional 1ms in latency for every 60 miles (100km) the data travels[9].
    • Type “Ping” followed by the IP address or site URL you wish to ping and hit enter. You may want to start with the URL of your internet service provider and proceed to other sites you commonly access.
    • View the report. As the test pings the remote address, it will report back the results, the final number after the “time = “ is the time it took, in milliseconds, for the packet to travel to the remote site and back to your computer. Note: the “-n 20” extension works with this command, as does the “Ctrl+C” should you forget to enter it.
  4. How.com.vn English: Step 4 Run Traceroute test.
    The traceroute test will show the path that data travels from your computer to the remote server and any delay in that path. This can be helpful in determining the source of network or internet delays.
    • Type “tracert” followed by the IP address or site URL you wish to route and hit enter.
    • View the results. As the test traces the path it will display each address along the way and the time it took for a data packet to travel and acknowledge receipt for each “hop” along the path. The more “hops” or other devices the data packet needs to route through, the more delay you will experience.
  5. Advertisement
Method 3
Method 3 of 3:

Using Mac Utilities

Download Article
  1. How.com.vn English: Step 1 Access Network Utility.
    The software tools you need to test for network and internet latency can be found within the Network Utility application on your Mac OSX machine.
    • Open Finder and navigate to Applications.
    • Navigate to the Utilities folder.
    • Locate Network Utility and click on the application icon to open the application.
  2. How.com.vn English: Step 2 Select your network connection.
    The network utility will allow you to test connectivity across your ethernet (wired) connection, Airport (wireless) connection, Firewall or Bluetooth connection.
    • On the Info Tab, select your connection from the network interface drop down menu.
    • Verify that you have selected the active connection. If the connection is active you will see information in the hardware address, IP address, and Link Speed fields, additionally the Link Status field will say “Active”. (An inactive connection will only have information in the hardware address field, and the Link Status field will say “Inactive”.)
  3. How.com.vn English: Step 3 Run Ping test.
    The Network Utility Ping test will allow you to enter the address of a site you wish to Ping and the number of times you wish to Ping it.[10] Normal latency varies by the type of connection from 5 - 40ms for cable modem, 10 - 70ms for DSL, 100 to 220ms for dial-up and 200 - 600 for cellular[11]. The distance to the remote server also adds to latency, you can estimate an additional 1ms in latency for every 60 miles (100km) the data travels[12].
    • Select the Ping tab within the Network Utility menu.
    • Enter the IP address or URL of the site you wish to Ping. You may want to start with the URL of your internet service provider and proceed to other sites you commonly access.
    • Enter the number of times to Ping the site (default is 10).
    • Click the Ping Button.
    • View the results. As the test pings the remote address, it will report back the results, the final number after the “time = “ is the time it took, in milliseconds, for the packet to travel to the remote site and back to your computer.
  4. How.com.vn English: Step 4 Run Traceroute test[13]XTrustworthy...
    Run Traceroute test[13]. The traceroute test will show the path that data travels from your computer to the remote server and any delay in that path. This can be helpful in determining the source of network or internet delays.
    • Select the Traceroute tab within the Network Utility menu.
    • Enter the IP address or URL of the site you wish to route.
    • Click the Tracerout Button.
    • View the results. As the test pings traces the path it will display each address along the way and the time it took for a data packet to travel and acknowledge receipt for each “hop” along the path. The more “hops” or other devices the data packet needs to route through, the more delay you will experience.[14]
  5. Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Thanks for submitting a tip for review!

Common Questions: Checking Latency on a PC

What is latency on a computer?

Latency is essentially lag in your network's communication. When you have high latency, you'll see a longer delay in responses.

How do I find latency without ping?

To find latency without ping, you can use the Command Prompt to run a traceroute test. Open Command Prompt, and then type “tracert” followed by the IP address or site URL you want to route. Press Enter.

What should my PC latency be?

If you're performing regular tasks like web browsing, 100ms or less latency is a good goal. If you want optimal performance in gaming, aim for less than 40ms to 20ms.


References

  1. http://www.speakeasy.net
  2. http://www.dslreports.com
  3. Mitch Harris. Consumer Technology Expert. Expert Interview. 16 July 2021.
  4. Mitch Harris. Consumer Technology Expert. Expert Interview. 16 July 2021.
  5. Mitch Harris. Consumer Technology Expert. Expert Interview. 16 July 2021.
  6. https://www.pingman.com/kb/42
  7. https://www.pingman.com/kb/42
  8. https://www.pingman.com/kb/42
  9. https://www.pingman.com/kb/42
  1. Mitch Harris. Consumer Technology Expert. Expert Interview. 16 July 2021.
  2. https://www.pingman.com/kb/42
  3. https://www.pingman.com/kb/42
  4. https://support.microsoft.com/en-us/kb/314868
  5. Mitch Harris. Consumer Technology Expert. Expert Interview. 16 July 2021.

About This Article

How.com.vn English: Mitch Harris
Co-authored by:
Consumer Technology Expert
This article was co-authored by Mitch Harris. Mitch Harris is a Consumer Technology Expert based in the San Francisco Bay Area. Mitch runs his own IT Consulting company called Mitch the Geek, helping individuals and businesses with home office technology, data security, remote support, and cybersecurity compliance. Mitch earned a BS in Psychology, English, and Physics and graduated Cum Laude from Northern Arizona University. This article has been viewed 1,214,150 times.
How helpful is this?
Co-authors: 40
Updated: May 6, 2024
Views: 1,214,150
Thanks to all authors for creating a page that has been read 1,214,150 times.

Is this article up to date?

⚠️ Disclaimer:

Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

Notices:
  • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
  • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
  • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
  • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

Advertisement