Everyday Math

Why Does My Hard Drive Show Less Space? KB vs KiB Explained

A 1 TB drive shows about 931 GB because the maker and your computer count with different units. Drive makers use decimal units, where 1 TB is exactly 1,000,000,000,000 bytes. Windows divides that same byte count by powers of 1,024 and still labels the result "GB." Nothing is missing. The same number of bytes just gets a smaller number when you measure in a bigger unit.

That's the main answer to "why does my hard drive show less space," but it isn't the whole answer. Recovery partitions, file system structures, and the operating system itself take more space on top of the unit gap. This guide walks through the arithmetic step by step, shows how to tell normal shrinkage from a real problem, and explains the related mix-up between Mbps and MB/s in internet speeds.

The examples use real numbers you can check. If you'd rather skip the arithmetic, the free data size converter converts between KB, MB, GB, and TB and also estimates download times.

Decimal (SI) prefixes vs binary (IEC) prefixes

Kilo, mega, giga, and tera are SI prefixes, from the International System of Units. Each one means a power of ten: kilo is 1,000, mega is 1,000,000, and so on. The SI Brochure published by the BIPM says these prefixes mean powers of ten only and shouldn't be used for powers of two.

Computers work in binary, so memory sizes come out naturally in powers of two: 1,024, 1,048,576, and so on. For decades people used "kilobyte" for 1,024 bytes simply because 1,024 is close to 1,000. To end the confusion, the International Electrotechnical Commission (IEC) created separate binary prefixes in 1998: kibi (Ki), mebi (Mi), gibi (Gi), and tebi (Ti).

Decimal unit Bytes Binary unit Bytes Binary unit is bigger by
1 kilobyte (KB) 1,000 1 kibibyte (KiB) 1,024 2.4%
1 megabyte (MB) 1,000,000 1 mebibyte (MiB) 1,048,576 4.9%
1 gigabyte (GB) 1,000,000,000 1 gibibyte (GiB) 1,073,741,824 7.4%
1 terabyte (TB) 1,000,000,000,000 1 tebibyte (TiB) 1,099,511,627,776 10.0%

The gap grows with each step. Each binary prefix multiplies by 1,024 instead of 1,000, so the 2.4% difference compounds. That's why a small USB stick seems to lose only a little space, while a big hard drive seems to lose a lot.

The math: why a 1 TB drive shows about 931 GB

Here's the full conversion, so you can repeat it for any drive.

  1. Start with the advertised capacity in bytes. 1 TB = 10^12 = 1,000,000,000,000 bytes.
  2. Find the size of one binary gigabyte. 1 GiB = 2^30 = 1,024 × 1,024 × 1,024 = 1,073,741,824 bytes.
  3. Divide. 1,000,000,000,000 ÷ 1,073,741,824 ≈ 931.32 GiB.
  4. Optionally, convert to binary terabytes. 1,000,000,000,000 ÷ 1,099,511,627,776 ≈ 0.909 TiB.

Windows reports that 931.32 GiB as "931 GB." So the drive holds every byte it promised. The label is just using the larger binary unit.

To see what share seems to vanish: (1,000 − 931.32) ÷ 1,000 ≈ 6.9% when you compare in gigabytes. (The binary unit is 7.4% bigger, so the displayed number is about 6.9% smaller.) If you're unsure how to work out percentages like this, see how to calculate percentages.

A shortcut you can do in your head

Multiply the advertised size in GB by about 0.931 to get GiB, or the size in TB by about 0.909 to get TiB. A 2 TB drive: 2 × 0.909 ≈ 1.82 TiB. A 256 GB SSD: 256 × 0.931 ≈ 238 GiB. These factors come from dividing the decimal unit by the binary one: 10^9 ÷ 2^30 ≈ 0.9313, and 10^12 ÷ 2^40 ≈ 0.9095.

Why drive makers and operating systems disagree

Storage makers use powers of 10

Hard drives, SSDs, USB flash drives, and memory cards are sold in decimal units. That matches the SI definitions, and drive capacity has no natural reason to be a power of two the way memory chips do. Packaging usually includes fine print such as "1 GB = 1 billion bytes," though the wording varies by brand and country.

Windows uses powers of 2 with SI labels

Windows File Explorer has long calculated sizes in powers of 1,024 while showing the labels KB, MB, GB, and TB. Most of the "missing space" confusion comes from this. Windows is measuring in GiB but writing "GB."

macOS, iOS, and Linux vary

Apple switched macOS to decimal units with Mac OS X 10.6 Snow Leopard, and iOS also reports storage in decimal. That's why a 1 TB drive on a Mac shows close to 1 TB. On Linux it depends on the tool: some desktop file managers use decimal units, while the command-line df -h uses powers of 1,024 (df -H uses powers of 1,000). Android's behavior depends on the version and the manufacturer.

The upshot: one drive can show "931 GB" on a Windows PC and "1 TB" on a Mac, and both are correct.

Why does my hard drive show less space than the math predicts?

If your 1 TB drive shows less than about 931 GB in Windows, or noticeably less than 1 TB on a Mac, something besides the unit gap is using space. Here are the usual causes.

Recovery and system partitions

Prebuilt computers often ship with hidden partitions: a recovery image, an EFI system partition the computer needs to boot, and sometimes a vendor tools partition. These partitions are carved out of the drive before you ever see the main volume. Their size depends on the manufacturer and the operating system, from a few hundred megabytes to many gigabytes. Disk management tools such as Windows Disk Management or macOS Disk Utility list every partition, including hidden ones.

File system overhead

Formatting a drive writes structures that track where files live: allocation tables or bitmaps, directory records, and on journaling file systems like NTFS, HFS+, and ext4, a journal (APFS uses copy-on-write metadata instead). This metadata (data about your data) takes a small share of the volume, so a freshly formatted drive never shows 100% free.

Allocation unit slack

File systems hand out space in fixed blocks called clusters or allocation units, commonly 4 KiB. A 2 KiB file still takes a whole 4 KiB block, and a 5 KiB file takes two blocks (8 KiB). Thousands of small files can make "size on disk" noticeably bigger than "size." The Windows file Properties window shows both numbers. One exception: NTFS can store very tiny files inside its file table, so they may show 0 bytes on disk.

The operating system and its working files

On the system drive, the OS itself, updates, a page file or swap file, a hibernation file, restore points or local snapshots, and caches all take space. Some of these grow and shrink on their own. Phones group most of this under a "System" or "Other" category.

Conversion table: advertised capacity vs what you'll see

This table shows the pure unit conversion, before partitions or system files. Use it to check whether your drive is in the normal range.

Advertised capacity Exact bytes In GiB (Windows "GB") In TiB
64 GB 64,000,000,000 59.60 0.06
128 GB 128,000,000,000 119.21 0.12
256 GB 256,000,000,000 238.42 0.23
500 GB 500,000,000,000 465.66 0.45
512 GB 512,000,000,000 476.84 0.47
1 TB 1,000,000,000,000 931.32 0.91
2 TB 2,000,000,000,000 1,862.65 1.82
4 TB 4,000,000,000,000 3,725.29 3.64
8 TB 8,000,000,000,000 7,450.58 7.28

How to read it: if a 2 TB external drive shows about 1.81 or 1.82 TB in Windows, that's normal. If it shows something far off, such as 32 GB (often a partition problem), or a full 2 TB that fails once you fill it past a certain point (a sign of a counterfeit flash drive), look into it with a capacity-testing tool. Fake flash drives report more capacity than they really have, so data written past the real limit can be lost or corrupted.

Bits vs bytes: Mbps vs MB/s for network speeds

A similar mismatch shows up with internet speeds. Internet providers and Wi-Fi gear rate speed in megabits per second (Mbps, lowercase b). Browsers and download managers usually show megabytes per second (MB/s, uppercase B). One byte is 8 bits, so divide Mbps by 8 to get MB/s.

Network speeds also use decimal prefixes: 1 Mbps is 1,000,000 bits per second, not 1,048,576.

Advertised speed Megabytes per second (MB/s) Mebibytes per second (MiB/s)
25 Mbps 3.125 2.98
100 Mbps 12.5 11.92
300 Mbps 37.5 35.76
500 Mbps 62.5 59.60
1 Gbps (1,000 Mbps) 125 119.21

Worked example: how long will a 5 GB download take?

  1. Convert the file to bits: 5 GB × 8 = 40 gigabits = 40,000 megabits.
  2. Divide by the connection speed: 40,000 Mb ÷ 100 Mbps = 400 seconds.
  3. Convert to minutes: 400 ÷ 60 = 6 minutes 40 seconds.

That's the best case. Protocol overhead, Wi-Fi signal quality, network congestion, and the server's own speed limit all slow real downloads, so plan on it taking longer. On a 100 Mbps plan, a download showing around 11–12 MB/s means you're getting close to the full speed. The last few percent go to protocol overhead, and some apps show binary MiB/s, which makes the number slightly smaller.

Quick reference: checking your storage numbers

  • Expected Windows size: advertised GB × 0.931 for GiB, or advertised TB × 0.909 for TiB.
  • Expected Mac or iPhone size: close to the advertised number, minus system files.
  • Prefix ladder: decimal steps are × 1,000; binary steps are × 1,024. The gap is about 2.4% per step and compounds.
  • Bigger gap than the table shows? Check for recovery or EFI partitions, then the OS's own files, page or hibernation files, and snapshots.
  • Lots of small files? Compare "size" with "size on disk" to see allocation slack.
  • Drive fails when nearly full? Test its real capacity; it may be counterfeit.
  • Network speed: Mbps ÷ 8 = MB/s. A lowercase "b" means bits; an uppercase "B" means bytes.
  • Exact byte counts: drive and file property windows on Windows and macOS show the full number of bytes, which settles any question about units.

Frequently Asked Questions

Is a gigabyte 1,000 or 1,024 megabytes?

By the official SI definition, a gigabyte is 1,000 megabytes, or 1,000,000,000 bytes. The 1,024-based unit is properly called a gibibyte (GiB). Many programs still say "GB" when they mean GiB, so check which convention your software uses.

Will reformatting my drive get the missing space back?

No, not the gap caused by decimal vs binary units, because no space is actually missing. Reformatting or deleting partitions can free space that recovery or vendor partitions were using. Be careful, though: removing a recovery partition takes away a way to restore your computer, so make your own recovery media or backup first.

Why does my 16 GB of RAM show as the full 16 GB when my drive doesn't?

Memory chips are built in powers of two, so a module sold as "16 GB" really holds 16 GiB (17,179,869,184 bytes). When the operating system reports it in binary units, the number matches. Drives are sold in decimal units, so their numbers shrink when converted to binary.

Why does a file show a different size in an email or cloud app than on my computer?

Different apps round differently and may use decimal or binary units. The same 5,000,000-byte file is 5.0 MB in decimal but about 4.77 MiB in binary. Email attachments are Base64-encoded, which makes them about 33% larger in transit. See what is Base64.

How much free space should I keep on a drive?

There's no single required number, and the right amount depends on your operating system, file system, and drive type. Operating systems need room for updates, temporary files, and virtual memory, and many SSDs perform better when they aren't completely full. Check your OS maker's documentation for its minimum free-space guidance on the system drive.