Calcylator
Kilobytes to Megabytes

Kilobytes to megabytes:
divide by 1,000

Convert KB to MB for email attachments, photos and upload limits, with a chart, worked examples and the decimal versus binary caveat.

Calcylator Editorial Team

Updated · 5 min read

How many KB are in a MB?

In decimal units, 1 megabyte (MB) is 1,000 kilobytes (KB). That is the system used by the converter on this site: kilo is a thousand, mega is a million, so a megabyte is a thousand kilobytes or 1,000,000 bytes.

Binary units behave differently. A mebibyte (MiB) is 1,024 kibibytes (KiB), or 1,048,576 bytes, so 1 MiB is about 4.9 percent larger than 1 MB. Many operating systems and apps use the binary count but still print the older labels, which is where size mismatches come from.

The KB to MB formula

Kilobytes to megabytes =MB = KB ÷ 1,000
MB:
size in megabytes (1 MB = 1,000 KB)
KB:
size in kilobytes
1,000:
kilobytes in one megabyte
To go the other way, multiply: KB = MB × 1,000.
  • Photo size

    2,500 KB

  • Divide

    2,500 ÷ 1,000

Size in MB

2.5 MB

A 2.5 MB photo fits comfortably under an upload limit of 5 MB.

Working backwards, a 3.5 MB document is 3.5 × 1,000 = 3,500 KB. And a 640 KB file is 0.64 MB, a little over half a megabyte.

Chart: KB to MB

Kilobytes to megabytes (1 MB = 1,000 KB)
Kilobytes (KB)Megabytes (MB)
10.001
20.002
50.005
100.01
250.025
500.05
1000.1
2500.25
5000.5
1,0001

Read the chart as a shift of three decimal places: 100 KB is 0.1 MB, and 10 KB is 0.01 MB. Anything under 1,000 KB is less than one megabyte.

Real uses: attachments, uploads and web pages

Email services, job portals and government forms set upload limits in MB, but file managers often list files in KB. If a form allows 2 MB and your scanned document shows 1,800 KB, you are under the limit: 1,800 ÷ 1,000 = 1.8 MB.

Web developers think in KB too. A page script of 350 KB is 0.35 MB, which helps when weighing how much a page costs a visitor on mobile data.

Adding up files before you upload

When several files go into one upload, add them in KB first, then convert once. Three documents of 640 KB, 850 KB and 1,200 KB come to 2,690 KB, and 2,690 ÷ 1,000 = 2.69 MB. Converting each file separately and rounding every time can drift off by a few kilobytes.

The same method works for budgets of any size. A 10 MB attachment limit is 10,000 KB, so a photo of 4,200 KB leaves 5,800 KB free for other files. A 128 KB script is 0.128 MB, a size that is easy to underestimate when it sits beside images of several megabytes.

Be careful with compression and email. Attachments are often encoded in a way that makes them a little larger when sent, so a file of 9,800 KB, which is 9.8 MB, may still be refused by a 10 MB limit. Leave some headroom instead of trying to land exactly on the limit.

Common mistakes when converting KB to MB

  • Dividing by 1,024 and labelling the answer MB. That result is in MiB.
  • Multiplying instead of dividing. A megabyte is the bigger unit, so the MB figure must be smaller than the KB figure.
  • Mixing KB with kb. A lowercase b often means bits, and one byte is 8 bits.
  • Shifting the decimal point by two places instead of three, giving 25 KB as 0.25 MB rather than 0.025 MB.

Common questions

How many KB are in 1 MB?

In decimal units, 1 MB is 1,000 KB. In binary units, 1 MiB is 1,024 KiB. This site uses the decimal system, so 1 MB equals 1,000 KB and 5 MB equals 5,000 KB, which matches how storage is usually advertised.

How do I convert KB to MB?

Divide the kilobytes by 1,000. For example, 2,500 KB ÷ 1,000 = 2.5 MB. Moving the decimal point three places left gives the same answer. For binary units, divide KiB by 1,024 to get MiB.

Is 1,000 KB equal to 1 MB?

Yes, in decimal units 1,000 KB is exactly 1 MB. In binary units it takes 1,024 KiB to make 1 MiB, so 1,000 KiB is slightly less than one mebibyte. Always check which system a tool is using.

How do I convert MB to KB?

Multiply the megabytes by 1,000. For instance, 3.5 MB × 1,000 = 3,500 KB. In binary units, multiply MiB by 1,024 instead, so 3.5 MiB would be 3,584 KiB.

Was this guide helpful?

Continue reading

View all blogs