Why Windows folder sizes and drive usage disagree
Troubleshooting guides · Storage & drives
File Explorer can show a big folder on a drive whose used-space number tells a different story. Write down which volume, folder and measurement each number describes before trying to make the totals agree.
Windows 11, with NTFS examples. The worksheet accepts manual observations from any platform.
Match the metric and scope
Section titled “Match the metric and scope”Open File Explorer → This PC and record the affected drive. Compare that with a single file’s Properties on that volume. For a folder breakdown, note which paths the tool inspected, whether it followed links, whose access it had and what it skipped. A tool can be accurate about its own scope while leaving a large part of the drive unexplained.
- Size describes the logical length, including holes in a sparse file. A displayed cloud placeholder can represent a file much larger than the local data present.
- Size on disk is a reported allocation reading. Storage clusters can round small allocations up. Compression and sparse ranges can make allocation smaller than length. Tool choice, file streams and filesystem rules influence what is included.
- Volume used is capacity minus total free space when both counters describe the same volume and use compatible accounting. Free bytes available to a user can differ from total free bytes when quotas apply.
- Virtual capacity is what the guest or virtual disk can address or grow toward. A VHDX has its own host file length and host allocation. A WSL guest reading belongs to yet another layer.
Keep exact bytes if available. One GB is 1,000,000,000 bytes. One GiB is 1,073,741,824 bytes. Normalize units before subtracting. Windows sparse files · Windows volume counter semantics
Work through a hard link and a sparse file
Section titled “Work through a hard link and a sparse file”In an illustrative NTFS folder, two names refer to one 2 GiB file that occupies 2 GiB. A third name is a sparse file with a length of 8 GiB and 1 GiB allocated. Summing lengths by name gives 12 GiB. Counting each file once gives 10 GiB of logical length and 3 GiB of reported allocation in this example. Removing one of the two linked names can leave all 2 GiB of that file allocated.
report.binreport-link.binscratch.bin1 GiB allocated out of 8 GiB logical length.A tool that deduplicates needs the same-volume file identity. File name, size and timestamp alone cannot establish a hard link. A junction can send a tool into another directory or volume. Keep linked targets and nested totals out of an additive estimate. Windows uses hard links in its component store, so an ordinary folder total can overstate the separate cost of WinSxS. Hard links and junctions · Component store accounting
Explain what the folder list leaves out
Section titled “Explain what the folder list leaves out”If your folder total is higher than drive usage, check for logical lengths, counted aliases, and linked folders on other volumes. If it is lower, check the declared scope and omissions. Protected directories, alternate data streams, filesystem metadata and snapshot storage can all sit outside an ordinary list of file sizes. Windows system and reserved categories need their owning settings or features for interpretation. Windows file streams
Call the difference unreconciled. Keep denied locations and tools that omit streams or links in the coverage notes. Leave system-managed files in place. If you already removed something and want to know why free space barely changed, use the after-action checks.
Record the readings in the storage worksheet
Section titled “Record the readings in the storage worksheet”Enter one scope’s logical length and reported allocation only when your tool labels them. Note whether the totals count names or unique file IDs. Enter virtual capacity only for a virtual disk. Use the same host volume, tool and free-space metric before and after one action. For the target, enter the total free space required. If an error says you need 2 GB more, add that to the free-space reading taken at the time before entering the target.
The example represents a virtual disk and hypothetical cleanup. It starts 3 GB short, gains 2.5 GB on the host, and remains 0.5 GB short. The 4 GB estimate and 64 GB virtual capacity answer different questions. With JavaScript off, record the same fields in your notes, subtract before from after, and compare each free-space reading with the required total separately.
Use the Windows disk-cleanup guide for other ways to check the affected drive.