KB to MB Converter
Convert KB to MB — a thousand to one, and why your computer may say 1,024.
Updated
megabytes
1.0000MB
1,000 KB = 1.0000 MB
Advertisement
In short
How many KB are in a MB?
1,000 KB, on the decimal scale that file sizes and storage capacities use. Divide kilobytes by 1,000 for megabytes. If a program divides by 1,024 instead it is counting mebibytes, written MiB, which is 1,048,576 bytes rather than a million.
Both answers are correct. They are answers to two different questions, and only one of them is labelled MB.
kilobytes to megabytes — quick reference
| kilobytes (KB) | megabytes (MB) |
|---|---|
| 100 KB | 0.1000 MB |
| 500 KB | 0.5000 MB |
| 1,000 KB | 1.0000 MB |
| 2,000 KB | 2.0000 MB |
| 5,000 KB | 5.0000 MB |
| 10,000 KB | 10.0000 MB |
| 50,000 KB | 50.0000 MB |
| 100,000 KB | 100.0000 MB |
The formula, worked line by line
One division, and then one decision about which divisor the source intended. The arithmetic never fails on this conversion; the labelling does. Everything below is about telling the two apart quickly rather than about the sum itself, which you can do in your head.
“A number without its unit is not an answer. On this conversion, "MB" is not a unit until you know who wrote it.”
That is not pedantry about notation. It is the reason a file can be under the limit in one window and over it in the next, with no file having changed. The prefixes were introduced precisely so that a size could carry the answer with it instead of relying on the reader to guess.
megabytes = kilobytes / 1,000
mebibytes = kibibytes / 1,024
1 MB = 1,000,000 bytes
1 MiB = 1,048,576 bytes = 1.048576 MB
5,000 KB / 1,000 = 5 MB- Reported size
- 4,032 KB
- Divided by 1,000
- 4.032 MB
- If that KB was really KiB
- 4,128,768 bytes
- Which is
- 4.129 MB
- Decimal answer
- 4.032 MB
Ninety-seven kilobytes of uncertainty on a single photo, arising entirely from a two-letter label. On one file it is noise. Multiplied across a card of four hundred photos it is nearly forty megabytes of disagreement about the same card.
The prefixes, side by side
- kilobyte (kB or KB)
- 1,000 bytes
- kibibyte (KiB)
- 1,024 bytes
- megabyte (MB)
- 1,000,000 bytes
- mebibyte (MiB)
- 1,048,576 bytes
- gigabyte (GB)
- 1,000,000,000 bytes
- gibibyte (GiB)
- 1,073,741,824 bytes
The binary names are formed by contracting the SI prefix with "binary": kilo-binary becomes kibi, mega-binary becomes mebi. The symbols always carry a lowercase i in the middle.
What the standards bodies say
The position is not evenly balanced. IEC 80000-13 defines the binary prefixes as the correct notation for binary multiples, and NIST calls the practice of using SI prefixes for binary quantities unacceptable rather than merely discouraged. The decimal reading of MB is the standards-compliant one; the binary reading is common practice that the standards decline to endorse.
JEDEC, the semiconductor standards body, does still list binary meanings for kilo and mega, but scopes them to semiconductor memory and notes they are recorded to reflect existing usage. That scope matters: it covers RAM chips, not files, not disks and not network transfers, which is where almost every search for this conversion actually comes from.
How to use the KB to MB converter
A megabyte is a thousand kilobytes and a kilobyte is a thousand bytes, so the arithmetic is two decimal points. The reason this conversion generates so much traffic is not the division. It is that a second, incompatible answer — 1,024 — circulates alongside it, and almost nothing on screen tells you which one you are looking at.
Both numbers are real. The decimal one comes from the SI prefixes, where kilo has meant a thousand since 1795 and applies identically to grams, metres and bytes. The binary one comes from computer memory, which is addressed in powers of two, making 1,024 the nearest round number the hardware can produce.
1,000
KB in a megabyte
decimal, the SI prefix
1,024
KiB in a mebibyte
binary, written MiB
2.4%
Gap between the two
and it compounds each step
Advertisement
The fix is not to pick a favourite. IEC 80000-13 gives the binary quantities their own names and symbols — kibibyte and KiB, mebibyte and MiB — so that a figure can say which scale it is on. A file described as 1,024 KiB is unambiguous. The same file described as 1,024 KB is a guess about who wrote the label.
At this scale the difference rarely matters. Two point four percent of a 500 KB image is 12 KB, which no upload limit is tight enough to care about. It matters further up the ladder, where the gap compounds: by the terabyte it is nearly ten percent, which is where the well-known complaint about drive capacities comes from.
- 500 KB decimal
- 0.5 MB
- 1,000 KB decimal
- 1 MB exactly
- 1,024 KB decimal
- 1.024 MB
- 1,024 KiB binary
- 1 MiB = 1.049 MB
- 2,048 KB decimal
- 2.048 MB
Read the middle two rows together. They are the same digits meaning different quantities, which is the entire problem this page exists to describe.
Take the same file up to gigabytes
The gap between the two scales widens at every step. The KB to GB page runs both thousands at once and shows what the difference has grown to.
Open KB to GB →Kilobytes converted to megabytes on the decimal scale, with what the same numeral would mean if the source had really been counting in KiB.
| Kilobytes | Megabytes (decimal) | Same number as KiB, in MiB |
|---|---|---|
| 1 KB | 0.001 MB | 0.00098 MiB |
| 100 KB | 0.1 MB | 0.098 MiB |
| 500 KB | 0.5 MB | 0.488 MiB |
| 1,000 KB | 1 MB | 0.977 MiB |
| 1,024 KB | 1.024 MB | 1 MiB |
| 2,000 KB | 2 MB | 1.953 MiB |
| 5,000 KB | 5 MB | 4.883 MiB |
| 10,000 KB | 10 MB | 9.766 MiB |
| 25,000 KB | 25 MB | 24.414 MiB |
| 100,000 KB | 100 MB | 97.656 MiB |
| 1,000,000 KB | 1,000 MB | 976.563 MiB |
Advertisement
Why there are two numbers at all
Memory is addressed with binary address lines. Ten lines address 1,024 locations, twenty address 1,048,576, and no arrangement of them produces exactly a thousand. Early engineers borrowed the nearest SI prefix rather than invent a word, and 1,024 bytes became a kilobyte by habit rather than by definition.
Storage went the other way. A disk has no address-line constraint on its capacity, so drive makers counted in the decimal units the rest of measurement uses. Two conventions grew up in the same machine, and the collision surfaces every time a file crosses between them.
- One binary kilobyte
- 1,024 bytes
- One decimal kilobyte
- 1,000 bytes
- Ratio
- 1,024 / 1,000 = 1.024
- Two steps up, at MB
- 1.024 x 1.024 = 1.048576
- Difference at the megabyte
- 4.9 percent
The gap is 2.4 percent per step and it multiplies rather than adds. That is why the discrepancy is invisible on a kilobyte and impossible to ignore on a terabyte, where four steps of 2.4 percent have compounded to about ten percent.
Working out which one your tool is using
You can test it in one step rather than searching for documentation. Take a file whose byte count you know exactly, look at what the tool reports in KB, and see which divisor produces it. A 1,000,000-byte file shows as 1,000 KB on a decimal tool and 976.6 KB on a binary one.
Do
- Write KiB and MiB when you mean the binary quantities
- State the byte count when the difference could matter
- Use 1,000 for file sizes, storage and transfer figures
- Check whether a quoted limit is decimal before trusting the headroom
Don't
- Write 1 MB = 1,024 KB as though it were a definition
- Assume two tools showing "MB" mean the same unit
- Round to one decimal place on files under 10 MB
- Mix a binary source with a decimal divisor in one calculation
The one place the ambiguity is genuinely costly is a hard limit near a boundary. A file listed as 25 MB by a binary tool is 26.2 million bytes, and an upload cap written as 25,000,000 bytes will refuse it. The rejection looks arbitrary until you notice that two different megabytes were involved.
Every kilobytes value, worked out
62 common kilobytes figures each get their own page, with the answer at full precision, the arithmetic, what rounding costs, and the nearest real-world reference point on the scale.
Advertisement
Questions people ask
Is 1 MB 1,000 KB or 1,024 KB?
For file sizes, storage capacity and transfer figures it is 1,000 KB, which is the decimal SI definition. The 1,024 figure describes a different unit, the mebibyte, whose correct symbol is MiB. Both quantities are real; only one of them is properly labelled MB, and the confusion comes from software that uses the binary quantity with the decimal label.
Why does my computer show a different size from the one I calculated?
Almost always because the software divided by 1,024 and wrote MB anyway. A 5,000,000-byte file is 5 MB decimal and 4.77 MB binary, so the same file can appear as two different numbers depending on which program is listing it. Comparing the raw byte counts rather than the rounded MB figures settles it immediately.
What is the difference between KB and KiB?
A kilobyte is 1,000 bytes and a kibibyte is 1,024 bytes, a difference of 2.4 percent. KiB was defined by IEC to remove the ambiguity, so a figure written in KiB always means the binary quantity and never needs interpreting. A figure written in KB should mean the decimal one, though software frequently uses it for both.
How many KB is a 5 MB file?
5,000 KB on the decimal scale, which is 5,000,000 bytes. If the tool that reported 5 MB was using binary units, the same file is 5,120 KiB and 5,242,880 bytes, which is 5.24 MB decimal. The gap of about 240 KB matters only when a hard upload limit sits close to the file size.
Which one should I use when the choice is mine?
Use decimal, and write MB. It matches the SI prefixes, it matches how storage and network capacity are sold and measured, and it is the reading the standards support. If you specifically need binary quantities, write KiB and MiB rather than reusing the decimal symbols, so nobody downstream has to guess what you meant.
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
The binary prefixes kibi, mebi and gibi, with symbols KiB, MiB and GiB, are defined for binary multiples of the byte.
IEC 80000-13:2025 Quantities and units — Part 13: Information science and technology — International Electrotechnical Commission
Alternative definitions of the SI prefixes are not permitted, and it is unacceptable to use kilo to represent 2^10.
NIST Special Publication 811, section 4.3 — SI prefixes — National Institute of Standards and Technology
In SI the prefix kilo denotes 10^3 and mega denotes 10^6, applied identically to every unit.
The International System of Units (SI) Brochure — Bureau International des Poids et Mesures
Related guides
Unit Converters
How Many Decimals to Keep When Converting Units
The factor is exact to nine digits. The measurement you typed is good to one. Only one of those two limits the answer, and it is not the factor.
August 19, 2026 · 9 min read
Unit Converters
Converting Temperature Differences: Why 10 °C of Change Is 18 °F, Not 50
A day that warms from 10 °C to 20 °C warms by 18 °F, not 50. The 32 belongs to temperatures — a difference never sees it.
August 16, 2026 · 9 min read
Dates & Time
Time and a Half: The Regular Rate Is Not Your Hourly Wage
Every explanation says multiply your hourly rate by 1.5. That is the wrong number the moment a bonus, a shift differential, or a second pay rate enters the week.
August 30, 2026 · 8 min read