Megabyte (MB) - Unit Information & Conversion

Symbol:MB
Plural:megabytes
Category:Data Storage

What is a Megabyte?

Definition

A megabyte (MB) is a multiple of the unit byte for digital information. The International System of Units (SI) defines the prefix mega- (M) as 1,000,000 (106). Therefore, one megabyte is exactly 1,000,000 bytes (or 1000 kilobytes).

Similar to the kilobyte, the term "megabyte" has historically been used ambiguously in computing to represent 1,048,576 (220 or 10242) bytes. This binary usage correctly refers to a mebibyte (MiB), a unit defined by the International Electrotechnical Commission (IEC) to eliminate confusion.

History

The prefix 'mega-' (meaning million) was adopted as an SI prefix in 1960. As computer storage capacities grew beyond kilobytes in the 1970s and 1980s, megabyte became a common unit. However, because computer memory and architecture are often based on powers of two, 1024 * 1024 = 1,048,576 bytes became a convenient measure. This led to the widespread but conflicting use of "megabyte" for both 1,000,000 bytes (decimal) and 1,048,576 bytes (binary).

To address this ambiguity, the IEC introduced the binary prefixes (kibi-, mebi-, gibi-, etc.) in 1998. This standard designated MiB (mebibyte) specifically for 220 bytes and reaffirmed MB (megabyte) strictly for 106 bytes. Despite the standard, the dual usage persists, especially in marketing (using MB for 106) versus operating system reporting (often using MB ambiguously for 220, though sometimes correctly using MiB).

Common Uses

The megabyte (MB), representing 1,000,000 bytes, is commonly used for:

  • Measuring the size of medium-sized files (e.g., high-resolution images, MP3 audio files, short video clips, documents with embedded images).
  • Quantifying the capacity of older storage media like floppy disks and CDs.
  • Specifying the size of software downloads or application components.
  • Used by storage device manufacturers (hard drives, SSDs, USB drives) to define capacity based on the decimal system (106 bytes).
  • Measuring data transfer rates in megabytes per second (MB/s or MBps).

The informal use representing 1,048,576 bytes (correctly MiB) appeared frequently in:

  • Quantifying computer RAM capacity (though MiB is the precise term).
  • Reporting file sizes or disk space by many operating systems and software, leading to discrepancies with advertised storage capacities.

Unit FAQs

How many bytes are in a megabyte (MB)?

According to the official SI standard, 1 megabyte (MB) = 1,000,000 bytes (106 bytes). However, in some computing contexts, particularly older ones or relating to RAM, "megabyte" was informally used to mean 1,048,576 bytes (220 bytes). The correct term for 1,048,576 bytes is 1 mebibyte (MiB). Context is key if the specific symbol (MB vs. MiB) isn't used.

How many kilobytes (KB) are in a megabyte (MB)?

Based on the SI standard, 1 megabyte (MB) = 1000 kilobytes (KB) (since 1 MB = 1,000,000 bytes and 1 KB = 1000 bytes). If using the binary interpretation (which should correctly use MiB and KiB), then 1 mebibyte (MiB) = 1024 kibibytes (KiB) (since 1 MiB = 1,048,576 bytes and 1 KiB = 1024 bytes).

What is the difference between a megabyte (MB) and a mebibyte (MiB)?

  • MB (megabyte): Based on the decimal prefix 'mega-', meaning 1,000,000 bytes (106 bytes). This is the SI standard.
  • MiB (mebibyte): Based on the binary prefix 'mebi-', meaning 1,048,576 bytes (220 bytes). This is the IEC standard for binary multiples.

A mebibyte (MiB) is approximately 4.86% larger than a megabyte (MB) (1 MiB ≈ 1.0486 MB). Using MiB when referring to 1,048,576 bytes avoids ambiguity, especially in contexts like RAM measurement or OS file size reporting.

What is the difference between a megabyte (MB) and a megabit (Mb)?

  • A megabyte (MB) measures data storage in bytes. 1 MB = 1,000,000 bytes (SI standard).
  • A megabit (Mb) measures data storage or transfer speed in bits. 1 Mb = 1,000,000 bits (SI standard).

Since 1 byte = 8 bits, 1 megabyte (MB) is equal to 8 megabits (Mb). File sizes are typically measured in MB, while internet speeds are often measured in Mbps (megabits per second).

Megabyte Conversion Formulas

To Bit:

1 MB = 8000000 b
Example: 5 megabytes = 40000000 bits

To Byte:

1 MB = 1000000 B
Example: 5 megabytes = 5000000 bytes

To Kilobit:

1 MB = 8000 kb
Example: 5 megabytes = 40000 kilobits

To Kilobyte:

1 MB = 1000 KB
Example: 5 megabytes = 5000 kilobytes

To Megabit:

1 MB = 8 Mb
Example: 5 megabytes = 40 megabits

To Gigabit:

1 MB = 0.008 Gb
Example: 5 megabytes = 0.04 gigabits

To Gigabyte:

1 MB = 0.001 GB
Example: 5 megabytes = 0.005 gigabytes

To Terabit:

1 MB = 0.000008 Tb
Example: 5 megabytes = 0.00004 terabits

To Terabyte:

1 MB = 0.000001 TB
Example: 5 megabytes = 0.000005 terabytes

To Petabit:

1 MB = 8.0000e-9 Pb
Example: 5 megabytes = 4.0000e-8 petabits

To Petabyte:

1 MB = 1.0000e-9 PB
Example: 5 megabytes = 5.0000e-9 petabytes

To Exabit:

1 MB = 8.0000e-12 Eb
Example: 5 megabytes = 4.0000e-11 exabits

To Exabyte:

1 MB = 1.0000e-12 EB
Example: 5 megabytes = 5.0000e-12 exabytes

To Kibibit:

1 MB = 7812.5 Kib
Example: 5 megabytes = 39062.5 kibibits

To Kibibyte:

1 MB = 976.5625 KiB
Example: 5 megabytes = 4882.8125 kibibytes

To Mebibit:

1 MB = 7.629395 Mib
Example: 5 megabytes = 38.146973 mebibits

To Mebibyte:

1 MB = 0.953674 MiB
Example: 5 megabytes = 4.768372 mebibytes

To Gibibit:

1 MB = 0.007451 Gib
Example: 5 megabytes = 0.037253 gibibits

To Gibibyte:

1 MB = 0.000931 GiB
Example: 5 megabytes = 0.004657 gibibytes

To Tebibit:

1 MB = 0.000007 Tib
Example: 5 megabytes = 0.000036 tebibits

To Tebibyte:

1 MB = 9.0949e-7 TiB
Example: 5 megabytes = 0.000005 tebibytes

To Pebibit:

1 MB = 7.1054e-9 Pib
Example: 5 megabytes = 3.5527e-8 pebibits

To Pebibyte:

1 MB = 8.8818e-10 PiB
Example: 5 megabytes = 4.4409e-9 pebibytes

To Exbibit:

1 MB = 6.9389e-12 Eib
Example: 5 megabytes = 3.4694e-11 exbibits

To Exbibyte:

1 MB = 8.6736e-13 EiB
Example: 5 megabytes = 4.3368e-12 exbibytes

Convert Megabyte

Need to convert Megabyte to other data storage units? Use our conversion tool.