A bandwidth calculator turns network speeds into times and amounts of data. It finds how long a file takes to download, what speed you need for a deadline, how much data is in flight on a link, how much data a video stream or a call uses, how a baud rate becomes a bit rate, and the capacity of a noisy channel. Choose the task, enter the numbers and press the button. It runs in your browser.
How to use the bandwidth calculator
- Choose what you want.
- Enter the file size, speed, delay or time, with the units.
- Press Calculate.
Bits and bytes
Speeds are given in bits per second, and files in bytes. The Wikipedia article on bit rate says that one byte per second corresponds to 8 bits per second, and that the file transfer rate in bits per second is the file size in bytes, divided by the transfer time in seconds and multiplied by eight.[3] It also gives the prefixes as 1 kbit/s = 1,000 bit/s and 1 Mbit/s = 1,000 kbit/s, and notes that binary prefixes are sometimes used.[3] So the transfer time of a file is the size in bytes times 8, divided by the speed in bits per second. A 1 GB file, which is 8 billion bits, takes 80 seconds at 100 Mbit/s. The calculator shows the time and the speed in megabytes per second, 12.5 MB/s here.
The speed that you need
The same relation works backward. To move 500 MB in 60 seconds, you need 500 million × 8 ÷ 60 = 66.67 Mbit/s. The result is shown in megabits per second and in megabytes per second, since some programs show one and some the other. The line speed that your provider quotes is a maximum. Because of protocol overhead and sharing, the speed that you get is usually 5 to 15 percent lower, so give yourself some margin.
The bandwidth-delay product
The Wikipedia article on the bandwidth-delay product defines it as the product of a data link's capacity, in bits per second, and its round-trip delay time, in seconds.[1] It is the amount of data that can be in flight on the link at one time. The page's example is a residential DSL link of 2 Mbit/s with a 50 ms round trip, which gives 2 × 10⁶ × 50 × 10⁻³ = 100,000 bits, or 100 kbit, which is 12.5 kB. A moderate speed satellite link of 512 kbit/s with a round trip of 900 ms gives 460,800 bits, or 57.6 kB.[1] The window of a transfer protocol must be at least this size to fill the link. The calculator gives the data in bits and in bytes.
Baud and bit rate
The article on the baud says that it is the unit of the symbol rate, in symbols per second, and that if N bits are conveyed per symbol, the symbol rate is the gross bit rate divided by N.[2] Its example is a 64QAM modem, with 64 symbols, in which the bit rate is log₂(64) = 6 times the baud rate.[2] The page also says that baud and bits per second are equivalent only when there are precisely two symbols in the system.[2] So 1,000,000 baud with 64 symbols carries 6,000,000 bit/s, and a 9,600 baud line with two symbols carries 9,600 bit/s. Enter the baud rate and the number of symbols to get the bit rate.
The capacity of a noisy channel
The Shannon–Hartley theorem gives the highest rate at which information can be sent without errors over a channel with noise, C = B log₂(1 + S ÷ N). Here C is in bits per second, B is the bandwidth in hertz, and S ÷ N is the signal-to-noise ratio as a plain ratio, not in decibels.[4] The page's example is a channel with a signal-to-noise ratio of 20 dB and a bandwidth of 4 kHz, whose capacity is 4,000 × log₂(101) = 26.63 kbit/s. It also notes that at 0 dB, the capacity in bits per second equals the bandwidth in hertz.[4] Enter 4 kHz and 20 dB to see the result. The decibels are converted by 10 to the power of the value ÷ 10, so 20 dB is a ratio of 100.
Data used by streams and calls
The stream mode works out the data that a stream uses, from its bit rate and its length. A video stream of 5 Mbit/s uses 5,000,000 ÷ 8 = 625,000 bytes per second, which is 2.25 GB per hour and 4.5 GB in two hours. At that rate, a day of streaming is 54 GB. This helps you to plan a data allowance, and to see what a quality setting costs. Audio calls use much less, often 50 to 100 kbit/s, or 20 to 45 MB per hour.
Example: planning a backup
You want to back up 2 TB of photos over a 50 Mbit/s upload line. The data is 16 trillion bits, so at 50 million bits per second, the transfer takes 320,000 seconds, which is about 3.7 days if the line is fully used. In practice you should allow for about a week. Enter 2 TB and 50 Mbit/s in the download time mode to see this.
Common mistakes
- Mixing bits and bytes. A speed of 100 Mbit/s is 12.5 MB/s.
- Using decibels in the Shannon formula. The ratio must be a plain number, which the calculator works out.
- Expecting the line speed. Overhead and sharing slow real transfers.
- Confusing baud with bit rate. They are equal only for two symbols.
What next
Use this often? Add Bandwidth to your Home screen.
Frequently asked questions
What is a bandwidth calculator?
A tool that converts network speeds into download times, the data used by a stream, the data in flight on a link, and other data-rate figures.
How long does a download take?
Multiply the file size in bytes by 8, and divide by the speed in bits per second. A 1 GB file at 100 Mbit/s takes 80 seconds.
What is the bandwidth-delay product?
The capacity of a link multiplied by its round-trip delay. A 2 Mbit/s link with a 50 ms round trip holds 100 kbit, or 12.5 kB.
How do I convert baud to bit rate?
Multiply by the bits per symbol, log₂ of the number of symbols. At 64 symbols, each symbol carries 6 bits.
What is the Shannon–Hartley theorem?
C = B log₂(1 + S ÷ N). It gives the maximum error-free rate over a noisy channel of bandwidth B.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.