What is kilobyte (decimal)?

A kilobyte in the decimal (SI) system is a data unit equal to 1,000 bytes. It is used by storage manufacturers and network providers to express file sizes and data transfer rates.

Real-world uses

Kilobytes are used for small text files, email messages, web cookies, and simple HTML documents. A plain text email is typically 2–20 kB. Configuration files, scripts, and small images often fall in the kilobyte range. The unit is less commonly used today as typical files have grown to megabyte scale.

History

The kilobyte emerged in the early computing era when memory and storage were measured in small multiples. The ambiguity between 1,000 and 1,024 bytes arose because early computer engineers found it convenient to use powers of two, and 1,024 was close enough to 1,000 until storage capacities grew large enough to make the 2.4% difference meaningful.

Common mistakes

The decimal kilobyte (1 kB = 1,000 bytes) differs from the binary kibibyte (1 KiB = 1,024 bytes). Operating systems historically used "kB" to mean 1,024 bytes, creating confusion. The IEC introduced "KiB" (kibibyte) in 1998 to distinguish the two, but older usage persists.

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).

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 kilobyte (decimal) = 0.001 megabyte (decimal)

1 megabyte (decimal) = 1,000,000 byte

How to convert kilobyte (decimal) to megabyte (decimal)

To convert kilobyte (decimal) to megabyte (decimal), multiply the value by 0.001.

To convert megabyte (decimal) back to kilobyte (decimal), multiply by 1,000.

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: kilobyte (decimal) to megabyte (decimal)

kilobyte (decimal)megabyte (decimal)
0.10.0001
0.50.0005
10.001
20.002
50.005
100.01
250.025
500.05
1000.1
2500.25
5000.5
1,0001

Common values

kilobyte (decimal)megabyte (decimal)
A text email5 kilobyte (decimal)0.005 megabyte (decimal)
An MP3 song (4 min)4,000 kilobyte (decimal)4 megabyte (decimal)
A smartphone photo5,000 kilobyte (decimal)5 megabyte (decimal)
An HD movie5,000,000 kilobyte (decimal)5,000 megabyte (decimal)
A full hard drive1.000000e+09 kilobyte (decimal)1,000,000 megabyte (decimal)