If you've recently checked your Internet speed, you may have noticed that besides download and upload speeds, the Ping response time of the connection is also tested. Download and upload speeds may seem straightforward, but what exactly is Ping and what does it show us? How to test Ping on a computer, how is it done?
Guide to network testing using Ping
I. What is Ping?
Ping originates from a term used in sonar technology where sound pulses are emitted and then listened to echoes. In computer networking, Ping (short for Packet Internet Grouper) is a network utility, integrated into most operating systems, helping to check the connection between two devices by measuring the total time for a device to send and receive standard data packets from another device.
When you issue a ping command along with a specific URL or IP address, your computer sends data packets to the device on the network, then waits for a response. Upon receiving a response, the Ping result will let you know how long each data packet took to perform a 'round trip'.
You can check Ping to see if your computer can connect to another device, such as a router on your local network or a device on the Internet. This can help you determine whether the network issue lies on the local network or further away. The time it takes for data packets to return can help you identify slow connections or if you're experiencing packet loss (occurs when one or more data packets sent over a computer network fail to reach their destination).
In the realm of online gaming, ping refers to the delay between a player's computer and another peer or game server. Titles like Free Fire or PUBG Mobile often display this metric on-screen, informing gamers of the current network latency.
What's the ideal Ping response time?
- Under 30ms: Excellent Ping level, perfect for online gaming.
- 30 - 50ms: Average Ping level, still great for online gaming.
- 50 - 100ms: Slightly slow, not noticeable latency when web browsing but affects gaming.
- 100 - 500ms: Slow Ping, minor impact on web browsing, introduces some gaming lag.
- Over 500ms: Actions will be significantly delayed. High latency will impact game outcomes.
II. What is Ping Testing?
In the context of computer networking, Ping refers to the method of transmitting data between 2 computers or devices. Therefore, Ping testing is utilized to record the time required for data packets to reach their destination address and whether any data packets are lost during this process.
Checking ping is not the same as testing network speed. Speed test provides you with results about the transmission speed at the time of testing. Meanwhile, Ping test checks if the connection between 2 devices in the network is established; ping does not determine connection speed. Unlike the results of Internet speed tests, you want your Ping result to be as low as possible.
III. How to test Ping on a computer
1. Testing Ping on Windows
To test Ping on Windows, you don't need to install any third-party software; you just need to use Command Prompt with the following steps:
Step 1: On Windows, press Windows + R to open the Run dialog. Then, type cmd and press Enter. Another way to open Command Prompt is by typing cmd in Windows Search and selecting Command Prompt from the search results.
Step 2: Next, enter the command ping IP address or ping web URL. For example, testing the ping of the Mytour website is done with the command ping Mytour. Then, press Enter.
Step 3: Wait for the Ping test results.
2. Testing Ping on macOS
You can check network Ping on a Mac using the Network Utility application.
Step 1: Search for Network Utility by typing network utility into the Spotlight search box.
Step 2: In the Network Utility window, click on the Ping tab.
Step 3: Enter the IP address or URL of the website into the Enter the network that you want to ping field and click the Ping button.
Step 4: Wait for the Ping test results.
3. How to Interpret Ping Test Results
Ping results will show you the ping time measured in milliseconds (ms) and statistics about the sent, received, and lost data packets, including packet loss as a percentage as well as analysis of minimum, maximum, and average Ping response times.
- If the result returns with a low time (ms), it means your network is fast, and vice versa.
- If the ping test fails, you'll see error alerts similar to one of the following instead of the Ping test result being displayed as shown in the snapshot above:
+ Request timed out
+ Destination host unreachable
+ Transmit failed, error code #
At this point, you may need to troubleshoot your Internet connection issue.
Ping testing is a vital tool to measure latency, providing insights into the stability of the connection between your computer and hosting servers or other devices within the network. This article aims to provide you with essential information about Ping, alongside guiding you through the process of testing Ping on both Windows and Mac systems.