Transfer time estimator

How long will a copy to or from your NAS take? Enter the amount of data, pick the link speed and say how much of that speed you expect the copy to reach. The result is an estimate from plain unit arithmetic, with every step shown.

1 · Amount of data

Above 0 and no more than 1,000,000,000 of the chosen unit.

2 · Link speed
3 · Your efficiency guess

The starting value of 80% is only an example, not a measurement. Change it to what you expect.

Estimate

About 5 h 33 min 20 s

2 TB over 1 Gbit/s at 80% efficiency.

The arithmetic, step by step

  1. Data: 2 TB × 1012 bytes per unit = 2 × 1012 bytes
  2. In bits: 2 × 1012 bytes × 8 bits per byte = 1.6 × 1013 bits
  3. Link: 1 Gbit/s × 109 = 1 × 109 bits per second
  4. At your 80%: 1 × 109 × 0.8 = 8 × 108 bits per second (about 100 MB per second)
  5. Time: 1.6 × 1013 bits ÷ (8 × 108 bits per second) = 20,000 seconds, about 5 h 33 min 20 s

Same data at each link speed

  • 1 Gbit/s 5 h 33 min 20 s
  • 2.5 Gbit/s 2 h 13 min 20 s
  • 5 Gbit/s 1 h 6 min 40 s
  • 10 Gbit/s 33 min 20 s
  • 25 Gbit/s 13 min 20 s

The formula

time in seconds = (amount × bytes per unit × 8) ÷ (link speed in Gbit/s × 109 × efficiency ÷ 100)

Assumptions

  • One byte is 8 bits [2].
  • MB, GB and TB are decimal units: 106, 109 and 1012 bytes, using the SI prefixes [1]. MiB, GiB and TiB are binary units: 220, 230 and 240 bytes [2].
  • Decimal and binary units differ in size: 4 TB = 4 × 1012 bytes ≈ 3.64 TiB.
  • Link speeds are decimal: 1 Gbit/s is 109 bits per second. The five choices are nominal Ethernet rates: 1 Gbit/s, 2.5 Gbit/s, 5 Gbit/s, 10 Gbit/s and 25 Gbit/s [3].
  • The efficiency is your own guess, entered as a percentage from 1 to 100 [4]. It stands in for everything the arithmetic leaves out: network framing, the file-sharing protocol, the speed of the drives at both ends, many small files, encryption and other traffic. The starting value of 80% is only an example, not a measurement.
  • The slowest part of the path sets the pace. A path containing a 1 Gbit/s link has a nominal ceiling of 1 Gbit/s before the efficiency is applied.
  • The time is for one continuous copy. It leaves out checking, pauses and retries.
  • Times are shown in days, hours, minutes and seconds, using 60, 3,600 and 86,400 seconds for a minute, an hour and a day [5]. Times of a second or more are rounded to whole seconds; shorter ones are shown in milliseconds or as a power of ten.
  • The amount must be above 0 and no more than 1,000,000,000 of the chosen unit.

Sources

  1. SP 330 - Section 3 (Table 7, SI prefixes: mega, giga, tera), National Institute of Standards and Technology (NIST)
  2. Prefixes for binary multiples, NIST Physical Measurement Laboratory
  3. IEEE 802.3 Ethernet Working Group — Archive of completed work, IEEE
  4. SP 330 - Section 5, 5.4.7 (percent), National Institute of Standards and Technology (NIST)
  5. SP 330 - Section 4 (Table 8, minute, hour and day), National Institute of Standards and Technology (NIST)