Calculate bits per second from a data amount and transfer time, or convert a bit rate between bps, kbps, Mbps, Gbps and bytes per second.
- All Unit Converters
- Upload Speed Calculator
- Upload Time Calculator
- Bits Per Second to Mbps Calculator
- Bits Per Second to Packets Per Second Calculator
- Bytes Per Second Calculator
- Data Size Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Bits per second from data and time | Finds the average data rate of a transfer from its size and duration | Requires the data amount and the transfer time |
| Convert a bit rate (bps, Mbps, MB/s) | Converts a data rate from one unit to another | Requires the bit rate, its unit and the unit to convert to |
The data amount can be in bits, bytes, kilobits, kilobytes, megabits, megabytes, mebibytes, gigabits, gigabytes, gibibytes, terabits or terabytes, and the time in seconds, minutes, hours or days. Both functions have a result unit setting, and every result also lists the same rate in bps, kbps, Mbps, Gbps, B/s and MB/s.
Bits Per Second Formulas
| bps | Average data rate in bits per second |
| D | Data amount in bits. One byte is 8 bits [1] |
| t | Transfer time in seconds |
Bits per second from data and time
The data amount is converted to bits and the time to seconds, and the first is divided by the second. A 50 MB file sent in 120 seconds is 400,000,000 bits ÷ 120 s = 3,333,333.33 bps, or 3.33 Mbps.
MB and GB are decimal units: 1 MB is 1,000,000 bytes and 1 GB is 1,000,000,000 bytes. MiB and GiB are counted in powers of 1,024: 1 MiB is 1,048,576 bytes and 1 GiB is 1,073,741,824 bytes [1]. A file size reported in 1,024s belongs in MiB or GiB. The same 50 units entered as MiB give 419,430,400 bits and 3,495,253.33 bps, about 4.9% more.
Convert a bit rate (bps, Mbps, MB/s)
R₁ is the rate entered, F₁ is the number of bits per second in one of its units and F₂ is the number of bits per second in one of the result units. Rates use decimal prefixes, so 100 Mbps is 100,000,000 bps, which is 12.5 MB/s.
| 1 unit of | Bits per second |
|---|---|
| bps | 1 |
| kbps | 1,000 |
| Mbps | 1,000,000 |
| Gbps | 1,000,000,000 |
| B/s (bytes per second) | 8 |
| kB/s | 8,000 |
| MB/s | 8,000,000 |
| GB/s | 8,000,000,000 |
A lowercase b stands for bits and an uppercase B for bytes, so a rate in Mbps is eight times the same rate in MB/s.
Limits of This Estimate
- The result is the average rate over the whole transfer. It does not show peaks, stalls or the rated speed of the connection.
- Only the data amount entered is counted. Protocol overhead, retransmitted packets and compression are not added or removed.
- Sizes counted in 1,024s are often labeled MB or GB [1]. Entering such a size as MB understates the rate by about 4.6%, and as GB by about 6.9%.
Sources
- NIST, Prefixes for Binary Multiples: 8 bits per byte, decimal values of MB and GB, binary values of MiB and GiB, and the mixed use of megabyte
