Websites and speed
Test internet speed from Terminal with networkQuality
macOS includes networkQuality, a command-line test. It measures capacity and responsiveness, the number of round trips a network completes in one minute under load.
Symptoms
- You want a speed test without a browser or a separate app.
- Calls or games lag when other devices use the network.
- You want to compare Wi-Fi with Ethernet, or one interface with another.
Likely causes
- Capacity is not the full picture. A connection can have high capacity but low responsiveness. Then calls and games lag while the network is busy.
- Responsiveness drops under load. Apple measures responsiveness in round trips per minute (RPM) while the network is busy.
- The test itself uses data. The man page says that the test connects to the internet and uses data on your plan.
How to check
Open Terminal and run the test.
networkQualityOutput Upload and download capacity, and responsiveness in RPM with a rating.
To test upload and download one after the other, add
-s. This also gives a separate responsiveness for each direction.networkQuality -sTo test one interface, give its name with
-I. For example,en0is often the Wi-Fi interface.networkQuality -I en0For JSON output, add
-c.networkQuality -cFor more detail, add
-v.networkQuality -v
How to fix it
If the rating is Low, look for devices or apps that download or back up during the test. Apple says that connections can then be unreliable.
If capacity is good but responsiveness is low, read Bufferbloat: calls lag when the network is busy.
If Wi-Fi is much slower than Ethernet, examine the Wi-Fi link. See Wi-Fi is slow on the Mac but fast on the phone.
On a hotspot or a data plan, do not run many tests. Each test uses data.
With Kilobat
Kilobat's speed test measures speed and latency under load, with verdicts for voice calls, video calls and streaming. It is free.
kilobat speedtestOn a hotspot, limit the data that the test uses.
kilobat speedtest --budget-mb 10In the app, open the Speed tab and start a test. Kilobat skips scheduled speed tests on metered networks.
Questions
What is a good RPM?
Apple rates responsiveness as Low, Medium or High. With High, apps should keep a good connection however many devices share the network.
Does networkQuality need an administrator password?
No. Any user can run it.
Sources
- Apple Support: Test Wi-Fi networks with Apple Network Responsiveness
- networkQuality(8), man page installed with macOS 27.2
Sources checked on 29 October 2026. Man pages are the ones installed with macOS; open one with man <name> in Terminal.