What is megabyte (decimal)?

A megabyte in the decimal system is a data unit equal to 1,000 kilobytes. It is commonly used by storage manufacturers, internet service providers, and operating systems to express file sizes and storage capacities.

Real-world uses

Megabytes are the everyday unit for typical file sizes: photos (2–10 MB), MP3 songs (3–10 MB), mobile app downloads (10–100 MB), and email attachments. Mobile data plans are often described in megabytes or gigabytes. A minute of compressed video at 720p is roughly 40–80 MB.

History

The megabyte became a practical everyday unit in the 1980s as personal computers began shipping with hard drives in the megabyte range. Floppy disks (1.44 MB), early hard drives (10–40 MB), and CD-ROMs (650 MB) all popularised the unit during this era.

Common mistakes

The same decimal vs. binary ambiguity as kilobytes applies: 1 MB = 1,000,000 bytes (SI) vs. 1 MB = 1,048,576 bytes (legacy binary). Hard drive manufacturers use the decimal definition, so a "500 MB" drive shows slightly less in an OS that uses binary counting. The binary equivalent is the mebibyte (MiB).

What is gibibyte (binary)?

A gibibyte is a binary data unit equal to 1,024 mebibytes, approximately 1.074 gigabytes. It is used by operating systems and technical documentation to express exact binary storage capacities.

Real-world uses

Gibibytes are used in operating systems, virtual machines, and technical contexts where binary accuracy is needed. macOS (since Catalina), Linux, and Windows all report file sizes and disk capacities in GiB in their file explorers. Virtual machine disk images, RAM allocations, and container storage limits are often specified in GiB.

History

The gibibyte was defined by the IEC in 1998. Prior to this, "gigabyte" was used inconsistently for both 10^9 and 2^30 bytes. The IEC standard clarified terminology, though marketing materials continue to use "GB" in the decimal sense, perpetuating consumer confusion.

Common mistakes

Confusing GiB (gibibyte, 1,073,741,824 bytes) with GB (gigabyte, 1,000,000,000 bytes). The difference is approximately 7.4%. A "1 TB" hard drive contains 1,000,000,000,000 bytes, which the OS displays as approximately 931 GiB, causing widespread confusion about "missing" storage.

When is this conversion used?

Operating systems and storage manufacturers use different base systems (binary vs decimal), which is why a '1 TB' drive shows less than 1 TB in your file manager. Understanding this conversion prevents confusion about available storage.

Worked examples

1 megabyte (decimal) = 0.00093132 gibibyte (binary)

1 gibibyte (binary) = 1.073742e+09 byte

How to convert megabyte (decimal) to gibibyte (binary)

To convert megabyte (decimal) to gibibyte (binary), multiply the value by 0.00093132.

To convert gibibyte (binary) back to megabyte (decimal), multiply by 1,073.741824.

Measurement standards

The International Electrotechnical Commission (IEC 80000-13) defines binary prefixes: 1 KiB = 1,024 bytes, 1 MiB = 1,048,576 bytes. The SI decimal prefixes (kB = 1,000 bytes, MB = 1,000,000 bytes) apply to data units as they do to all SI quantities.

Did you know?

By 2025, the global datasphere is estimated to reach 181 zettabytes — roughly 181 trillion gigabytes. If stored on standard Blu-ray discs, the stack would reach from Earth to Mars and back over 20 times.

Quick reference: megabyte (decimal) to gibibyte (binary)

megabyte (decimal)gibibyte (binary)
0.10.00009313
0.50.00046566
10.00093132
20.00186265
50.00465661
100.00931323
250.02328306
500.04656613
1000.09313226
2500.23283064
5000.46566129
1,0000.93132257

Common values

megabyte (decimal)gibibyte (binary)
A text email0.005 megabyte (decimal)0.00000466 gibibyte (binary)
An MP3 song (4 min)4 megabyte (decimal)0.00372529 gibibyte (binary)
A smartphone photo5 megabyte (decimal)0.00465661 gibibyte (binary)
An HD movie5,000 megabyte (decimal)4.65661287 gibibyte (binary)
A full hard drive1,000,000 megabyte (decimal)931.32257462 gibibyte (binary)