Convert bits per second (bps) to Mbps, or Mbps back to bps, Kbps, Gbps and bytes per second, and estimate file transfer time from a data rate.

Lowercase b = bits, uppercase B = bytes (8 bits). K, M and G are decimal: 1 Mbps = 1,000,000 bits/s.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Convert a data rateConverts a data rate between bps, Kbps, Mbps, Gbps, bytes/s, kB/s, MB/s and GB/sRequires the data rate, its unit and the result unit
File transfer timeEstimates how long a file takes to transfer at a given data rateRequires the data rate and the file size in MB, GB, TB, MiB or GiB
Speed needed for a target timeFinds the data rate needed to move a file within a set timeRequires the file size, the target transfer time in seconds, minutes or hours, and the result unit

A lowercase b is a bit and an uppercase B is a byte of 8 bits. K, M and G are the decimal prefixes, so 1 Mbps is 1,000,000 bits per second. File transfer time and Speed needed for a target time have one optional setting, protocol overhead in percent, which is the share of the line rate that carries no file data. It is 0% when left blank.

Bits Per Second To Mbps Formulas

Mbps = bps รท 1,000,000 [1]
MbpsData rate in megabits per second
bpsData rate in bits per second

Mega is the SI prefix for 106, and in telecommunications a megabit per second means 1,000,000 bits per second [1]. The binary prefixes are a separate set: a mebibit is 1,048,576 bits.

Convert a data rate

Result = bps รท unit size

The rate is first turned into bits per second and then divided by the size of the result unit: 1,000 for Kbps, 1,000,000 for Mbps, 1,000,000,000 for Gbps, 8 for bytes/s and 8,000,000 for MB/s. A rate of 5,000,000 bps is 5 Mbps, 5,000 Kbps and 0.625 MB/s. A 100 Mbps connection is 100,000,000 รท 8,000,000 = 12.5 MB/s.

Bits per second (bps)Megabits per second (Mbps)
1,0000.001
9,6000.0096
28,0000.028
115,2000.1152
1,000,0001
2,000,0002
10,000,00010
100,000,000100
375,000,000375
1,000,000,0001,000

Mbps to bps

bps = Mbps ร— 1,000,000

The same function runs the other way when Mbps is the entered unit and bps is the result unit. 1 Mbps is 1,000,000 bps, 2 Mbps is 2,000,000 bps, 10 Mbps is 10,000,000 bps and 100 Mbps is 100,000,000 bps.

File transfer time

Time = file bits รท
(rate ร— (1 โˆ’ overhead))

The file size is converted to bits at 8 bits per byte, and the overhead is a fraction, so 10% is 0.10. A 1 GB file is 8,000,000,000 bits, so at 100 Mbps it takes 8,000,000,000 รท 100,000,000 = 80 seconds. With 10% overhead the usable rate is 90 Mbps and the time is 88.9 seconds. MB, GB and TB are decimal and MiB and GiB are binary: 1 GB is 1,000,000,000 bytes and 1 GiB is 1,073,741,824 bytes [1], so 1 GiB at 100 Mbps takes 85.9 seconds.

Speed needed for a target time

Rate = file bits รท
(time ร— (1 โˆ’ overhead))

This is the transfer time formula rearranged. Moving 1 GB in 60 seconds needs 8,000,000,000 รท 60 = 133.3 Mbps, which is 16.67 MB/s.

Limits of This Estimate

  • The unit conversion is exact for decimal prefixes. Some software reports speeds or sizes with binary multiples under the same names, where a megabyte is 1,048,576 bytes [1], so its figures differ by about 5% at the mega level and 7% at the giga level.
  • Transfer times assume the full rate is held for the whole transfer. Real transfers also depend on the slowest link, other traffic, the storage at each end and the protocol, so they usually take longer.
  • The overhead percentage is whatever figure is entered. The calculator does not work it out from a protocol or packet size.

Sources

  1. NIST, Definitions of the SI Units: The Binary Prefixes: SI prefixes as powers of 10, the megabit as 106 bits, binary prefixes, and the byte as 8 bits