Convert kilobytes to megabytes
Type a number of kilobytes and read the result in megabytes straight away. A megabyte is 1,024 kilobytes in the binary system, so the converter divides your value by 1,024. Use Swap order to convert megabytes to kilobytes instead.
Why convert kilobytes to megabytes?
The kilobyte and the megabyte are neighbouring units of data size: 1 MB is 1,024 KB. A file manager or an image optimiser often reports a size in kilobytes, while an attachment limit or a page budget is counted in megabytes — so you convert KB to MB.
The relationship is fixed: 1 MB is 1,024 KB in the binary system, which operating systems and this converter use. To turn kilobytes into megabytes, divide their number by 1,024. The converter does this the moment you type a value.
Watch out for two systems. In the decimal system (SI), 1 MB is 1,000 KB, which is why 1,000 KB is often mistaken for a whole megabyte. In fact 1,000 KB is about 0.98 MB, and you reach exactly 1 MB from 1,024 KB. This converter uses the binary system (1,024).
This tool computes both standards: binary (1,024) by default, and the Unit standard button switches it to decimal (1,000). Windows and RAM count in binary, while drive makers, macOS and search engines count in decimal — which is why the same capacity is quoted two different ways.
How does the kilobytes to megabytes conversion work? Formula and example
The conversion rests on a fixed relationship: one megabyte is 1,024 kilobytes. To turn kilobytes into megabytes, divide their number by 1,024.
Full formula: megabytes = kilobytes ÷ 1,024. The other way: kilobytes = megabytes × 1,024.
Example: a file is 5,120 KB. Calculation: 5,120 ÷ 1,024 = 5 MB. Likewise 10,240 KB is 10 MB, because every 1,024 KB makes up one megabyte.
Mind the round values. 1,000 KB is not 1 MB but about 0.98 MB, because a full megabyte has 1,024 KB. Similarly 100 KB is about 0.10 MB. Exactly whole megabytes come from multiples of 1,024: 1,024 KB, 2,048 KB, 5,120 KB and so on.
In Excel, type the formula =A1/1024 in a cell, where A1 holds the value in KB. The other way, megabytes to kilobytes, use =A1*1024.
Kilobytes to megabytes conversion table
The table below converts common kilobyte values into megabytes in the binary system (÷1,024). Values that are not a multiple of 1,024 are shown rounded. To convert another value, use the converter above.
| Kilobytes | Megabytes |
|---|---|
| 100 KB | 0.10 MB |
| 500 KB | 0.49 MB |
| 1,000 KB | 0.98 MB |
| 1,024 KB | 1 MB |
| 2,048 KB | 2 MB |
| 5,120 KB | 5 MB |
| 10,000 KB | 9.77 MB |
| 10,240 KB | 10 MB |
| 25,600 KB | 25 MB |
| 51,200 KB | 50 MB |
| 102,400 KB | 100 MB |
Example: 1,024 KB ÷ 1,024 = 1 MB, while 1,000 KB is only 0.98 MB. Want to convert megabytes to kilobytes? Click Swap order in the converter above.
The full data unit ladder: from smallest to largest
Every data size unit grows by the same multiplier: each one is 1,024 times larger than the previous. The table below shows the order from byte to petabyte, with a typical example of what each unit describes.
| Unit | Relationship | Typical example |
|---|---|---|
| Byte (B) | base unit | one character of text |
| Kilobyte (KB) | 1,024 B | a short email or icon |
| Megabyte (MB) | 1,024 KB | a photo or an MP3 song |
| Gigabyte (GB) | 1,024 MB | a movie or a RAM stick |
| Terabyte (TB) | 1,024 GB | a hard drive |
| Petabyte (PB) | 1,024 TB | a large data centre |
Order from smallest to largest: byte, kilobyte, megabyte, gigabyte, terabyte, petabyte. Each step is a multiplication by 1,024.
When do people most often convert kilobytes to megabytes?
You convert sizes in kilobytes to megabytes mostly with files and limits.
Optimising images for a website
Compression tools report image weight in kilobytes, but a page performance budget is planned in megabytes. Converting lets you check whether a set of graphics weighing 5,120 KB fits within a 5 MB limit.Email attachment limits
Gmail allows an attachment up to 25 MB. If a file shows in kilobytes, you convert it to megabytes and know at once whether it will go through — 25,600 KB is exactly 25 MB.Comparing file sizes
A file manager shows some files in KB and others in MB. Bringing them to the same unit makes them easy to compare, for example a 500 KB file is about 0.49 MB.Telling 1000 and 1024 apart
The converter shows plainly that 1,000 KB is not a whole megabyte but 0.98 MB, and that you reach 1 MB only from 1,024 KB. This is the most common source of confusion with data sizes.
Convert other units to Megabytes
Convert Kilobytes to other units
Explore other unit converters
Frequently asked questions about converting kilobytes to megabytes
How many KB are in 1 MB?
1 MB is 1,024 KB in the binary system, which this converter and operating systems use. In the decimal system (SI), used by storage makers among others, 1 MB is 1,000 KB.
Is 1000 KB 1 MB?
Not quite. In the binary system 1,000 KB is about 0.98 MB, because a full megabyte has 1,024 KB. You reach exactly 1 MB from 1,024 KB. Rounding to 1 MB applies only in the decimal system.
How much is 1024 KB in MB?
1,024 KB is exactly 1 MB. Calculation: 1,024 ÷ 1,024 = 1 MB. This is the base relationship between the kilobyte and the megabyte, which is why it is looked up most often.
How do you convert kilobytes to megabytes?
Divide the number of kilobytes by 1,024. For example, 51,200 KB ÷ 1,024 = 50 MB. The converter does this the moment you type a value, with no button to click.
How many MB are 100, 1000 and 10000 KB?
100 KB is about 0.10 MB, 1,000 KB is about 0.98 MB, and 10,000 KB is about 9.77 MB. The values do not come out round because a full megabyte has 1,024 KB, not 1,000 KB.
How do you convert megabytes to kilobytes?
Multiply the number of megabytes by 1,024. For example, 5 MB × 1,024 = 5,120 KB. Click Swap order to have the converter work in this direction.
Is 1 MB 1,000 or 1,024 KB?
It depends on the system. Operating systems and this converter use the binary system, where 1 MB is 1,024 KB. Storage makers use the decimal system, where 1 MB is 1,000 KB. That is why the same number of kilobytes can give a slightly different result in megabytes.
How do you convert KB to MB in Excel?
Type the formula =A1/1024 in a cell, where A1 holds the value in kilobytes. The other way, megabytes to kilobytes, use =A1*1024. The same formula works in Google Sheets.
What is the order of the units from smallest to largest?
From smallest: byte (B), kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB), petabyte (PB). Each unit is 1,024 times larger than the previous one. A byte describes a single character, while a terabyte describes a drive capacity.

Have a question or suggestion?
If you have spotted an error in the table or have an idea to improve the converter, write to us. We reply to every message.