Skip to main content
Unit ConvertersFree · no sign-up

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

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 KB0.1000 MB
500 KB0.5000 MB
1,000 KB1.0000 MB
2,000 KB2.0000 MB
5,000 KB5.0000 MB
10,000 KB10.0000 MB
50,000 KB50.0000 MB
100,000 KB100.0000 MB
Computed from the exact factor — rounded only for display.

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.
The practical rule behind the KiB and MiB prefixes

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
kilobytes against megabytesA twin scale: kilobytes along the top against megabytes along the bottom, with 1000 KB marked.KBMB0025,0002550,0005075,00075100,000100KBMB
Kilobytes against megabytes on both scales, with the 1,000 and 1,024 lines drawn apart.
A photo straight off a camera
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

Decimal and binary, in full
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

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.

The same file, both ways
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.

KilobytesMegabytes (decimal)Same number as KiB, in MiB
1 KB0.001 MB0.00098 MiB
100 KB0.1 MB0.098 MiB
500 KB0.5 MB0.488 MiB
1,000 KB1 MB0.977 MiB
1,024 KB1.024 MB1 MiB
2,000 KB2 MB1.953 MiB
5,000 KB5 MB4.883 MiB
10,000 KB10 MB9.766 MiB
25,000 KB25 MB24.414 MiB
100,000 KB100 MB97.656 MiB
1,000,000 KB1,000 MB976.563 MiB
Middle column divides by 1,000 per SI. Right column reads the same number as kibibytes and divides by 1,024, giving mebibytes under IEC 80000-13.

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.

Where the 2.4 percent comes from
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

61 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.

Questions people ask

Sources

Where the constants and formulas on this page come from. Each line names the figure it backs.

  1. 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 technologyInternational Electrotechnical Commission

  2. 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 prefixesNational Institute of Standards and Technology

  3. In SI the prefix kilo denotes 10^3 and mega denotes 10^6, applied identically to every unit.

    The International System of Units (SI) BrochureBureau International des Poids et Mesures