What ping is and why it matters
Ping is a measurement of how long it takes data to travel from your device to another computer on the internet and back. It is measured in milliseconds (ms). A lower ping means your connection is faster and more responsive — important for video calls, online gaming, and real-time work. A higher ping means there is more delay between your action and the result you see on screen.
Ping is different from download speed. You can have fast download speeds but high ping, which means files transfer quickly but your commands feel sluggish. For most everyday tasks like browsing and email, ping under 100ms is fine. For gaming or video conferencing, you want ping under 50ms if possible.
Key Takeaways
- Ping measures the round-trip time for data to reach another computer and return, shown in milliseconds, and you can check it using the ping command on Windows, Mac, or Linux.
- On Windows, open Command Prompt and type ping google.com; on Mac or Linux, open Terminal and type the same command to see your results in seconds.
- Ping results show four measurements: the minimum time, maximum time, average time, and packet loss percentage, which tells you if any data packets failed to return.
- High ping (over 100ms) usually means your router is far from you, your internet connection is congested, or your service provider has network issues.
- You can also use online ping tools in your web browser if you do not want to use the command line, though the command-line method is more reliable.
How to check ping on Windows
Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. A black window will appear with a text cursor. Type ping google.com and press Enter. The command will send four data packets to Google's servers and show you how long each one took to return.
You will see four lines of results, each showing the time in milliseconds. Below those, you will see a summary line that shows the minimum, maximum, and average times, plus packet loss. If packet loss shows 0%, all your data made it there and back. If it shows 25% or higher, some packets did not return, which means your connection is unstable.
You can ping any website or server. Try ping 8.8.8.8 to ping Google's public DNS server, or ping cloudflare.com to test a different destination. Different servers may have different ping times depending on where they are located and how busy the internet route to them is.
How to check ping on Mac and Linux
Open Terminal. On Mac, press Command + Space, type terminal, and press Enter. On Linux, right-click the desktop or use your application menu to open Terminal. Type ping google.com and press Enter, just as you would on Windows.
The output looks slightly different from Windows — you will see one line per packet as it returns, rather than all four at once. After about 10 seconds, press Control + C to stop the ping. A summary will appear showing the minimum, average, and maximum times, plus packet loss.
Understanding your ping results
The four numbers you see represent four separate data packets. If one shows 45ms, that means the round trip took 45 milliseconds. The average of all four is usually the most useful number to watch. Packet loss is shown as a percentage — 0% is ideal, 1% to 5% is acceptable for most uses, and anything above 5% suggests a problem.
Ping can vary from moment to moment depending on how busy the internet is. If you run the same ping command twice, you may see slightly different results. This is normal. If you want a more stable picture, run the ping command several times and look at the average of the averages.
If you are pinging a server far away (like one in another country), expect higher ping times simply because the data has to travel farther. Pinging a server close to you should give you a better sense of your actual connection quality.
Why your ping might be high
High ping usually comes from one of three sources: distance, congestion, or hardware problems. If you are far from the server you are pinging, the data has to travel a long way, which adds delay. If many devices on your network are using bandwidth at the same time, your packets may have to wait in line, raising your ping. If your router is old, placed far from your device, or has weak signal, ping will be higher.
To narrow down the cause, ping your router itself. On Windows or Mac, open Command Prompt or Terminal and type ping 192.168.1.1 (or 192.168.0.1 on some networks). If this ping is high, the problem is between you and your router. If it is low but pinging distant servers is high, the problem is likely your internet service provider or the distance to the server.
Wireless connections almost always have higher ping than wired connections. If you are on Wi-Fi and seeing high ping, try connecting an ethernet cable directly to your router to see if ping improves. If it does, moving closer to the router or switching to a less crowded Wi-Fi channel may help.
Using online ping tools instead of the command line
If you do not want to use Command Prompt or Terminal, several websites offer ping tools in your browser. Search for "online ping tool" and you will find options like Pingdom, MXToolbox, or similar services. Type the website or server address you want to ping, click a button, and the tool will show you the results in a few seconds.
Online tools are convenient but less reliable than the command-line method because they ping from their own servers, not from your device. This means the results show the ping from their location to the target, not from your location. For checking your own connection, the command line is more accurate.
Frequently Asked Questions
What is a good ping number?
Under 50ms is excellent for gaming and video calls. Under 100ms is fine for most internet use. Above 150ms, you will likely notice lag in real-time activities. Anything above 300ms is very slow and suggests a serious connection problem.
Why do my ping results change every time I run the command?
Ping varies because network traffic changes constantly. Other devices on your network, background updates, and internet congestion all affect how fast your packets travel. Running the command several times and looking at the average gives you a better picture than a single result.
Does high ping mean I have a bad internet plan?
Not necessarily. High ping can come from your router placement, Wi-Fi signal strength, network congestion, or distance to the server you are pinging. Check your ping to your router first — if that is low but pinging distant servers is high, your plan speed is probably fine.
Can I reduce my ping?
Yes. Move closer to your router, switch to a wired connection, close other applications using the internet, restart your router, or contact your internet provider if ping to your router itself is high. Some games let you choose which server to connect to — picking one closer to you will lower your ping.
What does packet loss mean?
Packet loss is the percentage of data packets that did not return. Some packet loss is normal (under 1%), but anything above 5% means your connection is unstable and you may experience dropped calls, lag, or interrupted downloads. High packet loss usually means interference, a weak signal, or a problem with your router.