QuickUnits

Data

Kilobytes to megabytes

1 kB = 0.001 MB

—

One megabyte is 1,000 kilobytes decimally, so a kilobyte is 0.001 MB. Of all the storage prefixes this is the one where the binary alternative causes least trouble, because the 2.4 per cent gap at this step is small enough to disappear into rounding.

About the units

The kilobyte was the first storage prefix to be widely used and the first to be misapplied: early computing adopted 1,024 bytes because 2¹⁰ is close to a thousand and the binary value fell naturally out of memory addressing. The lowercase k in the SI system means a thousand, and an uppercase K was sometimes used for the binary value, but the convention was never consistent. The IEC settled it in 1998 with kibibyte, KiB, for 1,024 bytes. Older documentation is unreliable on which is meant, and for kilobyte-scale files the difference rarely matters enough for anyone to check.

The exact factor

The factor is 1,000 decimal, 1,024 binary. At this scale the two differ by 24 bytes in a thousand, which is why a text file listed as 47 kB is described the same way by almost every tool regardless of convention. The divergence only becomes practically important two prefixes up. Worth noting alongside: a kilobyte is 8,000 bits, so a file size in kilobytes multiplied by eight gives the bits that must cross a connection to transfer it.

Where you meet this conversion

Source code, configuration files, plain text and web assets. Web performance work lives at this scale: an HTML document is tens of kilobytes, a stylesheet or script often hundreds, and page weight budgets are set in kilobytes precisely because the megabyte is too coarse to argue about. Font files, favicons and compressed images are all specified here. Email systems still enforce limits in this range for individual message headers and inline content.

Common values

Value (kB) Converted (MB)
1 0.001
2 0.002
5 0.005
10 0.01
25 0.025
50 0.05
100 0.1
500 0.5
1 000 1

Values are rounded for reading. The converter above keeps full precision.

The other way around

1 MB = 1 000 kB

Megabytes to kilobytes multiplies by 1,000. For web work the useful anchor is that 500 kB is half a megabyte, and a page over about 2 MB total is heavy on a mobile connection regardless of which convention counted it.

Value (MB) Converted (kB)
1 1 000
2 2 000
5 5 000
10 10 000
25 25 000
50 50 000
100 100 000
500 500 000
1 000 1 000 000

Related conversions

All data conversions