Checking the duration units in a bandwidth-delay product
The bandwidth-delay product multiplies a data rate by a round-trip time. This worksheet shows how to convert the milliseconds so a hand check matches the tool.
A rate multiplied by a time
The Bandwidth Delay Product Calculator takes a rate in megabits per second and a round-trip time in milliseconds, and returns a quantity of data in bytes and kilobytes. Its formula is bytes = rate × 1,000,000 × rtt / 1,000 / 8. Read from left to right, the rate becomes bits per second, the round-trip time becomes seconds, their product is bits, and dividing by 8 gives bytes. The result is the amount of data that a link running at that rate carries during one round-trip interval. It is a modeled quantity, which is useful as a reference value when you compare buffers, windows or in-flight data.
Forty milliseconds is 0.04 second
The checking error that this worksheet targets is the unit of the round-trip time. At 100 megabits per second and 40 milliseconds, convert 40 milliseconds to 0.04 second. Then 100,000,000 bits per second × 0.04 second = 4,000,000 bits, which is 500,000 bytes, or 500 kilobytes in decimal units. Entering 40 as if it were seconds would give 4,000,000,000 bits, a thousand times too large. Because the tool takes milliseconds directly, you type 40 and the conversion happens inside the formula. The hand check, though, needs the conversion done explicitly, and that is where the slip tends to occur.
Halving the interval halves the product
The product is linear in each factor. Leave the rate at 100 and cut the round-trip time to 20 milliseconds, and the result is 250,000 bytes, half of the 40-millisecond figure. Double the rate with the same 40 milliseconds, and the result doubles to 1,000,000 bytes. This proportionality makes sanity checks easy: if a change in one input of a factor of two does not change the output by a factor of two, something other than the multiplication has gone wrong, usually a mistyped value or a unit that was entered with the wrong prefix.
Higher rates and longer paths
Larger products appear on fast or long paths. A 1,000 megabit per second link, often called gigabit, with an 80 millisecond round-trip time gives 1,000,000,000 × 0.08 / 8 = 10,000,000 bytes, or 10,000 kilobytes. A 50 megabit per second connection with a 600 millisecond round-trip time, a figure used here as an illustration of a long satellite-style path, gives 3,750,000 bytes. A slower 10 megabit per second link at 100 milliseconds gives 125,000 bytes. The range from 125 kilobytes to 10 megabytes shows how widely the quantity varies with the two inputs, which is the reason it is worth computing for the specific path in question. Paths between continents or over geostationary satellite links push the round-trip time up, and very fast local links push the rate up, so the product grows from both directions.
Why the quantity is used in networking
A sender that waits for acknowledgments can only keep so much data in flight. If its window is smaller than the bandwidth-delay product, it stops and waits while the link has spare capacity, and throughput falls below the line rate. A window of 65,535 bytes, the largest value of the original 16-bit TCP window field, over a 40 millisecond round trip allows at most 65,535 × 8 / 0.04, about 13.1 megabits per second, however fast the link is. Window scaling, defined in RFC 7323, extends the window to cover larger products. The page does not run that analysis; it provides the product against which a window can be compared.
Round trip versus one way
The tool expects the round-trip time, the interval from sending a packet to receiving its acknowledgment. Substituting a one-way delay of 20 milliseconds where 40 is intended gives 250,000 bytes in place of 500,000, a halving that is easy to miss because the result still looks plausible. If you only have a one-way figure, doubling it assumes the return path takes the same time, which is often untrue on asymmetric routes. Measure the round trip directly, for example with a ping, and use the figure from the same path and time of day as the rate you enter.
Decimal units in the output
The output uses decimal prefixes: megabits per second means 1,000,000 bits per second, and kilobytes means 1,000 bytes. So 500,000 bytes is 500 kilobytes. Operating systems and tools sometimes report binary kibibytes of 1,024 bytes, in which case 500,000 bytes is about 488.3 KiB. If you compare the tool's answer with a buffer size shown in another application, make sure both use the same prefix before concluding that one of them is wrong. The difference between the two conventions at this scale is about 2.4 percent, small but enough to confuse an exact comparison.
Rate and delay must describe the same path
The multiplication is only meaningful when the rate and the delay belong together. A nominal link speed of 100 megabits per second may exceed what a transfer actually achieves, because of sharing, protocol overhead or a bottleneck elsewhere. Using a measured throughput gives the data actually in flight. Using the nominal rate gives the upper limit the link could carry. Neither is wrong, but the labels differ, so say which one you used. Likewise the round-trip time should come from the path being studied rather than from a nearby server that happens to answer faster. A rate measured at midday and a delay measured at midnight describe two different network states, and their product mixes them. Take both readings in the same session when you can, and repeat them a few times, since a single ping can be well above or below the typical value on that route.
What the number does not prescribe
The result is a model quantity. It does not recommend a buffer size, a window setting or any network configuration, and the best values for those depend on the operating system, the application, the number of parallel flows and the loss on the path. The page also assumes a constant rate and a constant delay, whereas real paths vary from moment to moment. Use the product as a reference scale for reasoning about in-flight data, and make configuration decisions with measurements and the documentation for the software involved. The same caution applies to the kilobyte figure: 500 kilobytes at 100 megabits per second and 40 milliseconds describes the arithmetic of one interval, and it does not mean that 500 kilobytes of buffer is right for a device on that path. Different layers of a network stack hold their own buffers, and each has its own sizing guidance.
Reproduce the checks
Round-trip product
Open the Bandwidth Delay Product Calculator and enter:
- Throughput
100- Round-trip time
40
Expected output:
Bandwidth delay product
500000Bandwidth delay product
500The rate is decimal megabits per second.
Half-duration control
Open the Bandwidth Delay Product Calculator and enter:
- Throughput
100- Round-trip time
20
Expected output:
Bandwidth delay product
250000Changing the supplied duration changes the product proportionally.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.