Network Latency Calculator
Estimate network latency, round-trip time, bandwidth-delay product, and file transfer time from distance, link speed, and bandwidth.
🌐 What is Network Latency?
Network latency is the time it takes for data to travel from one point on a network to another, usually measured in milliseconds. It is made up of several parts: propagation delay (how long the signal takes to cover the distance), transmission delay (how long it takes to push all the bits onto the link), queuing delay (waiting in router buffers), and processing delay (routers examining each packet). The most fundamental part, propagation delay, is limited by the speed of light and equals the distance divided by the signal speed in the medium.
Latency shapes how fast the internet feels. A video call, an online game, or a stock trade depends on low latency far more than on raw bandwidth, because each interaction requires a quick round trip. Loading a web page that pulls dozens of small resources can feel sluggish on a high-latency connection even if the download speed is high, since every request pays the latency cost. Content delivery networks exist largely to place servers physically closer to users and cut propagation delay.
A common misconception is that more bandwidth always means lower latency. Bandwidth is how much data can flow per second, while latency is how long each bit takes to arrive. A satellite link can offer high bandwidth yet suffer high latency because of the long distance to orbit. Another misconception is that latency can be reduced without limit. Distance sets a hard floor: no signal can travel faster than light, so a transcontinental link always has a minimum round-trip time of tens of milliseconds.
This calculator estimates the propagation latency and round-trip time from distance and medium, the bandwidth-delay product that governs how much data must be in flight to keep a link full, and the time to transfer a file of a given size. Each result is shown with the full working so you can see exactly how the numbers arise.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — Propagation Latency over Fibre
A 1,000 km fibre link between two cities
Example 2 — Bandwidth-Delay Product
A 100 Mbps link with a 20 ms round-trip time
Example 3 — File Transfer Time
Downloading a 100 MB file over a 50 Mbps link with 20 ms latency
❓ Frequently Asked Questions
🔗 Related Calculators
What is network latency?
Network latency is the time it takes for data to travel from source to destination across a network, usually measured in milliseconds. It includes propagation delay (limited by the speed of light), transmission delay, queuing delay at routers, and processing delay. The lowest possible latency is set by distance divided by the signal speed in the medium.
How do you calculate network latency?
The propagation latency is distance divided by signal speed: t = d / v. In fibre, signals travel about 200,000 km/s, so a 1000 km link has a one-way latency of 1000 / 200,000 = 0.005 s = 5 ms. Round-trip time (RTT) is twice this, or 10 ms, plus real-world queuing and processing delays.
What is round-trip time (RTT)?
Round-trip time is the time for a signal to travel to a destination and back, which is what the ping command measures. For a symmetric path it equals two times the one-way latency. If the one-way propagation delay is 5 ms, the RTT is at least 10 ms, before adding queuing and processing at each router along the way.
What is the bandwidth-delay product?
The bandwidth-delay product (BDP) is the maximum amount of data that can be in transit on a link at once, equal to bandwidth multiplied by round-trip time. For a 100 Mbps link with a 20 ms RTT, BDP = 100 Mbps × 0.02 s = 2,000,000 bits = 250,000 bytes. TCP needs a receive window at least this large to fully use the link.
Why does latency matter more than bandwidth for some tasks?
For small requests such as loading a web page with many resources, each round trip adds latency, so a high-latency link feels slow even with lots of bandwidth. For large file transfers, bandwidth dominates because the data takes many seconds to send regardless of the small fixed latency. Interactive tasks like gaming and video calls are latency-sensitive.
How fast do signals travel in fibre and copper?
Signals in optical fibre travel at about 200,000 km/s, roughly two-thirds the speed of light in vacuum, because of the fibre's refractive index. Copper cables carry signals at a similar or slightly higher fraction of light speed depending on the velocity factor. Radio and free-space links approach the full speed of light at 299,792 km/s.
How do you calculate file transfer time?
Transfer time is the file size divided by the effective bandwidth, plus the latency. For a 100 MB file over a 50 Mbps link, the transmission time is 100 × 8 / 50 = 16 seconds (converting megabytes to megabits), plus a fraction of a second for latency. The calculator adds the one-way latency to give the total time.
Why is my real ping higher than the calculated latency?
The calculator gives the theoretical minimum propagation latency. Real ping times add queuing delay when routers are busy, serialization delay to clock bits onto the wire, processing delay at each hop, and any routing that is longer than the straight-line distance. These extras often double or triple the pure propagation figure.
What units does the calculator use?
Distance is in kilometres, bandwidth in megabits per second (Mbps), round-trip time in milliseconds, and file size in megabytes (MB). Latency results are shown in milliseconds and transfer times in seconds. Remember that 1 byte = 8 bits, so a 50 Mbps link moves about 6.25 megabytes per second.
Can I reduce network latency?
You can reduce latency by shortening the physical path (using closer servers or a content delivery network), avoiding congested routes, upgrading to lower-latency links, and reducing the number of round trips an application makes. You cannot beat the speed-of-light floor, so distance always sets a hard minimum latency.