Convert transfer rates to bytes per second, bits per second, MB/s or MiB/s, or estimate download time and data transferred from size, speed and time.

B means byte; b means bit. One byte is 8 bits. Decimal prefixes always use 1000; binary prefixes such as MiB always use 1024.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Convert a transfer rateConverts a rate between byte and bit units, such as Mb/s to B/s or MB/s to MiB/sRequires the transfer rate, its unit and the unit for the result
Estimate download timeFinds how long a file takes to transfer at a steady rateRequires the file size and the transfer rate
Data transferred from rate and timeFinds how much data moves at a steady rate over a periodRequires the transfer rate, the elapsed time and the unit for the result
Rate from file size and timeFinds the average rate of a finished transferRequires the file size, the elapsed time and the unit for the result

Rates are accepted in 18 units: bytes per second with decimal prefixes (kB/s to TB/s) or binary prefixes (KiB/s to TiB/s), and bits per second with the same prefixes (kb/s to Tb/s, Kib/s to Tib/s). File sizes run from B to TB and KiB to TiB, and time from seconds to days. Estimate download time has one optional setting, the share of the rate that is not available for file data, which is 0% when left blank. Rate results also list the answer in B/s, MB/s, MiB/s and Mb/s.

Bytes Per Second Formulas

R = S ÷ t
RTransfer rate (B/s)
SData transferred (bytes)
tElapsed time (seconds)

Every function converts its inputs to bytes and seconds first, then uses this relation. An uppercase B means byte and a lowercase b means bit, and one byte is 8 bits [1]. That is why a connection sold as 100 Mb/s moves at most 12.5 MB/s.

Convert a transfer rate

Rout = Rin × Fin ÷ Fout

F is the number of bytes per second in one of each unit. The decimal prefixes k, M, G and T are powers of 1,000, and the binary prefixes Ki, Mi, Gi and Ti are powers of 1,024 [1]. A bit unit is one eighth of the matching byte unit.

UnitBytes per second
1 b/s0.125
1 kb/s125
1 Mb/s125,000
1 Gb/s125,000,000
1 kB/s1,000
1 MB/s1,000,000
1 GB/s1,000,000,000
1 KiB/s1,024
1 MiB/s1,048,576
1 GiB/s1,073,741,824

For example, 100 Mb/s × 125,000 = 12,500,000 B/s, which is 12.5 MB/s or 11.92 MiB/s. Going the other way, 1 MiB/s is 1.048576 MB/s.

Estimate download time

t = S ÷ (R × (1 − o ÷ 100))

Here o is the percentage of the rate that does not carry file data, such as protocol overhead. A 1 GB file at 100 Mb/s takes 1,000,000,000 ÷ 12,500,000 = 80 seconds. With 10% overhead the useful rate falls to 11.25 MB/s and the time rises to 88.9 seconds. Leave the overhead blank when the rate already measures file data. The result is also given in minutes and hours.

Data transferred from rate and time

S = R × t

A steady 5 MB/s for 2 minutes moves 5,000,000 × 120 = 600,000,000 bytes, which is 600 MB or 572.2 MiB. Enter the useful data rate, after any overhead.

Rate from file size and time

This is the main formula used directly. A 500,000-byte file that took 100 seconds averaged 500,000 ÷ 100 = 5,000 B/s, which is 0.04 Mb/s.

Limits of This Estimate

  • Download time and data transferred assume a constant rate. Real transfers vary with congestion, latency, retries and changing throughput, so the actual figure can differ.
  • Decimal and binary units are easy to confuse. A size labeled MB or GB is sometimes counted in powers of 1,024. A gibibyte is 1,073,741,824 bytes, about 7.4% more than a decimal gigabyte [1].
  • Results are rounded for display and use floating-point arithmetic, so this is not a byte-exact accounting tool.

Sources

  1. National Institute of Standards and Technology, Prefixes for Binary Multiples: the byte as 8 bits, decimal prefixes as powers of 1,000 and binary prefixes (Ki, Mi, Gi, Ti) as powers of 1,024