Skip to main content

How Many Zeros in a Megabyte?

A megabyte (MB) has 6 zeros in the decimal SI system: 1,000,000 bytes, or 106 bytes. This is the definition used by storage device manufacturers, file size displays in most contexts, and the SI standard. In binary computing, 1 MB is often taken to mean 1 mebibyte (MiB) = 1,024 × 1,024 = 1,048,576 bytes — about 4.9% larger than the decimal megabyte. The decimal "6 zeros" definition is the standard one for everyday reference, and the one most people mean when they say "megabyte." See also: How many zeros does a terabyte have.

A megabyte has

6

zeros

Written Form
1,000,000 bytes
Scientific
10⁶ bytes
Binary (IEC)
1,048,576 bytes (MiB)

What Does 1 MB Look Like?

One megabyte of storage holds approximately one million characters of plain text — roughly 500 pages of a typical novel. In practical terms: See also: Zeros in a gigabyte.

  • A plain text document: ~100 KB to a few MB depending on length
  • A single MP3 song at standard quality: 3–5 MB
  • A smartphone photo (JPEG): 2–8 MB depending on resolution and compression
  • A short video clip (a few seconds of HD): 10–50 MB

The megabyte was once the standard measure for floppy disks (1.44 MB) and early hard drives. Today it describes individual files — images, documents, songs — while drive capacity is measured in gigabytes and terabytes.

Decimal vs Binary Megabyte — Why the Difference?

The gap between decimal and binary megabytes exists because computers work in powers of 2 while the SI system uses powers of 10. The nearest power of 2 to 106 is 220 = 1,048,576 — about 4.86% larger. See also: Zeros in a zettabyte.

UnitBytesZerosNotation
Megabyte (decimal, SI)1,000,0006106
Mebibyte (binary, IEC)1,048,576220

Hard drive manufacturers use the decimal megabyte (and gigabyte, terabyte) because it gives larger round numbers. Operating systems have historically used binary units internally. This mismatch is why a 500 GB drive might appear as 465 GB in Windows — both numbers are technically correct; they just use different counting conventions.