KB vs MB: Which Is Bigger? File Size Units in Order
KB vs MB: a megabyte is bigger, equal to 1,000 kilobytes (or 1,024 in binary). See the file size units in order, real examples and how to convert between them.
Updated
A megabyte (MB) is bigger than a kilobyte (KB). One MB equals 1,000 KB in the decimal system used for storage and file transfers, or 1,024 KB in the binary system used by Windows and for memory. So a 5 MB photo is about 5,000 KB, and a 300 KB document is about 0.3 MB.
File size units in order
Each unit is 1,000 times the one before it. The binary column shows the 1,024-based value that some software uses under the same name.
| Unit | Symbol | Decimal size | Binary size |
|---|---|---|---|
| Bit | b | A single 0 or 1 | Same |
| Byte | B | 8 bits | Same |
| Kilobyte | KB | 1,000 bytes | 1,024 bytes |
| Megabyte | MB | 1,000 KB | 1,024 KB |
| Gigabyte | GB | 1,000 MB | 1,024 MB |
| Terabyte | TB | 1,000 GB | 1,024 GB |
| Petabyte | PB | 1,000 TB | 1,024 TB |
Beyond the petabyte come the exabyte (EB), zettabyte (ZB) and yottabyte (YB), which only come up when describing data centers or global internet traffic.
A common memory aid for the first few is that the prefixes follow the metric order of thousand, million, billion, trillion: kilo, mega, giga, tera.
What a kilobyte and a megabyte look like
A byte holds one character of plain English text, so a kilobyte is about a thousand characters, or a couple of short paragraphs. A megabyte is about a million characters, which is roughly the text of a long novel. Most real files are far bigger than their text because they carry formatting, images, audio or video.
Typical sizes, as rough guides only:
| File | Typical size |
|---|---|
| Plain text note, one page | About 2 KB |
| Email without attachments | A few KB to tens of KB |
| Website icon or small logo | 5 to 50 KB |
| Word document, mostly text | 20 to 500 KB |
| Web page image, compressed | 100 to 500 KB |
| Phone photo (JPEG) | 2 to 5 MB |
| MP3 song, 4 minutes at 128 kbps | About 3.8 MB |
| PDF with many images | 1 to 20 MB |
| One minute of 1080p phone video | Around 60 MB or more |
The dividing line is easy to remember. Text and small graphics live in KB. Photos, songs and scanned documents live in MB. Video, apps and whole devices live in GB, which is covered in How Many MB in a GB.
Converting KB to MB and back
- KB to MB: divide by 1,000 (or by 1,024 for binary).
- MB to KB: multiply by 1,000 (or by 1,024 for binary).
| KB | MB (decimal) | MB (binary) |
|---|---|---|
| 100 | 0.1 | 0.098 |
| 250 | 0.25 | 0.244 |
| 500 | 0.5 | 0.488 |
| 1,000 | 1 | 0.977 |
| 1,024 | 1.024 | 1 |
| 2,000 | 2 | 1.953 |
| 5,000 | 5 | 4.883 |
| 10,000 | 10 | 9.766 |
In decimal the conversion is just a matter of moving the decimal point three places: 2,500 KB is 2.5 MB, and 0.75 MB is 750 KB.
Why 1,000 and 1,024 both exist
Kilo means a thousand everywhere else in the metric system, and the international standard says a kilobyte is 1,000 bytes. But computer memory is built in powers of two, and 2 to the power 10 is 1,024, close enough to a thousand that early engineers reused the name. Both meanings stuck.
Today, storage makers and macOS use 1,000. Windows uses 1,024 while keeping the KB and MB labels. To remove the ambiguity, the 1,024-based units have their own official names, kibibyte (KiB) and mebibyte (MiB), explained in MiB vs MB. At the KB and MB level the gap is only 2.4 percent, so for most everyday questions you can ignore it. It only becomes noticeable on large drives, as shown in How Many GB in a TB.
Mind the capital letters
The case of the letters changes the meaning.
- B is a byte. Lowercase b is a bit, which is eight times smaller.
- KB and MB measure file sizes in bytes. Kb and Mb measure kilobits and megabits, normally seen in connection speeds as kbps and Mbps.
- The strict SI symbol for kilo is a lowercase k, so you will also see kB. It means the same as KB.
- A lowercase m would mean milli, so megabyte is always written with a capital M.
Mixing up Mb and MB is the classic mistake when comparing an internet plan with a download speed. Bits vs Bytes sorts that out.
When the difference between KB and MB matters
The most common real-world case is an upload limit. Job portals, government forms and exam registrations often demand a photo "under 200 KB" or a document "under 2 MB", while a phone camera produces photos of several megabytes. A 4 MB photo is 4,000 KB, twenty times over a 200 KB limit.
Email is another. Gmail caps attachments at 25 MB per message, which is about six such photos.
To get an image under a limit, reduce its pixel dimensions, lower the quality setting, or both. The Image Compressor lets you choose the output format, adjust quality with a before and after preview, and resize, and it shows the resulting file size so you can see when you are under the limit. The guide on how to compress images without losing quality explains which settings to change first.
Using the converter
The Data Size Converter takes a number and a unit and shows the equivalent in bytes, KB, MB, GB, TB and PB in one table. A toggle switches between SI Decimal (1,000) and Binary (1,024), and in binary mode the rows are labeled KiB and MiB so it is clear which definition applies. Each row has a copy button.
For example, enter 4 with the unit set to MB in decimal mode and the KB row reads 4,000. Switch to binary and 4 MiB reads 4,096 KiB.
Try it
Find the size of a file on your computer, type it into the Data Size Converter, and see it in every unit from bytes to terabytes. More converters are in the numbers category.