Saved calculators
Conversion

Bits to MB converter

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.

Use as default values for the embed calculator what is currently in input fields of the calculator on the page.
Input border focus color, switchbox checked color, select item hover color etc.

Please agree to the Terms of Use.
Preview

Save calculator

What are bits and megabytes?

A bit (binary digit) is the smallest unit of data in computing, representing a single binary value (0 or 1). Eight bits form a byte, which is the fundamental unit for measuring digital storage. Larger units, such as kilobytes (KB), megabytes (MB), and gigabytes (GB), build on this foundation.

However, confusion arises due to two measurement systems:

  1. SI (International System of Units): Uses base-10, where 1 MB = 10610^6 bytes = 1,000,000 bytes.
  2. Binary (IEC Standard): Uses base-2, where 1 mebibyte (MiB) = 2202^{20} bytes = 1,048,576 bytes.

The distinction is critical. For example, storage manufacturers often use SI units (MB), while operating systems typically display data in binary units (MiB), leading to apparent discrepancies.

Formula

SI system (base-10)

To convert bits to megabytes (MB):

Megabytes (MB)=Bits8×106\text{Megabytes (MB)} = \frac{\text{Bits}}{8 \times 10^6}

Binary system (base-2)

To convert bits to mebibytes (MiB):

Mebibytes (MiB)=Bits8×10242\text{Mebibytes (MiB)} = \frac{\text{Bits}}{8 \times 1024^2}

Key components:

  • 88: Converts bits to bytes.
  • 10610^6: Converts bytes to megabytes (SI).
  • 102421024^2: Converts bytes to mebibytes (IEC).

Examples

Example 1: Converting 8,000,000 Bits to MB

  1. Convert bits to bytes: 8,000,000÷8=1,000,000 bytes.8{,}000{,}000 \div 8 = 1{,}000{,}000 \text{ bytes}.
  2. Convert bytes to MB (SI): 1,000,000÷106=1 MB.1{,}000{,}000 \div 10^6 = 1 \text{ MB}.

Result: 8,000,000 bits = 1 MB.

Example 2: Converting 10,485,760 Bits to MiB

  1. Convert bits to bytes: 10,485,760÷8=1,310,720 bytes.10{,}485{,}760 \div 8 = 1{,}310{,}720 \text{ bytes}.
  2. Convert bytes to MiB (IEC): 1,310,720÷10242=1.25 MiB.1{,}310{,}720 \div 1024^2 = 1.25 \text{ MiB}.

Result: 10,485,760 bits = 1.25 MiB.

Real-world application: Internet speed

If your internet speed is 100 Mbps (100 million bits per second), the maximum download rate in MB/s is:

100,000,0008×106=12.5 MB/s\frac{100{,}000{,}000}{8 \times 10^6} = 12.5\ \text{MB/s}

A 1 GiB (IEC) file = 1,024 MiB. At 12.5 MB/s, the download time would be:

1,024 MiB÷12.5 MB/s82 seconds.1{,}024\ \text{MiB} \div 12.5\ \text{MB/s} \approx 82\ \text{seconds}.

Historical context

Before 1998, the term “megabyte” ambiguously referred to both 10610^6 and 2202^{20} bytes. To resolve this, the International Electrotechnical Commission (IEC) introduced mebibytes (MiB) for binary measurements. Despite this, the SI system remains prevalent in marketing, while technical fields like software development increasingly adopt IEC units. Note that operating systems often display MiB as MB, causing confusion, while storage manufacturers use SI units exclusively.

Notes

  1. Unit Symbols:
    • Bits: b (lowercase).
    • Bytes: B (uppercase).
    • Megabyte: MB (SI) vs. mebibyte: MiB (IEC).
  2. Common Pitfalls:
    • Misinterpreting “MB” as mebibytes.
    • Assuming 1 MB = 1,024 KB (incorrect; 1 MiB = 1,024 KiB).
    • Confusing Mbps (megabits per second) with MB/s (megabytes per second).

Frequently Asked Questions

How many bits are in a MB?

In the SI system: 1 MB = 10610^6 bytes = 8×1068 \times 10^6 bits = 8,000,000 bits.

In the binary system: 1 MiB = 2202^{20} bytes = 8×2208 \times 2^{20} bits = 8,388,608 bits.

Why do storage devices show less space than advertised?

A “256 GB” SSD uses SI units: 256×109256 \times 10^9 bytes = 256,000,000,000 bytes.

In IEC units:

256,000,000,000÷10243238.4 GiB.256{,}000{,}000{,}000 \div 1024^3 \approx 238.4\ \text{GiB}.

This discrepancy explains why your OS reports ~238 GiB instead of 256 GB.

How to convert 50 Mbps to MB/s?

  1. Convert megabits to bits: 50 Mbps=50,000,000 bits per second.50\ \text{Mbps} = 50{,}000{,}000\ \text{bits per second}.
  2. Convert to MB/s: 50,000,0008×106=6.25 MB/s.\frac{50{,}000{,}000}{8 \times 10^6} = 6.25\ \text{MB/s}.

Which system should I use?

  • SI (MB): For storage devices, networking (marketing), and scientific contexts.
  • IEC (MiB): For software, operating systems, and memory.

What is the formula for bits to MiB?

MiB=Bits8×10242\text{MiB} = \frac{\text{Bits}}{8 \times 1024^2}

For 33,554,432 bits:

  1. 33,554,432÷8=4,194,30433{,}554{,}432 \div 8 = 4{,}194{,}304 bytes.
  2. 4,194,304÷1,048,576=44{,}194{,}304 \div 1{,}048{,}576 = 4 MiB.

Report a bug