Bandwidth Calculator
Estimate theoretical file transfer time from a data size and transfer rate, using decimal SI units (KB, MB, GB, TB and Kbps, Mbps, Gbps).
How It's Calculated
Formula
\text{seconds} = \dfrac{\text{dataSize} \times \text{bytesPerUnit} \times 8}{\text{transferRate} \times \text{bitsPerSecondPerUnit}}Bandwidth estimates how long a file transfer will theoretically take, given a data size and a transfer rate. Data size and transfer rate use two different, easily confused unit families: data size is measured in BYTES (KB, MB, GB, TB), while transfer rate is measured in BITS per second (Kbps, Mbps, Gbps) — 1 byte equals 8 bits. This calculator uses decimal SI units throughout: 1 KB = 1000 bytes, 1 MB = 1000² bytes, 1 GB = 1000³ bytes, 1 TB = 1000⁴ bytes, and 1 Kbps = 1000 bits/sec, 1 Mbps = 1,000,000 bits/sec, 1 Gbps = 1,000,000,000 bits/sec. Binary units (KiB, MiB, GiB) are not used. The data size is first converted to total bits (size x bytes-per-unit x 8), then divided by the transfer rate converted to bits per second, giving total seconds, which is also broken into hours/minutes/seconds. This is a theoretical maximum: real transfers are slower due to protocol overhead, network congestion, and other factors not modeled here.
Worked Examples
1 GB at 1 Gbps
- Data size in bits: 1 GB x 1,000,000,000 bytes/GB x 8 bits/byte = 8,000,000,000 bits.
- Transfer rate in bits/sec: 1 Gbps = 1,000,000,000 bits/sec.
- Time: 8,000,000,000 / 1,000,000,000 = 8 seconds.
1 MB at 1 Mbps
- Data size in bits: 1 MB x 1,000,000 bytes/MB x 8 bits/byte = 8,000,000 bits.
- Transfer rate in bits/sec: 1 Mbps = 1,000,000 bits/sec.
- Time: 8,000,000 / 1,000,000 = 8 seconds.
Frequently Asked Questions
Why does 1 GB at 1 Gbps take 8 seconds, not 1 second?
Data size is measured in bytes, but transfer rate is measured in bits, and 1 byte = 8 bits. 1 GB of data is 8 gigabits, so at 1 gigabit per second it takes 8 seconds, not 1.
Does this calculator use binary units like KiB, MiB, or GiB?
No. This calculator uses decimal SI units throughout (1 KB = 1000 bytes, 1 MB = 1000² bytes, and so on), matching how network speeds are conventionally advertised. It does not use the binary-based KiB/MiB/GiB units.
Does this account for real-world network overhead?
No. This is a theoretical calculation based only on the raw data size and rate you enter. Actual transfers are typically slower due to protocol overhead, network congestion, and other real-world factors.
What if I enter a transfer rate of zero?
A transfer rate must be a positive number. A rate of zero would imply an infinite transfer time, so it is rejected as invalid input.