Network bandwidth is often quoted in bits per second, while file sizes are commonly given in bytes. Eight bits make one byte; real throughput may be lower than link speed.
Convert between bits and bytes and their decimal multiples. A kilobyte here is 1,000 bytes.
How long a file takes to transfer at a given speed, in the best case.
Estimate the bandwidth and monthly data your website uses from its traffic and page size.
Convert a monthly data allowance into a bandwidth, or the other way around. Fill in one box and leave the other blank.
The page has four tools. The data unit converter changes an amount between bits and bytes in decimal units. The download and upload time tool tells you how long a file takes at a given speed. The website bandwidth tool estimates the speed and monthly data a site needs from its traffic. The hosting converter turns a monthly data allowance into an average speed, or the reverse.
A bit is the smallest unit of information, 0 or 1. A byte is 8 bits. File sizes are usually written in bytes, while network speeds are written in bits per second, which is why a 100 Mbit/s connection moves at most 12.5 megabytes each second. In this calculator, kilo, mega, giga and tera follow the decimal system, so a kilobit is 1,000 bits and a megabyte is 1,000,000 bytes. Disk and memory tools sometimes use 1,024-based units, written KiB, MiB and GiB: a 500 MiB file is 524.288 MB.
The converter opens on 500 MB. In bits that is 500 × 8,000,000 = 4,000,000,000. The other units follow by division:
| Unit | 500 MB equals |
|---|---|
| bits | 4,000,000,000 |
| kilobits | 4,000,000 |
| megabits | 4,000 |
| gigabits | 4 |
| terabits | 0.004 |
| Bytes | 500,000,000 |
| Kilobytes | 500,000 |
| Gigabytes | 0.5 |
| Terabytes | 0.0005 |
The download tool opens on a 500 MB file and a speed of 5 Mbit/s. The file is 4,000 megabits, so the time is 4,000 ÷ 5 = 800 seconds, shown as 13 minutes 20 seconds. The tool also lists 800 total seconds, 13.33333333 minutes and 0.2222222222 hours.
For a 1 GB file (8,000 megabits), time = 8,000 ÷ speed:
| Speed | Time for 1 GB | Total seconds |
|---|---|---|
| 10 Mbit/s | 13 minutes 20 seconds | 800 |
| 50 Mbit/s | 2 minutes 40 seconds | 160 |
| 100 Mbit/s | 1 minute 20 seconds | 80 |
| 500 Mbit/s | 16 seconds | 16 |
| 1000 Mbit/s | 8 seconds | 8 |
The tool gives the best case. Real transfers are slower for several reasons: protocol overhead, encryption, Wi-Fi interference, a connection shared with other devices, and limits at the server. Even on a clean wired Ethernet link, TCP over IPv4 carries 1,460 bytes of data in 1,538 bytes on the wire, an efficiency of about 94.9%. At that efficiency the 500 MB file at 5 Mbit/s takes about 14 minutes 3 seconds rather than 13 minutes 20 seconds, and Wi-Fi is usually further below the link rate.
Enter the page views in a period and the average page size, and the tool spreads the data over the seconds in the period. The page opens on 5,000 page views a day with pages of 500 KB and a redundancy factor of 2. The data is 5,000 × 500 KB = 2,500,000 KB a day, which is 20,000,000,000 bits spread over 86,400 seconds: 0.2314814815 Mbit/s on average. The redundancy factor of 2 doubles it to 0.462962963 Mbit/s, which is about 152.1875 GB per month (the tool counts a month as 30.4375 days). Without the factor, the monthly total is 76.09375 GB.
| Average page size | Average speed | Data per month |
|---|---|---|
| 100 KB | 0.0462962963 Mbit/s | 15.21875 GB |
| 500 KB | 0.2314814815 Mbit/s | 76.09375 GB |
| 1,000 KB | 0.462962963 Mbit/s | 152.1875 GB |
| 2,000 KB | 0.9259259259 Mbit/s | 304.375 GB |
| 5,000 KB | 2.314814815 Mbit/s | 760.9375 GB |
The redundancy factor adds headroom for traffic spikes, since a link sized for the average would be swamped at peak. A factor of 2 to 3 is common. Include traffic from search engine bots, which can be larger than the traffic from real visitors.
Hosts often sell a monthly data allowance, while network gear is rated in Mbit/s. The converter treats the allowance as spread evenly over a month of 30.4375 days. With the default 1,000 GB, the average is 8,000,000,000,000 bits ÷ 2,629,800 seconds = 3.04205643 Mbit/s. Enter a speed instead and leave the usage blank to go the other way: 100 Mbit/s sustained for a month is about 32,872.5 GB.
| Monthly allowance | Average speed |
|---|---|
| 100 GB | 0.304205643 Mbit/s |
| 500 GB | 1.521028215 Mbit/s |
| 1,000 GB | 3.04205643 Mbit/s |
| 5,000 GB | 15.21028215 Mbit/s |
To go between megabits and megabytes per second, divide by 8:
| Speed | Megabytes per second |
|---|---|
| 10 Mbit/s | 1.25 |
| 50 Mbit/s | 6.25 |
| 100 Mbit/s | 12.5 |
| 500 Mbit/s | 62.5 |
| 1,000 Mbit/s | 125 |
The large number is the answer for that tool: the converted amount list, the transfer time, the speed needed, or the converted allowance. Time is shown in days, hours, minutes and seconds, and the download tool also lists total seconds, minutes and hours. Treat every figure as an estimate and leave a margin.
Divide by 8. A 100 Mbit/s connection moves at most 12.5 megabytes each second.
Convert the file size to bits, convert the speed to bits per second, and divide. A 500 MB file is 4,000 megabits, so at 5 Mbit/s it takes 800 seconds, or 13 minutes 20 seconds.
The calculator gives the best case. Protocol overhead, encryption, Wi-Fi, shared connections and server limits all reduce real throughput.
It multiplies the average bandwidth to leave headroom for traffic spikes. A factor of 2 doubles the average.
The allowance is spread evenly over a month of 30.4375 days. A 1,000 GB allowance works out to about 3.04 Mbit/s.
It uses 1,000, the decimal system, so a megabyte is 1,000,000 bytes. A mebibyte (MiB) is 1,048,576 bytes.
Sources: NIST: Prefixes for binary multiples; Wikipedia: Data-rate units; Wikipedia: Ethernet frame
Pick another tool to jump straight to it.