GameParticles
Numbers & units

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.

UnitSymbolDecimal sizeBinary size
BitbA single 0 or 1Same
ByteB8 bitsSame
KilobyteKB1,000 bytes1,024 bytes
MegabyteMB1,000 KB1,024 KB
GigabyteGB1,000 MB1,024 MB
TerabyteTB1,000 GB1,024 GB
PetabytePB1,000 TB1,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:

FileTypical size
Plain text note, one pageAbout 2 KB
Email without attachmentsA few KB to tens of KB
Website icon or small logo5 to 50 KB
Word document, mostly text20 to 500 KB
Web page image, compressed100 to 500 KB
Phone photo (JPEG)2 to 5 MB
MP3 song, 4 minutes at 128 kbpsAbout 3.8 MB
PDF with many images1 to 20 MB
One minute of 1080p phone videoAround 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).
KBMB (decimal)MB (binary)
1000.10.098
2500.250.244
5000.50.488
1,00010.977
1,0241.0241
2,00021.953
5,00054.883
10,000109.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.

Tools in this guide

Frequently asked questions

Which is bigger, KB or MB?

MB is bigger. One megabyte equals 1,000 kilobytes in the decimal system, or 1,024 in the binary system. A file of 500 KB is therefore about half a megabyte, and a 2 MB file is around 2,000 KB.

How many KB are in 1 MB?

There are 1,000 KB in 1 MB by the SI decimal definition. Windows and many other programs use the binary convention, where 1 MB is 1,024 KB. The two differ by 2.4 percent, which rarely matters for everyday files.

What is the order of file size units from smallest to largest?

Bit, byte, kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB), petabyte (PB), exabyte (EB), zettabyte (ZB) and yottabyte (YB). A byte is 8 bits, and each unit after that is 1,000 times the one before it, or 1,024 times in binary.

Is 1000 KB the same as 1 MB?

Yes in decimal units: 1,000 KB is exactly 1 MB. On a system that counts in binary, such as Windows, 1,000 KB shows as about 0.98 MB, because it takes 1,024 KB to make one binary megabyte.

More numbers & units guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵