There are 1,024 kilobytes (KB) in one megabyte (MB) when you're measuring digital storage the binary way, and exactly 1,000 KB in one MB when a hardware maker or network engineer uses the decimal definition. The number you get depends on who's counting. Windows and most programming tools default to 1,024. Drive manufacturers, the International System of Units, and the USB-IF use 1,000. Both answers are correct inside their own systems, and confusing them is why a "1 TB" drive shows up as 931 GB in File Explorer.

How Many KB in a MB, Precisely: The Two Definitions That Split Every Answer

The binary answer comes from base-2 arithmetic. A kilobyte in this system is 2 to the 10th power bytes, or 1,024 bytes. A megabyte is 2 to the 20th power bytes, which is 1,048,576 bytes. Divide 1,048,576 by 1,024 and you land on exactly 1,024 KB per MB. That ratio holds all the way up: 1,024 MB in a GB, 1,024 GB in a TB.

The decimal answer comes from base-10 arithmetic. Here a kilobyte is 1,000 bytes and a megabyte is 1,000,000 bytes, giving you exactly 1,000 KB per MB. The same clean ratio carries upward: 1,000 MB per GB and 1,000 GB per TB. This is the system the International Bureau of Weights and Measures (BIPM) publishes in its SI brochure, and it's the one drive vendors and telecom operators follow.

The International Electrotechnical Commission (IEC) tried to end the confusion in 1998 by introducing kibibyte (KiB), mebibyte (MiB), and gibibyte (GiB) for the 1,024-based units. Those terms were formally adopted but never caught on in consumer software. Windows still labels 1,048,576 bytes as "1 MB" rather than "1 MiB," and that labeling choice is the root of most everyday confusion.

So when someone asks how many KB are in a MB, the honest answer is: 1,024 in Windows, macOS's older storage displays, and most file-size tools; 1,000 in drive specifications, network throughput rates, and SI-compliant documentation. The gap is 24 KB per MB, or roughly 2.4%. Small per megabyte, but it compounds brutally at terabyte scale.

Why Your 1 TB Drive Shows 931 GB: The 2.4% Loss Chain

Capacity as sold (decimal) Bytes Shown in Windows (binary) Visible loss
500 GB 500,000,000,000 465 GB 35 GB
1 TB 1,000,000,000,000 931 GB 69 GB
2 TB 2,000,000,000,000 1,862 GB 138 GB
4 TB 4,000,000,000,000 3,725 GB 275 GB

A 1 TB drive marketed at 1,000,000,000,000 bytes is what the maker means. Windows divides that same byte count by 1,024 four times over (bytes to KB to MB to GB to TB) and prints 931 GB. Nothing is missing. The label changed systems mid-conversation.

The loss isn't a flat 2.4% at every level; it's 1,024 divided by 1,000 raised to the power of how many steps you climb. At the kilobyte-to-megabyte level the discrepancy is 2.4%. By the time you reach terabytes it's compounded four times, landing at roughly 9% less than the advertised figure. That's why a 4 TB drive appears to lose 275 GB.

Seagate, Western Digital, and Samsung all state on their packaging and support pages that 1 GB equals 1,000,000,000 bytes, following SI. Microsoft's Windows documentation has used the 1,024 convention since the MS-DOS era and has never switched. Neither party is lying; they're speaking different dialects of the same language.

A practical consequence: if you're sizing a backup, budget for the binary number. A folder that reads 900 GB in Windows needs a drive sold as at least 1 TB, and even then you'll have only about 31 GB of room left after formatting overhead. Formatting itself eats additional space for the file system, so plan a cushion.

Where Each Answer Actually Applies: Windows, macOS, Linux, and Android

Windows File Explorer, the Command Prompt dir command, and Disk Management all report sizes in binary units while using the "KB," "MB," and "GB" labels. When you see a 5 MB photo in Explorer, it's 5 Γ— 1,048,576 bytes, or 5,242,880 bytes. This has been true from Windows 95 through Windows 11 and shows no sign of changing.

macOS switched. Since OS X 10.6 Snow Leopard, Finder has displayed storage in decimal units, so a file macOS calls 5 MB is 5,000,000 bytes. That's why the same external drive can show different free-space numbers on a Mac and a Windows PC sitting side by side. Apple made this shift to match how drives are sold.

Linux splits by tool. The ls -l command and most file managers report raw byte counts or use binary units, while df -H (capital H) uses powers of 1,000 and df -h (lowercase) uses powers of 1,024. Distributions differ on which default their GUI file managers pick, so the same file can read 1.0 MB in one app and 1.05 MB in another on the same machine.

Android's Settings storage screen generally follows decimal units in line with how phone storage is advertised, so a "128 GB" phone shows close to 128 GB of total space before system partitions. The takeaway: never compare a file size across two operating systems without checking which convention each one uses.

The File Sizes You Actually Meet: From a 20 KB Text File to a 4 MB Photo

Real-world anchors make the KB-to-MB conversion concrete. A plain-text email runs about 5 to 20 KB. A single page of typed text is roughly 2 KB. A low-resolution thumbnail image is 10 to 30 KB.

A standard MP3 song at 128 kbps for three minutes lands around 2.8 MB. A 12-megapixel JPEG photo from a phone is typically 3 to 5 MB. A one-minute 1080p video clip runs 50 to 130 MB depending on compression. A two-hour 4K movie stream at high bitrate can exceed 15 GB.

These figures matter for the conversion because they tell you when the 1,000-versus-1,024 gap is trivial and when it matters. A 20 KB text file differs by less than half a kilobyte between systems. A 15 GB movie differs by over 1 GB. If you're checking whether a file fits on a nearly full USB stick, the convention decides the answer.

Worked Conversion: 50 MB in KB, KB to MB, and the Rounding Trap

Here's the arithmetic laid out so you can repeat it. To convert MB to KB in the binary system, multiply by 1,024: 50 MB Γ— 1,024 = 51,200 KB. In the decimal system, multiply by 1,000: 50 MB Γ— 1,000 = 50,000 KB. The gap between the two answers is 1,200 KB, or about 1.2 MB.

Going the other direction, divide. A 250,000 KB file is 244.14 MB in binary (250,000 Γ· 1,024) and 250 MB in decimal (250,000 Γ· 1,000). Rounding here is where people get burned. If you round 244.14 up to 245 MB and quote that to a colleague, you've introduced a second error on top of the first.

Watch the trap in spreadsheets. Excel stores numbers as doubles and has no built-in unit awareness, so a cell that says "1,024 KB" next to a cell saying "1 MB" won't reconcile unless you build the conversion yourself. A common formula error is dividing by 1,000 when the source data came from a Windows tool, producing a size that's 2.4% too small and silently corrupting a capacity forecast.

For a quick sanity check with no calculator: binary answers run about 2.4% larger than decimal answers at the KB-per-MB step. So 100 MB is 102,400 KB binary or 100,000 KB decimal. Remember the 2.4% and you can spot a wrong answer fast.

When 1 KB β‰  1,024 Bytes: Storage Marketing, ISPs, and the USB-IF

Hard drive and SSD makers publish capacities in decimal bytes because the number is bigger and matches SI. A "256 GB" SSD contains 256,000,000,000 bytes, which Windows reports as 238 GB. The manufacturer isn't shortchanging you; the packaging is honest under SI rules.

Internet service providers quote speeds in decimal megabits per second (Mbps), and network equipment measures in decimal by convention. A "1 Gbps" connection delivers 1,000,000,000 bits per second, which is 125 MB per second in decimal terms, or about 119 MiB per second in binary terms. Throughput calculators that don't specify which convention they use will disagree by roughly 5% at gigabit speeds.

The USB Implementers Forum (USB-IF), which controls USB branding, uses decimal units for USB drive and cable throughput specifications, consistent with the rest of the electronics industry. RAM is the big holdout on the hardware side: memory modules are sold in powers of two (8 GB, 16 GB) and their capacities are inherently binary because of how memory addressing works.

Cloud storage providers vary. Google Drive and Dropbox display decimal sizes in their web interfaces, while the mounted drives they present to your operating system follow the OS convention. That mismatch is why the same 100 GB of photos can look like 93 GB in File Explorer after syncing.

KB vs KiB and MB vs MiB: The Naming Fix That Never Took Off

The IEC's 1998 standard defines a kibibyte as 1,024 bytes and a mebibyte as 1,048,576 bytes. Under that system, there are exactly 1,024 KiB in one MiB, and the "KB" and "MB" labels are reserved for the decimal values of 1,000 and 1,000,000 bytes respectively. This is the technically cleanest answer to the whole question.

Adoption stalled. Windows, macOS, and Android all still print "KB" and "MB" for whatever convention they use internally. The Linux kernel and many open-source tools do honor KiB and MiB, so a Linux ls -lh output may show "1.1 MiB" where Windows shows "1.1 MB" for the same file. Both are describing the same byte count.

The naming mess has real costs. Storage vendors have faced lawsuits over advertised capacities, typically settled by pointing to the fine print that defines 1 GB as 1,000,000,000 bytes. No court has forced a change to the labels, and the IEC standard remains voluntary.

For practical purposes, assume "KB" and "MB" in consumer contexts mean the binary values unless you're reading a drive spec sheet, a network datasheet, or SI-compliant documentation. If precision matters, write KiB and MiB explicitly and both parties will know where they stand.

Quick-Reference Table: KB, MB, GB, and TB in Both Systems

Unit pair Binary (base-2) Decimal (base-10) Gap
KB per MB 1,024 1,000 24 KB
MB per GB 1,024 1,000 24 MB
GB per TB 1,024 1,000 24 GB
Bytes per MB 1,048,576 1,000,000 48,576 bytes

The gap column reveals the compounding effect. Each step up the ladder adds another 2.4% divergence, which is why the terabyte-level discrepancy reaches nearly 10% rather than staying at 2.4%. The reason is simple multiplication, not a hidden reserve: (1,024 Γ· 1,000) raised to the fourth power is about 1.0995, meaning a decimal terabyte equals roughly 0.909 binary terabytes.

Use the table backward to audit a spec sheet. If a vendor lists "1 TB" and also "1,000 GB," they're confirming decimal units. If a tool lists "1 TB" with a size in bytes near 1,099,511,627,776, it's using binary. The byte count is the only unambiguous figure; everything else is a label.

Keep the table in reach when you're comparing storage costs. Cloud providers price per GB in decimal terms (a "1 TB" plan is often 1,000 GB of decimal storage), while the files you're storing may report larger in Windows. You'll get slightly less usable capacity than the plan suggests.

Common Mistakes That Throw Off KB-to-MB Math

Mistake one: mixing conventions in a single calculation. If you pull a size from a drive spec (decimal) and divide it by 1,024 (binary), the answer is wrong by 2.4% at every step. Pick one convention and stay in it for the whole problem.

Mistake two: treating the "missing" space on a new drive as a defect. Users return perfectly good drives because File Explorer shows 931 GB on a 1 TB model. The drive is full-capacity; the label changed systems. Check the byte count in Disk Management before assuming a problem.

Mistake three: confusing bits and bytes. Internet speeds are quoted in bits per second; file sizes are in bytes. There are 8 bits in a byte, so a 100 Mbps connection downloads at about 12.5 MB per second, not 100 MB per second. Combine that with the binary-versus-decimal gap and throughput estimates can be off by more than 15% from reality.

Mistake four: forgetting file system overhead. Formatting a drive with NTFS or APFS consumes space for metadata, and the formatted capacity is always slightly lower than the raw byte count. That's a separate loss from the KB-versus-MB convention and typically amounts to a few hundred megabytes on a multi-terabyte drive.

FAQ

Is 1 MB always 1,024 KB?

No. It's 1,024 KB in binary contexts like Windows File Explorer and 1,000 KB in decimal contexts like drive packaging and network specifications. The 1,024 figure comes from 2 to the 10th power, while 1,000 comes from the SI definition of the mega- prefix. Check the source of a number before converting it.

Why does my 1 TB hard drive show 931 GB in Windows?

Windows divides the drive's 1,000,000,000,000 bytes by 1,024 at each step up the unit ladder, while the manufacturer used 1,000. The result is 931 GB displayed instead of 1 TB. The drive holds the same byte count either way; only the labels differ. This 9% gap is normal across every brand.

Is a KB bigger than a MB?

No, a megabyte is always larger. One MB contains either 1,024 KB or 1,000 KB depending on the convention, so the MB is the larger unit in both systems. The confusion usually comes from the labels being the same even when the underlying math differs.

How many KB are in a GB?

Using binary units, a gigabyte holds 1,024 MB, which is 1,048,576 KB. In decimal units, a gigabyte is 1,000 MB, or 1,000,000 KB. The binary answer is about 4.9% larger than the decimal answer at this level. The gap keeps widening as you climb to TB.

Does macOS count KB differently than Windows?

Yes. Since OS X 10.6 Snow Leopard, Finder has used decimal units, so a file macOS calls 1 MB is 1,000,000 bytes. Windows calls 1,048,576 bytes 1 MB. The same external drive can show different free-space numbers on the two systems. This is a deliberate choice by Apple, not a bug.

What's the difference between a KB and a KiB?

A kilobyte (KB) is 1,000 bytes under the SI standard, while a kibibyte (KiB) is 1,024 bytes under the IEC standard introduced in 1998. Most consumer software ignores the distinction and uses "KB" for 1,024 bytes. Linux tools often honor KiB explicitly.

Can the KB-versus-MB difference cause data loss?

It can cause planning errors, not data loss. If you size a backup drive using decimal assumptions but the files report in binary, your drive may be 9% too small at terabyte scale, and the backup could fail for lack of space. Always size storage using the binary figure your operating system displays.

Do ISPs measure speed in KB or Kb?

Internet service providers quote speeds in kilobits per second (Kbps) or megabits per second (Mbps) using decimal values. That's bits, not bytes, and there are 8 bits per byte. A 100 Mbps connection peaks at about 12.5 MB per second before protocol overhead reduces it further. File-size tools show bytes, so the two figures never match directly.