How to check your internet connection and speed
Knowing how to check your internet connection is crucial to ensuring that it works reliably. The methods for checking the speed and status of your internet connection vary by device, and so do the techniques for troubleshooting issues. Here are different approaches you can try.
Table of Contents
Table of Contents
Understanding internet connection basics
The internet connection setup can vary depending on your internet service provider, location, and available service options. While network connections involve many technical factors, the first step in solving any connection problems is identifying your internet connection type.
DSL
A digital subscriber line (DSL) uses pre-existing telephone lines to send and receive data from the internet. It’s similar to dial-up connections, but DSL uses different frequencies for your phone and internet. This type of connection is mainly found in areas with limited infrastructure for more advanced internet options.
Fiber
Fiber internet is widely considered the gold standard of internet connections. It uses fiber-optic cables to transmit data, outperforming other connection types in terms of performance. However, fiber is less accessible because not as many places have the necessary infrastructure to support it.
Cable
Cable internet sends and receives data over the same lines used for cable television. This type of connection provides generally reliable internet speeds for connected devices. However, the signal strength diminishes during peak usage hours.
Satellite
Satellite internet is the best option if you’re looking for broad coverage but generally lower speeds. A satellite dish can be installed nearly anywhere with a clear sky view, making it a preferred option for remote towns. Satellite internet offers coverage in rural or remote areas that lack the infrastructure to support other types of internet connections.
Checking internet connection status on different devices
Most devices today can seamlessly connect to Wi-Fi. However, the method for checking your internet connection’s status will depend on the operating system installed on your device. Here are the steps to check your internet speed across different devices:
Mac
- Open your Apple menu.
- Navigate to “System settings.”
- Open “Network.”
Windows
- Open your start menu.
- Navigate to “Settings.”
- Open “Network & internet.”
Linux
- Tap the Signal icon.
- Navigate to “Network manager.”
- Open “Wi-Fi settings.”
Android
- Open your settings menu.
- Navigate to “Network & internet” or “Connections.”
- Open “Wi-Fi” or “Mobile networks.”
iOS
- Open your settings menu.
- Navigate to “Wi-Fi” to check on any Wi-Fi connections.
- Navigate to “Cellular” to check on any mobile connections.
Using built-in utilities and apps
Depending on your devices, they may have built-in applications or utility tools to display, diagnose, and fix internet connectivity issues. For example, if you’re also using a VPN, you can try out a VPN speed test tool to check your connection speed.
Why you should use a command prompt to check connection stability
Another way to conduct an internet health test is to execute specific commands in your computer’s command prompt. This approach only works on desktop devices. On mobile devices, an equivalent approach is to download apps that allow you to emulate these diagnostic functions.
Using the command prompt to “ping” your network connection lets you evaluate latency rather than speed. This approach is useful if you’re doing tasks that require a stable internet connection or are developing apps that demand network stability.
Using online internet speed tests
If you want an easily accessible tool to check your internet connection and speed (including other details like jitter or IP lookup), websites offering online internet speed tests are a reliable solution. Unlike device-specific diagnostics, these tools work across all operating systems and internet connection types. As long as your device has a web browser, you can easily check your internet connection with these tools.
Troubleshooting common connection issues
If your diagnostics indicate issues with your internet connection (such as its stability, latency, or speed), you can try the quick fixes below to restore your connection.
Restart your device/modem
For most situations, restarting your device or modem should be enough to refresh the connection between your devices and the internet. Be sure to allow sufficient time for the modem to power cycle — disconnect it completely by unplugging it for 5-10 minutes. This process helps get rid of any excess heat and ensures enough time to refresh connections.
Check on wires
It’s easy to overlook whether your modem or router is plugged in. Sometimes, simply unplugging and replugging the wires can refresh your internet connection. Other wires to check can be an Ethernet cable or the wires between your modem and router.
Don’t let your router/modem overheat
Extreme temperatures, especially heat, can affect your devices. Overheating modems and mobile devices often result in reduced performance. Ensuring that your devices aren’t overheating can be an effective troubleshooting strategy for various performance-related problems.
Change the location of your router/modem
If you primarily use Wi-Fi for internet access, ensure your router is placed in an area with a strong Wi-Fi signal. In most cases, positioning the router in a central area of your house or office can improve connectivity for all devices.
Check for network congestion issues
Frequent latency issues may indicate network congestion, a common problem in offices or households that demand high data usage. Network congestion typically occurs when a network can’t keep up with the demand for data traffic. To alleviate congestion, consider limiting your usage during peak hours or talk to your internet service provider about an upgrade.
Diagnose the specific service or website
Sometimes, the problem isn’t with your device or internet connection. Websites can be down for maintenance, and servers may be overloaded. If you’ve checked your internet connection and found nothing wrong, the problem likely isn’t on your end. Try another website or check another service to determine if the outage is specific to that provider.
Contact your internet service provider
If the above solutions fail or you still encounter frequent internet connectivity issues, the best action is to contact your internet service provider. The problem may be with your router, modem, or the physical infrastructure supplying internet service to your home. Filing a support ticket as early as possible is also key to preventing long-term connectivity issues.
Monitoring and improving internet connection quality
If you’re worried about your speed and bandwidth slowing down or throttling over time, you can conduct regular speed tests. To improve the quality of your internet connection in the long term, you can talk to your internet service provider and upgrade your data plan. After assessing how much internet speed you need, you can choose the internet plan that best meets your needs.
Advanced technique: How to check internet connection using Python scripting
Python developers may need to test their network or internet connection to incorporate speed testing into applications or scripts made with Python. A straightforward testing method involves using the speedtest-cli library in Python.
This library can help you write a script that displays both upload and download speeds by calling its .download and .upload methods. If errors are caught when the script runs, they’ll be displayed as exceptions in the results.
While this method can reliably show your overall network speed and internet connection status, using your device’s built-in resources or any of the other methods described above to check your internet speed will typically yield faster results.