Before you start a big download

A game update, an operating system image or a video project can run to many gigabytes. The wait depends on two things you can check in advance: the size of the file and the speed of the connection. This page combines them into a time. It is meant for the question of whether to start now or later, whether the transfer will finish before a meeting, and whether a faster plan would change the answer. It also helps when comparing providers, since two plans with different speeds can be set against the same file and the time saved read off directly. The estimate is the ideal time at the speed you enter, scaled by an efficiency factor if you want to allow for protocol overhead and other users on the line.

Why file size is multiplied by 8

Time in seconds = size in MB × 8 / (rate in Mbit/s × efficiency / 100). The size is multiplied by 8 because file sizes are in bytes and speeds are in bits. The default is a 1,000 MB file on a 100 Mbit/s connection at 100 percent efficiency. That is 8,000 megabits at 100 megabits per second, or 80 seconds, which is 1.33 minutes. With efficiency below 100, the denominator shrinks and the time grows in proportion. At 50 percent efficiency, the default download would take twice as long, 160 seconds. Because the efficiency sits in the denominator, a small drop from 100 to 90 percent raises the time by about 11 percent, not 10.

A large game on a fast plan

Imagine a game of 50,000 MB (50 GB) on a connection rated at 200 Mbit/s, with 85 percent efficiency. The page gives 50,000 × 8 / (200 × 0.85) = 400,000 / 170, about 2,352.94 seconds, or 39.22 minutes. At the full 200 Mbit/s with no overhead the time would be 2,000 seconds, about 33.3 minutes, so the efficiency adds nearly six minutes. When a download has to be repeated for several machines, the multiplication is simple, since each copy takes the same time on a link that is not otherwise busy.

Smaller files and slower links

A 700 MB file on a 20 Mbit/s connection at 90 percent efficiency takes 700 × 8 / (20 × 0.9) = 5,600 / 18, about 311.11 seconds, or 5.19 minutes. A 4,700 MB file, the capacity of a single-layer DVD in decimal units, on a 50 Mbit/s link at 100 percent takes 4,700 × 8 / 50 = 752 seconds, about 12.53 minutes. Doubling the speed halves the time, which is a quick way to judge whether an upgrade is worth the price. A tenfold faster plan turns hours into minutes only if the server, the disk and the Wi-Fi can keep up. The 4,700 MB case also illustrates why large installers are often downloaded overnight on slower lines.

Advertised speed versus delivered speed

The number on a plan is the line rate at best. What reaches your application is lower because of header overhead, retransmissions, Wi-Fi conditions, other devices and the server on the other end. Wired Ethernet with TCP gets close to 95 percent of the line rate as payload. Wi-Fi can drop well below that, especially at a distance or through walls. A speed test run on the device that will do the download is the best source for the rate. If you enter a measured rate, an efficiency of 100 percent avoids double counting. If you enter the plan rate instead, a figure between 85 and 95 percent is a reasonable starting point for a wired connection.

Servers, disks and the other end

A download is limited by the slowest part of the path. A busy server may cap each connection at a rate below your plan. A mechanical hard drive writing a large file can limit the speed on a very fast link, and so can a slow memory card. Some download managers open several connections at once to get around a per-connection limit. If your result is much shorter than what you observe, the bottleneck is probably not the connection. In that case, enter the speed that you actually see in the download window, and the estimate will track the real time. Running the same page with two different rates shows how sensitive the result is, which is a useful way to turn one estimate into a range.

Slow start and shared lines in download times

The model uses a constant rate. Actual downloads start with TCP slow start, which ramps up the speed over the first moments, and they can slow down when other people use the line. For a very large file these effects average out, but for a small file the setup time is a large share of the total, and the real time is longer than the ideal one. RFC 6349 describes the ideal throughput concepts behind such estimates. A pause, a retry or a connection that drops are not included, and neither is the time to unpack or install the file afterward. Verification of a checksum after the download is another step that adds a little time on large files.

Mixing up bits and bytes

Plans are sold in megabits per second and files are measured in megabytes, and mixing them up changes the answer by a factor of 8. A 100 Mbit/s plan moves at most 12.5 MB each second. If your download window shows 10 MB/s on that plan, it is working well, since the link maximum is 12.5 MB/s. This page does the conversion, but it relies on you to choose the right unit for each number. Check that the size uses MB and not Mb, and that the rate uses Mbit/s and not MB/s. A one-gigabyte file is 8,000 megabits, so on a 100 Mbit/s plan it needs at least 80 seconds, not the 10 seconds a careless division would suggest.

Decimal versus binary sizes

The page uses decimal megabytes, where 1 MB is 1,000,000 bytes. Some operating systems and download tools report binary units, where a mebibyte is 1,048,576 bytes, sometimes still written MB. For a file listed as 1,000 MiB, the true size is about 1,048.6 MB in decimal units, and the time is about 4.9 percent longer than the page shows. For small files the difference is irrelevant, and for a large disk image of a few hundred GiB it adds a few minutes. Check the unit when precision matters. Storage manufacturers and network providers use decimal prefixes, and the IEC prefixes mebi and gibi were introduced to name the binary ones.