Skip to content
We areTOP 1%

What are bandwidth, latency and throughput?

MediumConceptNetwork Basics & Devices
Track your progress
First attempt
Re-solve after a few days
Final pass before interviews

Answer

Bandwidth is the maximum rate at which a link can carry data, measured in bits per second (bps). Latency is the time a piece of data takes to travel from source to destination. Throughput is the rate at which data is actually delivered, and it is never higher than the bandwidth.

  • Latency is the sum of several delays: transmission delay (packet size ÷ bandwidth), propagation delay (distance ÷ signal speed), queuing delay in busy routers and processing delay.
  • Throughput falls below bandwidth because of protocol overhead, congestion, packet loss and retransmission, and because the slowest link on the path (the bottleneck) limits the whole path.
  • Round-trip time (RTT) is the time for a message to reach the destination and for the reply to come back. Every TCP handshake and acknowledgement costs RTTs, so high latency slows even a high-bandwidth link.

Example: Sending a 1,500-byte packet (12,000 bits) over a 10 Mbps link gives a transmission delay of 12,000 ÷ 10,000,000 s = 1.2 ms. Over 2,000 km of fibre, where signals travel at about 2 × 10^8 m/s, the propagation delay is (2 × 10^6 m) ÷ (2 × 10^8 m/s) = 0.01 s = 10 ms. The one-way delay, ignoring queuing and processing, is about 1.2 + 10 = 11.2 ms.

More in Network Basics & Devices

Sign in to track your progress

Your checkboxes, streak and activity heatmap are saved to your account and sync across devices. It is free.
Sign in with email

New here? Create an account