Guide
How to test your internet speed on a Mac
Test your internet speed with the networkQuality tool built into macOS, read the results, and find out whether Wi-Fi is what slows you down.
Updated 5 min read
The quickest way to test your internet speed on a Mac is already built in. Open Terminal, type networkQuality and press Return. The tool has been part of macOS since Monterey (macOS 12), tests your connection against Apple's servers and, when it finishes, shows your upload and download capacity, how responsive the connection stays under load, and its idle latency. Below is how to read those numbers, which options are worth knowing, and how to find out whether Wi-Fi or your internet connection is what slows you down.
Run the built-in speed test
- Open Terminal from Applications → Utilities, or press Command Space and type "Terminal".
- Pause large downloads, uploads and video streams on your Mac and, if you can, on other devices on the same network.
- Type the command below and press Return.
networkQuality
It doesn't need an administrator password. When the test is done, it prints a summary. It sends and receives real data, so it uses some of your data allowance on a metered connection.
What the results mean
On macOS Sonoma and Sequoia, the summary shows these lines. Older versions word them slightly differently.
- Uplink capacity: your upload speed, in megabits per second (Mbps). It matters for video calls, sending large files and backing up to the cloud.
- Downlink capacity: your download speed, in Mbps. It matters for streaming, downloads and loading web pages.
- Responsiveness: how many round trips the connection completes per minute (RPM) while it is busy with the test, with a rating of Low, Medium or High. Higher is better. This is the number that explains a video call breaking up while someone else is downloading.
- Idle Latency: how long a round trip to the server takes when the connection is quiet, in milliseconds. Lower is better.
Apple calls the speeds "capacity" because the tool fills your connection with several streams at once to find the most it can carry.
Mbps or MB/s?
Internet speeds are quoted in megabits per second, while Finder and browsers show downloads in megabytes per second (MB/s). There are 8 bits in a byte, so a 100 Mbps connection downloads at most about 12.5 MB/s.
Useful options
You can add options after the command. These have been available since networkQuality first shipped:
networkQuality -vprints more detail about the run.networkQuality -stests download and upload one after the other instead of at the same time. It takes longer, but shows each direction on its own, which helps when uploads are what drag your connection down.networkQuality -I en0runs the test over one network interface. To find which interface is Wi-Fi and which is Ethernet, runnetworksetup -listallhardwareports.networkQuality -cprints the result as JSON, for scripts.
Run networkQuality -h to see every option your version of macOS supports.
Is it your Wi-Fi or your internet connection?
A slow result doesn't say where the slowdown is. The simplest way to find out is to test twice:
- Run
networkQualityon Wi-Fi, where you normally work. - Connect your Mac to the router with an Ethernet cable (most MacBooks need a USB-C or Thunderbolt Ethernet adapter), turn Wi-Fi off and run it again.
If the cable is much faster, Wi-Fi is the bottleneck: try moving closer to the router, away from walls and other electronics, restarting the router, or using its 5 GHz or 6 GHz network if it has one. If both results are slow, the problem is the connection or the router itself. A VPN can also lower results, so try once with it turned off.
Check your Wi-Fi signal with Option-click
Hold Option and click the Wi-Fi icon in the menu bar. (If it isn't there, turn on Show in Menu Bar in System Settings → Control Center → Wi-Fi.) The network you're connected to now shows extra details, including:
- RSSI: signal strength in dBm. These numbers are negative, and closer to zero is stronger, so −55 is a stronger signal than −75.
- Noise: background radio interference, also in dBm. The further it is below the RSSI, the cleaner the signal.
- Tx Rate: the link rate, in Mbps, that your Mac and the router have agreed on right now. Real downloads are always slower than this, so if the Tx Rate is already below what you pay for, Wi-Fi is limiting you.
- Channel and PHY Mode: which channel and Wi-Fi standard the connection uses.
Wireless Diagnostics
The same Option-click menu has Open Wireless Diagnostics…. It can watch your connection for problems and save a report, and its Window menu includes tools such as Scan, which lists nearby networks and the channels they use, and Performance, which graphs signal and noise over time. It's most useful for drop-outs that come and go.
Why results differ from speed test websites
It's normal for networkQuality and a speed test website to disagree:
- Different servers. networkQuality measures against Apple's servers. Websites usually pick a server close to you, sometimes inside your provider's own network, which can flatter the result.
- Different methods. networkQuality loads the connection with several streams and measures responsiveness while it's full. Other tests use their own number of connections and test lengths.
- Different moments. Other devices, background updates and the time of day all change the result from one run to the next.
Neither result is wrong. To track a problem, use the same tool, in the same place, at different times. If every test is slow, that is what to show your provider. And if only websites feel slow while the test looks fine, the cause is more likely on your Mac; see how to speed up your Mac or, for one stubborn site, flush the DNS cache or clear the Safari cache.
Run a speed test in one click with Roomy
Roomy's Mac Health screen has a Run Speed Test button on its Network card. It runs the same networkQuality tool against Apple's servers, takes about 15 to 20 seconds, and shows:
- Download and upload speed in Mbps.
- Latency in milliseconds, and responsiveness rated Low, Medium or High.
- When the test ran. The last result is kept, so it's still there after a restart, and Test Again runs a new one.
The same button is in the menu bar panel, which shows the download and upload result. Above the button, the Network card shows how fast data is moving right now, in MB/s, with a graph. That is your actual traffic at this moment, not your connection's capacity. To watch it in the menu bar, turn on Show network speed next to the icon in Settings → Automation; it's off by default. Showing CPU, memory and network in the menu bar explains those numbers.
The speed test, live stats and the rest of Mac Health are free. For the full picture of your Mac's condition, read the Mac health check guide.
Frequently asked questions
Does macOS have a built-in internet speed test?
Yes. Since macOS Monterey (macOS 12), every Mac includes networkQuality, a command-line speed test. Open Terminal, type networkQuality and press Return. It measures upload and download capacity, responsiveness and idle latency against Apple's servers.
Why does networkQuality show a different speed from speedtest websites?
They test against different servers and measure differently. networkQuality uses Apple's servers and loads your connection with several streams at once; a website usually picks a server near you. Neither is wrong. Compare results from the same tool over time.
What is a good responsiveness (RPM) result?
Higher is better. RPM is the number of round trips your connection completes per minute while it is busy, and networkQuality labels the result Low, Medium or High. Low responsiveness is what makes video calls stutter when someone else on your network is uploading or downloading.
Does the speed test use data?
Yes. The networkQuality manual page notes that it connects to the internet and uses data on your plan. Keep that in mind on a phone hotspot or a metered connection.
Is Roomy's speed test free?
Yes. The speed test, the live stats and the rest of Mac Health are in the free version, and so is the menu bar panel.