Knowledge base

Download time explained — Mbps, MB/s and MiB

Calculate transfer duration, distinguish bits from bytes and MB from MiB, and account for link efficiency with worked examples.

A 1 GB file at 100 Mbps takes 80 seconds in theory. Assuming 80% of that rate is available for file data, it takes 100 seconds. The file has not changed: you need to distinguish the units and decide which rate belongs in the formula. This guide covers duration, required bandwidth, and how much data fits a time window.

Mbps and MB/s: bits and bytes

A byte contains 8 bits. 100 Mbps = 100,000,000 bit/s = 12.5 MB/s. Lowercase b means bit, while uppercase B means byte. A rate of 100 MB/s corresponds to 800 Mbps. The calculator also labels megabytes per second as MBps.

MB and MiB: two size scales

UnitBytes
1 MB1,000,000
1 MiB1,048,576
1 GB1,000,000,000
1 GiB1,073,741,824

NIST distinguishes decimal SI prefixes from binary IEC prefixes. If an application reports an ambiguous “GB”, check the exact byte count in the file information. 1 GiB is about 7.37% larger than 1 GB; at the same rate, it takes proportionally longer to transfer.

Duration and efficiency formula

time [s] = size [B] × 8 / (rate [bit/s] × η), where η = efficiency [%] / 100. Substitute 0.8 for 80%. This model assumes a constant rate and efficiency throughout the transfer.

  1. Convert the size to bytes using the correct MB, MiB, GB, or GiB scale.
  2. Multiply by 8 to obtain bits.
  3. Convert the rate to bits per second and multiply it by efficiency.
  4. Divide the bit count by useful throughput. Divide seconds by 60 if you need minutes.

80% efficiency is an illustrative assumption, not a universal protocol overhead or a measurement of your connection. If the entered rate is already measured file-data throughput, use 100% to avoid reducing it twice.

Example 1: the same file at different efficiencies

1 GB × 8 = 8,000,000,000 bits. At 100 Mbps and 100%: 8,000,000,000 / 100,000,000 = 80 s. At 80%: 8,000,000,000 / 80,000,000 = 100 s. A 20% reduction in useful throughput increases duration by 25%, rather than 20%.

Example 2: 250 MB or 250 MiB at 20 Mbps

SizeDuration at 100%Duration at 80%
250 MB100 s125 s
250 MiB104.8576 s131.072 s

The second row uses 250 × 1,048,576 × 8 = 2,097,152,000 bits in the numerator. This explains the duration difference caused solely by the size unit.

Required rate and transferable size

Transferring 1 GB in 60 s at 80% efficiency requires 8,000,000,000 / (60 × 0.8) ≈ 166,666,667 bit/s, or about 166.667 Mbps. In the other direction, 100 Mbps for 180 s at 80% transfers 100,000,000 × 180 × 0.8 / 8 = 1,800,000,000 B, or 1.8 GB.

Use the calculator and assess the result

Open the download time and bandwidth calculator, choose time, rate, or size, then select units and efficiency. For the 250 MiB example, choose MiB, 20 Mbps, and 80% efficiency: the result is 131.072 s. Display rounding may shorten the number but does not change the selected unit scale.

Actual transfers may vary over time with the server, disk, Wi-Fi, shared bandwidth, retransmissions, and connection setup. This calculator does not measure those effects or run a speed test. Compare the estimate with a known file transfer and choose assumptions that match your scenario.

A little network lab

2 GiB, 100 Mbps, and a transfer deadline

You have a 2 GiB backup and a 100 Mbps link. Assume 80% efficiency. Calculate the duration and decide whether three minutes is enough.

Example result214.7483648 s ≈ 3 min 35 sOpen example in calculator
  1. 2 GiB = 2 × 1,073,741,824 bytes = 17,179,869,184 bits. By comparison, 2 GB is only 16,000,000,000 bits.

  2. Useful throughput in the assumed model is 100,000,000 × 0.8 = 80,000,000 bit/s. Division gives 214.7483648 s; 2 GB would take 200 s.

  3. A 180 s target needs 17,179,869,184 / (180 × 0.8) ≈ 119,304,647 bit/s, or about 119.305 Mbps nominally at the same efficiency.

Your turn

What duration do you get at 200 Mbps with the same 80% efficiency?

Show answer and explanation

107.3741824 s, about 1 min 47 s. In this model, doubling the rate at the same efficiency halves the duration.

Official documents

Standards & sources

Sources checked:

The date refers to checking the listed documents and registries, not endorsement by their authors. Calculation assumptions and limits appear with the result. How we prepare the material.