taap.digitalnetwork engineering toolkit

File transfer time calculator

Enter the data size, the link speed and the overhead to discount. The result is the realistic wall-clock time, next to the theoretical line-rate time.

xfer-time
%

The formula

Size is usually given in bytes and link speed in bits per second, so the first step is always the 8× conversion:

time = (size in bytes × 8) / (link rate × (1 − overhead))

Decimal units are used for both, the way vendors specify them: 1 GB = 109 bytes and 1 Gbps = 109 bit/s. Binary units (GiB, TiB) are available in the size selector because operating systems often report sizes in them: 1 TiB is 9.95% larger than 1 TB.

Worked example: 10 GB over 100 Mbps

  1. 10 GB × 8 = 80 Gbit.
  2. 100 Mbps minus 10% overhead = 90 Mbps effective.
  3. 80,000 Mbit / 90 Mbps = 888.9 s ≈ 14 min 49 s.

At full line rate it would take 13 min 20 s; the overhead adds roughly a minute and a half.

Choosing the overhead

ScenarioOverhead
Ethernet + IPv4 + TCP headers, 1500 MTU≈ 5%
Typical well-tuned LAN copy (SMB, NFS, rsync)5–10%
VPN/IPsec, encryption, small files15–25%
Long-RTT WAN with default TCP windowscan exceed 90%: use the BDP tool

The header overhead of a full-size TCP segment is (14 + 4 + 8 + 12 + 20 + 20) bytes of Ethernet framing, preamble, IFG, IP and TCP over 1538 bytes on the wire, about 5.1%. Jumbo frames (9000 MTU) cut it to under 1%.

Why real transfers are often slower

  • TCP window limits. A single flow can never exceed window / RTT. Across an ocean, an untuned 64 KiB window caps you at a few Mbps regardless of the link. Check the bandwidth-delay product calculator.
  • Storage. A spinning disk or a busy NAS often delivers less than 1 Gbps on its own. Test with fio or dd before blaming the network.
  • Single-threaded tools. scp and some SMB clients are bound by one CPU core for encryption. Parallel streams (rclone --transfers, iperf3 -P) help.
  • Shaping and shared links. Policers, QoS classes and other users all take a share.

Measure before you plan

# raw TCP throughput between two hosts
iperf3 -s                     # on the receiver
iperf3 -c 10.0.0.2 -t 30 -P 4 # on the sender

# real file copy with progress
rsync -a --info=progress2 /data/ user@host:/backup/

For large migrations, compare the result with a physical option: shipping an encrypted drive can beat a 100 Mbps link once you pass a few terabytes.

Quick answers

Frequently asked questions

Is 1 Gbps the same as 1 GB/s?

No. 1 Gbps is 1 gigabit per second, which is 125 MB/s (0.125 GB/s). Divide bits by 8 to get bytes.

Why does my OS show the file as smaller than the calculator expects?

Windows and many tools report GiB but label them "GB". 1 TB = 0.909 TiB. Choose the unit your source actually uses.

What overhead should I use for a quick estimate?

10% is a sensible default for TCP over Ethernet on a healthy path. Use 20% or more for VPNs, Wi-Fi or many small files.

Study and design tool. Validate any configuration in a lab and against vendor documentation before applying it in production.