Networking / Latency vs bandwidth vs throughput

Latency vs bandwidth vs throughput

Three numbers describe every connection: how long a trip takes, how much the link could carry, and how much really arrives. Seven steps show why a fast plan can still feel slow.

Beginner7 steps~6 min
You — your device, asking for data
Server — answers from far away
Pipe — the link; its width is the bandwidth
Packet — one small chunk of data
// THE SHORT VERSION

In 30 seconds

Latency is delay: the milliseconds a packet needs to reach the other end and come back. Bandwidth is capacity: the most megabits the link can carry each second. Throughput is what really arrives each second, and it is never more than the bandwidth.

A connection feels slow when the number that matters for the task is poor. Web pages and games wait on round trips, so they need low latency. Video and downloads need throughput.

Buying more bandwidth raises the ceiling. It does not shorten the trip.

Latency vs bandwidth vs throughput, step by step

STEPS01 / 07

Simplified: the page-load sum treats the 20 round trips as one after another and ignores TCP’s slow ramp-up. Real browsers overlap some requests, but the waiting still scales with latency.

STEP 01 / 07 Three numbers, one link
THE MATH
latency : delay (ms) bandwidth : capacity (Mbit/s) throughput : actual (Mbit/s)
  1. Step 1: Three numbers, one link. Picture the connection between you and a server as a pipe carrying packets, small chunks of data. Its length sets how long a trip takes, its width sets how much fits at once, and what comes out of the far end each second is what you really get. Those are three separate numbers.
  2. Step 2: Latency: the delay. Latency is the time a packet needs to cross the link, measured in milliseconds. This server is 4,000 km of fibre away, so a request takes 20 ms to arrive and the answer takes 20 ms to come back. That 40 ms round trip is what a ping test reports, and no amount of bandwidth shortens it.
  3. Step 3: Bandwidth: the capacity. Bandwidth is the most data the link can carry each second, measured in megabits per second. It is the width of the pipe: this 100 Mbit/s link has ten lanes where a 10 Mbit/s link has one. More lanes move more packets side by side, but each packet still takes the same 20 ms to cross.
  4. Step 4: Throughput: what arrives. Throughput is the rate at which data really arrives. Somewhere on the path a busy shared link has room for only six lanes, so 60 Mbit/s gets through although your plan says 100. Packets that do not fit wait in a queue or are dropped and sent again. Divide by 8 for megabytes: 7.5 MB each second.
  5. Step 5: Fast link, slow page. A web page is many small requests, and each one costs a round trip before any data flows. Loading a 2 MB page (16 megabits) that needs 20 round trips, link A spends four seconds just waiting for replies. Link B has a twentieth of the bandwidth and finishes over five times sooner, because its latency is low.
  6. Step 6: What changes each one. Latency grows with distance, with every router on the way and with time spent queuing at busy ones. Bandwidth is fixed by the medium and the plan you pay for, and the slowest link on the path caps the rest. Throughput falls below that cap when the link is shared, when lost packets must be resent or when the Wi-Fi signal is weak.
  7. Step 7: Which one matters when. Streamed video needs a steady 5 Mbit/s or so for HD, and its buffer hides delay. A game sends very little data but every action waits on the round trip, so latency decides how it feels. A download is pure throughput. A video call needs both, because people notice a pause in conversation and a blurry picture alike.
VALUES SO FAR
latency····delay
capacity····bandwidth
arriving····measured
600 MB····download
link A····page load
link B····page load
HD video····needs
game····needs
// BEFORE

Learn this first

Nothing. This concept starts from scratch.

Spotted a mistake on this page?