Computer Networks · Network Delays
Transmission Delay Numerical Problems (bits vs KB, K=1024 vs 1000)
Overview
Transmission delay is the time needed to push all the bits of a packet onto the outgoing link, and it depends only on packet length and link bandwidth, not on distance.
The main trap in numerical problems is that the prefixes K, M and G mean powers of 2 for data but powers of 10 for bandwidth, so two problems that look identical can have different answers.
Key concepts
- Transmission Time (Transmission Delay): The time required to push (place) all the bits of a packet onto the outgoing link. It depends only on the packet length and the link bandwidth , not on distance.
- Data prefixes are powers of 2: When data (packet length) is given with K, M or G, the prefix means , or . So a packet of "1 KB" is 1024 bytes (8192 bits), not 1000 bits.
- Bandwidth prefixes are powers of 10: When bandwidth is given with K, M or G, the prefix means , or . So a bandwidth of "1 KBps" is 1000 bits per second, not 1024.
- Why the difference: Data is measured in bits, and bits are naturally expressed in powers of 2; bandwidth depends on frequency, and frequency is measured in decimal (powers of 10).
Hence data is always in powers of 2 and bandwidth is always in powers of 10.
How it works
- Convert the packet length to bits, using 1024 for K, for M and for G.
- Convert the bandwidth to bits per second, using 1000 for K, for M and for G.
- Compute the transmission time as .
Formulas
- = transmission time (seconds)
- = packet length in bits (use 1024 for K, for M, for G when data is given with these prefixes)
- = bandwidth in bits per second (use 1000 for K, for M, for G when bandwidth is given with these prefixes)
Worked examples
Example 1 — length in bits, bandwidth in kbps
- Given: bits, kbps
- kbps bps
- second
Example 2 — length in KB, bandwidth in KBps
- Given: KB, KBps
- Data: KB bits (data prefix K = 1024)
- Bandwidth: KBps bytes/s bps (bandwidth prefix K = 1000)
- seconds
- The two questions look the same, but the answers are not the same (1 second vs 1.024 seconds).
Comparison
| Quantity | Prefix meaning | Example |
|---|---|---|
| Data / packet length (K, M, G) | Powers of 2 (, , ) | 1 KB = 1024 bits |
| Bandwidth (K, M, G) | Powers of 10 (, , ) | 1 kbps = 1000 bps |
Revision summary
- Transmission time : the time to put the packet onto the outgoing link; it does not depend on distance.
- When data is given with K/M/G, use 1024 / / .
- When bandwidth is given with K/M/G, use 1000 / / .
- Data is in powers of 2 (bits); bandwidth is in powers of 10 (frequency-based).
- "1000 bits with 1 kbps" gives 1 second, but "1 KB with 1 KBps" gives 1.024 seconds — do not treat them as identical.
Previous-year exam insights
- 1 byte = 8 bits.
Whenever a packet/file size is given in bytes (B, KB, MB) and the bandwidth in bits per second, multiply the size by 8 before dividing; conversely a bandwidth given in bytes per second must be multiplied by 8 to get bits per second. - Distinguish the symbols: lowercase 'b' = bit, uppercase 'B' = byte.
Thus kbps = kilobits/s = 1000 bits/s, while kBps = kilobytes/s = 1000 bytes/s = 8000 bits/s;
a factor-of-8 error is the most common trap in delay problems. - Total end-to-end delay = transmission delay + propagation delay + processing delay + queueing delay.
Only transmission delay depends on packet length and bandwidth;
propagation delay = distance / propagation speed (about 2× m/s in cable/fibre, 3× m/s in air/vacuum) and is independent of packet length. - In store-and-forward transmission over N links (or through N−1 intermediate routers) with equal bandwidth B, one packet experiences N × (L/B) of transmission delay in total (the last link's transmission plus the serialisation at each preceding hop), ignoring processing/queueing.
- Transmission efficiency (goodput fraction) when a header of h bits is added to a payload of L bits is L/(L+h); the effective useful data rate is B × L/(L+h).
- For a file/packet of size F and bandwidth B, the transmission time is F/B regardless of distance;
doubling the bandwidth halves the transmission delay, while the propagation delay is unaffected by bandwidth (bandwidth-delay product = B × propagation delay gives the number of bits 'in the pipe').