DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workkloads.

Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • MuleSoft APIkit Router - QueryParam and Header Strict Validation Configuration
  • The Cypress Edge: Next-Level Testing Strategies for React Developers
  • Solid Testing Strategies for Salesforce Releases
  • Why We Still Struggle With Manual Test Execution in 2025

Trending

  • Unlocking the Potential of Apache Iceberg: A Comprehensive Analysis
  • Beyond ChatGPT, AI Reasoning 2.0: Engineering AI Models With Human-Like Reasoning
  • Issue and Present Verifiable Credentials With Spring Boot and Android
  • The 4 R’s of Pipeline Reliability: Designing Data Systems That Last
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Testing, Tools, and Frameworks
  4. How Does the Internet Speed Test Work?

How Does the Internet Speed Test Work?

In this post, discover the numerous tools to measure internet speed, and explore why it is essential to understand how these tools work.

By 
NaveenKumar Namachivayam user avatar
NaveenKumar Namachivayam
DZone Core CORE ·
Updated Jun. 15, 22 · Analysis
Likes (3)
Comment
Save
Tweet
Share
7.2K Views

Join the DZone community and get the full member experience.

Join For Free

Everyone deserves the right internet speed and everyone wants the best bang for a buck. To ensure our internet bandwidth, we all run speed tests from our Internet Speed Provider or public speed test tools like fast.com or speed.cloudflare.com and more. But do we know how the speed got measured under the hood? In this blog post, we will see how the Internet Speed Test works.

What Is an Internet Speed Test?

The Internet Speed Test helps us to understand how fast our internet connection is. It is primarily based on Download and Upload speed, usually measured in megabits per second (Mbps), but varies based on which tool you are using. One megabit is equal to 1,024 kilobits.

Tools to Measure Your Internet Speed Test

There are numerous ways you can perform the speed test:

  • Fast.com from Netflix
  • Cloudflare's speed.cloudflare.com
  • widely known SpeedTest.net
  • your ISP speed test tool e.g. https://speedtest.xfinity.com/
  • Command Line tools such as Apple's networkQuality or Speedtest CLI and more
  • Search engine tools e.g. Google or Bing
Google Speed Test
Google Speed Test
Bing Speed Test
Bing Speed Test

How Does the Internet Speed Test Work?

Now we are equipped with the knowledge of what internet speed is and its tools. Let us understand how these tests work? Every tool's mechanics vary based on its architecture, but overall it works as follows.

When you start the test, first it identifies your location. i.e. from where the test is being triggered. Some tools reveal your location. e.g. Cloudflare displays IP, server location, etc. as shown below.

Speed Test from Cloudflare
Speed Test from Cloudflare

By default, it will connect to the nearest server, but in a few tools, such as SpeedTest.net, you have an option to change the server.

Change Server option
Change Server option

The first step in measuring the speed is by running a ping test. Ping measures the roundtrip time. The Ping's measurement should be less than 100ms. The lower the ping value, the better speed you get.

Ping and Jitter value in Cloudflare Speed Test
Ping and Jitter value in Cloudflare Speed Test

Some tools provide jitter value, i.e. the average distance between consecutive ping measurements. The lower the jitter, the better the connection.

After pinging is done, almost all the speed test tools begin to measure the download speed. Tools like Fast.com focus primarily on download speed, rather than upload speed.

The client (browser or mobile) will begin downloading a small amount of data from the test server. If your client is able to download the data faster, the tool will begin to download more data.

E.g. bing's speed test will download a simple text file, then it will begin to download an extra-large text file.

But fast.com uses only one file size repeatedly to measure the download speed. This file size might vary based on the internet bandwidth.

Fast.com 25MB download requests
Fast.com 25MB download requests

Cloudflare Speed Test begins with the first set of download speeds e.g. 100 kB and 1 MB test, then it will start the next set of upload speed tests e.g.100 kB and 1 MB. Then, it will go to the next tier of download speed, e.g. 100 MB and 25 MB, and then the next set of upload speeds of 100 MB till it saturates.

The Xfinity speed test uses varying file sizes to test the download speed.

Xfinity Download Speed Test
Xfinity Download Speed Test

After download and upload tests are done, the tool will aggregate the measurements and display the download and upload speed on the page.

Most of the speed test tools allow customization of the number of parallel connections for the client.

Fast.com Settings
Fast.com Settings

Before Running the Speed Test

Please follow the below tips before you trigger the speed test:

  • Connect your client to the Ethernet cable.
  • Disconnect any VPNs
  • Do not play any video or audio
  • Do not play games
  • Disconnect other connected devices from the internet
  • You may run the test after clearing cache and cookies or in incognito
  • Perform the tests at various intervals, such as busy morning, noon, evening, and night and over the weekends
  • Do not use your ISP's speed test tool, they might show you better numbers
  • Restart your modem/router if required

Collate all the results for your future reference. There are mobile apps that keep a log of your internet speed test results.

After Running the Speed Test

Once you are done with your tests if you are not getting the promised speed from your ISP. Before reaching out to them, you can tune the performance by upgrading your router, e.g. Wi-Fi 6, finding the blind spots at your home to improve the speed, switching it to the 5GHz spectrum, and changing the channel to the least crowded, and more.

If you are still not getting enough speed, it is time to contact your ISP. Always keep in mind, that there will be always an up to statement in your ISP's plan, e.g. up to 50 Mbps :)

Final Thoughts

All we need is a reliable and faster internet connection for our work, education, entertainment, games, connecting with our families, and more. There are numerous tools out there to measure internet speed, and it is essential to understand how it works. Personally, I like Cloudflare's Speed Test as it throws a lot of data visually, and you can even download it in CSV format. Periodically, it is good practice to validate our internet speed so that everyone will get the best bang for a buck.

Download Internet (web browser) Testing

Published at DZone with permission of NaveenKumar Namachivayam, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • MuleSoft APIkit Router - QueryParam and Header Strict Validation Configuration
  • The Cypress Edge: Next-Level Testing Strategies for React Developers
  • Solid Testing Strategies for Salesforce Releases
  • Why We Still Struggle With Manual Test Execution in 2025

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!