Network Latency Calculator

Estimate network latency, round-trip time, bandwidth-delay product, and file transfer time from distance, link speed, and bandwidth.

🌐 Network Latency Calculator

Latency = distance ÷ signal speed; RTT = 2 × latency

km

Bandwidth-delay product = bandwidth × RTT

Mbps
ms

Transfer time = size × 8 ÷ bandwidth + latency

MB
Mbps
ms
One-way latency
Round-trip time (RTT)
Signal speed
Step-by-step working
Bandwidth-delay product
In bits
In kilobytes
In kibibytes
Step-by-step working
Total transfer time
Transmission time
Latency added
Step-by-step working

🌐 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

tprop  =  distance ÷ signal speed    RTT = 2 × tprop
tprop = one-way propagation latency (seconds, shown in ms)
distance = path length between the two endpoints
signal speed = fibre ~200,000 km/s, copper ~230,000 km/s, radio ~299,792 km/s
RTT = round-trip time = 2 × one-way latency
BDP: bandwidth-delay product = bandwidth × RTT (bits in flight)
Transfer: time = size × 8 ÷ bandwidth + latency
Example: 1000 km of fibre gives 1000 ÷ 200,000 = 5 ms one way, 10 ms RTT.

📖 How to Use This Calculator

Steps

1
Choose a mode. Pick Propagation for latency from distance, Bandwidth-Delay for bytes in flight, or Transfer Time for a file.
2
Enter the inputs. In Propagation mode enter distance and pick a medium; in the other modes enter bandwidth, RTT, or file size.
3
Read the results. Click Calculate to see one-way latency, RTT, bandwidth-delay product, or transfer time with full working.

💡 Example Calculations

Example 1 — Propagation Latency over Fibre

A 1,000 km fibre link between two cities

1
Signal speed in fibre = 200,000 km/s
2
One-way latency = 1000 ÷ 200,000 = 0.005 s = 5 ms
3
Round-trip time = 2 × 5 = 10 ms
One-way = 5 ms, RTT = 10 ms
Try this example →

Example 2 — Bandwidth-Delay Product

A 100 Mbps link with a 20 ms round-trip time

1
BDP = bandwidth × RTT = 100 Mbps × 0.02 s
2
= 100 × 10⁶ × 0.02 = 2,000,000 bits
3
= 250,000 bytes = 250 KB (244.14 KiB)
BDP = 250,000 bytes (2,000,000 bits, 250 KB)
Try this example →

Example 3 — File Transfer Time

Downloading a 100 MB file over a 50 Mbps link with 20 ms latency

1
Transmission time = 100 × 8 ÷ 50 = 16 s
2
Add latency = 20 ms = 0.02 s
3
Total time = 16 + 0.02 = 16.02 s
Total transfer time = 16.02 s (16 s transmission)
Try this example →

❓ Frequently Asked Questions

What is network latency?+
Network latency is the time for data to travel from source to destination, usually in milliseconds. It combines propagation delay (limited by the speed of light), transmission delay, queuing delay at routers, and processing delay. The minimum latency is set by distance divided by the signal speed in the transmission medium.
How do you calculate network latency?+
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 = 5 ms. Round-trip time is twice that, about 10 ms, before adding real-world queuing and processing delays.
What is round-trip time (RTT)?+
Round-trip time is the time for a signal to reach a destination and return, which is what ping 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, plus queuing and processing at each router on the path.
What is the bandwidth-delay product?+
The bandwidth-delay product (BDP) is the maximum data in transit on a link at once, equal to bandwidth times round-trip time. For a 100 Mbps link with 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 page with many resources, each round trip adds latency, so a high-latency link feels slow even with plenty of bandwidth. For large downloads, bandwidth dominates because the data takes many seconds to send. Gaming, video calls, and trading are all latency-sensitive rather than bandwidth-bound.
How fast do signals travel in fibre and copper?+
Signals in optical fibre travel about 200,000 km/s, roughly two-thirds the speed of light, because of the fibre's refractive index. Copper cables carry signals at a similar or slightly higher fraction of light speed depending on 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 file size divided by bandwidth, plus latency. For a 100 MB file over a 50 Mbps link, 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 adds queuing delay when routers are busy, serialization delay to clock bits onto the wire, processing delay at each hop, and 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 is shown in milliseconds and transfer times in seconds. Remember 1 byte = 8 bits, so a 50 Mbps link moves about 6.25 megabytes per second.
Can I reduce network latency?+
You can lower latency by shortening the physical path with closer servers or a CDN, 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.

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.