Toolvito

Works on this device

Bandwidth Delay Product Calculator

The bandwidth-delay product is the rate of a link multiplied by the round-trip time. It is the amount of data that is on its way at one moment when the link is full. Type a rate and a delay to get it in bits, bytes and packets, with what it means for the TCP window and for buffers. Nothing is measured here: you type both figures.

Enter your values

Rate × round-trip time: the data in flight on a full link, in bits, bytes and packets.

Your values

The rate of the slowest link on the path. Mbit/s is megabits per second.

A ping program shows the round-trip time. Type the figure you measured: nothing is measured here.

Used only to count packets. 1,500 bytes is the usual largest packet on Ethernet.

Leave blank, or type a number to see the small-buffer rule for a router with many connections.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Type the rate of the link and choose its unit. Use the rate of the slowest link on the path.
  2. Say whether your delay is the round-trip time or the one-way delay, then type it. A ping program shows the round-trip time.
  3. Change the packet size if your packets are not 1,500 bytes. It is used only to count packets.
  4. To see the small-buffer rule for a router, type the number of long-lived connections that share the link.
  5. Choose Calculate. The table shows the same link at other round-trip times.

The formula

  • Bandwidth-delay product in bits = rate in bits per second × round-trip time in seconds.
  • In bytes = bits ÷ 8. In packets = bytes ÷ size of one packet.
  • Round-trip time = 2 × one-way delay, when the path is the same in both directions.
  • TCP window that fills the path = the product in bytes, rounded up to a whole byte.
  • Window scale option: a TCP header holds a window of at most 65,535 bytes. A larger window needs the window scale option of RFC 7323, which multiplies the field by 2 to the power of a shift count from 0 to 14.

Bits, bytes and units

One byte is 8 bits. Rates are given in bits per second, such as megabits per second (Mbit/s). Windows and buffers are given in bytes. Decimal units are powers of 1000 (1 MB is 1,000,000 bytes). Binary units are powers of 1024 (1 MiB is 1,048,576 bytes). The result shows both.

Worked example

A link of 100 Mbit/s with a round-trip time of 80 ms: 100,000,000 × 0.08 = 8,000,000 bits. That is 1,000,000 bytes, which is 1 MB or 976.56 KiB, or 666.7 packets of 1,500 bytes.

A TCP window of 65,535 bytes is much smaller than 1,000,000 bytes, so the window scale option is needed. A shift count of 4 multiplies the field by 16 and allows 1,048,560 bytes, which is enough.

A satellite path of 10 Mbit/s with a round-trip time of 600 ms has a product of 6,000,000 bits, which is 750,000 bytes.

With 100 long-lived connections on the 100 Mbit/s link, the small-buffer rule gives 1,000,000 ÷ √100 = 100,000 bytes, which is 100 kB.

What the product tells you

  • Window: a sender can have at most one window of data in flight. If the window is smaller than the product, the link is never full. The Tcp Window Size Calculator gives the same figures from the side of the window.
  • Buffers: a router buffer of one product (rate × round-trip time) is the rule of thumb of Villamizar and Song (1994). For many long-lived connections that are not in step, Appenzeller, Keslassy and McKeown (2004) found that the product ÷ √n is enough, where n is the number of connections.
  • Long fat networks: RFC 1072 uses this name for a path whose product is much larger than 100,000 bits (12,500 bytes). Fast links over long distances and satellite links are of this kind.
  • Throughput: for the rate that one connection reaches, use the Network Throughput Calculator.

Limits you should know

  • The result is arithmetic on the two figures you type. It is a planning estimate: real round-trip times change with load and route.
  • Doubling a one-way delay is right only when the path is the same in both directions.
  • The buffer rules are starting points for TCP of the classic kind (Reno). Newer congestion control and real traffic mixes behave differently. They are not a design for a router.
  • The packet count uses one size for every packet.

Related tools