Bytes to Megabits
Convert bytes (B) to megabits (Mb). Both measure digital storage, and the conversion comes up in computing, storage, internet work.
The Formula
``
megabits = bytes × 0.000008
bytes = megabits × 125000
`
One byte is 8.0000e-6 megabits, and one megabit is 125,000 bytes.
Conversion Table
| Bytes | Megabits |
|---|---|
| 1 B | 8.0000e-6 Mb |
| 2 B | 1.6000e-5 Mb |
| 5 B | 4.0000e-5 Mb |
| 10 B | 8.0000e-5 Mb |
| 25 B | 2.0000e-4 Mb |
| 50 B | 4.0000e-4 Mb |
| 100 B | 8.0000e-4 Mb |
| 500 B | 0.004 Mb |
| 1,000 B | 0.008 Mb |
The Other Direction
| Megabits | Bytes |
|---|---|
| 1 Mb | 125,000 B |
| 2 Mb | 250,000 B |
| 5 Mb | 625,000 B |
| 10 Mb | 1,250,000 B |
| 25 Mb | 3,125,000 B |
| 50 Mb | 6,250,000 B |
| 100 Mb | 12,500,000 B |
| 500 Mb | 62,500,000 B |
| 1,000 Mb | 125,000,000 B |
What Each Unit Is
Bytes (B) — 8 bits. Coined at IBM in 1956 for the group of bits encoding one character.
Megabits (Mb) — 1,000,000 bits. The unit internet plans are sold in — deliberately, because it makes the number eight times larger.
A Sense of Scale
One ASCII character is 1 byte- A UTF-8 emoji is often 4 bytes
- HD streaming needs 5 Mbit/s
- 100 Mbit/s downloads at about 12.5 MB/s
Precision
The factor 0.000008 is rounded. For engineering work carry more digits than the table above, and round only at the end — rounding at each step compounds.
Watch Out For
- Mb is megabits, MB is megabytes. A 100 Mbps connection delivers roughly 12.5 MB/s, not 100.
In Code
`javascript
const byteToMegabit = (value) => value * 0.000008;
``
Where This Conversion Comes Up
- Computing
- Storage
- Internet
- Media
- Backups
How Many Decimals Do You Need?
Rounding the factor costs accuracy, and how much depends on the factor. Converting 137 B with the factor truncated at each decimal place:
| Decimals kept | Factor | 137 B becomes | Error |
|---|---|---|---|
| 0 | 0 | 0 | 100.0000% |
| 1 | 0 | 0 | 100.0000% |
| 2 | 0 | 0 | 100.0000% |
| 3 | 0 | 0 | 100.0000% |
| 4 | 0 | 0 | 100.0000% |
The right number of significant figures is set by your input, not by the converter. If you measured bytes to three significant figures, the answer in megabits is only good to three — writing more digits claims precision the measurement never had.
Other Conversions From Bytes
The same value in every other unit this converter supports for data:
| From | To | Unit |
|---|---|---|
| 1 B | 8 b | Bits |
| 1 B | 0.008 Kb | Kilobits |
| 1 B | 0.001 KB | Kilobytes |
| 1 B | 1.0000e-6 MB | Megabytes |
| 1 B | 1.0000e-9 GB | Gigabytes |
| 1 B | 1.0000e-12 TB | Terabytes |