Helping people with computers... one answer at a time.

Depending on how you look at your disk, the amount of space used can appear quite different. We'll look at some of the possible reasons.

In explorer, under the properties of the "C" drive, the space USED is 70 gb. All folders are shown, and by selecting all the files and folders on the drive contents and properties, I get 31gb used. I can not find the other files anyway.

It's worse than you think. Just with a little poking around I was able to generate several different numbers for the "spaced used" on my hard drive.

I'll admit, it's frustrating. Fortunately it's not something we need look at very often, but you'd think the line between what's used and what's not used would be clear. Actually it is, but there are different ways of looking at "what's used" that don't tell the whole story.

First let's look at the two examples mentioned in the question. Here's Windows Explorer's view on my C: drive, by right-clicking on the drive and clicking on Properties:

C: Drive Properties

As you can see, Explorer reports that about 47.8 gigabytes are in use, and that 24.6 gigabytes is available as free space. If you're just wondering about the free space on the drive, or how much of the drive is in use, these are actually the numbers I'd use - they take pretty much everything into account.

Now, back in Windows Explorer's view of my C: drive:

Windows Explorer open on C:

Click on any file at the root of C:, and type CTRL+A to select All files. Now, right click on any of the files selected and click on Properties:

Properties of All Files selected in C:\

You can see that Windows reports the size of all files in C:\. It reports both size, and something called "size on disk". And neither are the close to the 47.8 gig reported to be in use earlier.

"There are a number of issues that contribute to the difference..."

Let's clear up "size on disk" first. Windows allocates space for files in "clusters" or "allocation units". The size of a cluster varies, but ranges from 512 bytes to 32K or more. On my C: drive the allocation unit is 4096 bytes. What this means is that Windows will allocate 4096 bytes for any file or portion of a file that is from 1 to 4096 bytes in length. A 1 byte file? That takes up 4096 bytes "on disk". 100 byte file? Still takes up 4096 bytes on disk. A 4097 byte file? That takes up 8192 bytes - one complete 4096 byte cluster, plus another 4096 byte cluster to hold the extra byte.

So in determining how much disk space is used by the files, we need to pay attention to the larger "Size on disk" number.

But that number is still very different than the 47.8 gig.

There are a number of issues that contribute to the difference:

  • Hidden and System Files - The Windows Explorer display above was using the default settings which do not display files marked as "hidden" or "system", and as a result they are not included in the calculation. Changing that setting increases the "Size on disk" by approximately 7 gigabytes as all the hidden files on my machine were included in the calculation. Most notably that included the system swap file and hibernation file, both of which are large, and marked as hidden.

  • Directories - directories, or the lists and indexes of the files on your machine, are not files themselves, but they do take up space.

  • The File Allocation Table or Master File Table - The FAT itself, of FAT file system fame, is actually pretty small. The MFT however, used in NTFS file systems, is also stored on disk but not visible as a file. It defines where the used and free space on a disk actually is. Depending on the size of your disk, your files, and the size of the allocation unit, the MFT can be quite large.

  • The Log File - it's a file, but again, you won't see it. This is internal NTFS data.

There's probably much more that I'm not aware of that enters into the picture as well. I know in researching this issue there was no way I could actually get all the numbers to add up. Possible additional culprits further confusing the situation include compressed files (which appear bigger than they really are on disk), junctions and shortcuts which may or may not be counted as files, utilities which may or may not include the recycle bin as part of the "spaced used" since the contents have technically been deleted, and Windows Vista's ability to keep additional versions of files automatically (though where they're kept and how they're managed, I'm currently not sure).

So yes, it is confusing.

But as I said earlier, I would rely on the drive properties to tell you about the actual used/unused state of your drive.

Article C3122 - August 19, 2007

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
23 Comments

Is it normal for all of my drives other than my "C" drive to show completely full and no available space? And if not how can I clean them up?

Posted by: Bob Bennett at January 24, 2010 12:10 PM

I have looked very deeply into this, and the biggest reason is System Restore. It uses disk shadowing and stores the data in the System Volume Information folder, which is hidden and a system folder. However, that folder will show up as 0kb in size, unless you change the security permissions as an administrator, and then go into the folder. My System Volume Information folder was 139GB!!

I ran cmd as administrator and ran vssadmin. To see used, allocated and maximum space, I used the command: vssadmin list shadowstorage

The max size was set to 140GB. That was almost 5 months of system restore information and checkpoints, so I resized the maximum

vssadmin resize shadowstorage /on=C: /For=C: /Maxsize=30GB

where C is the drive on which you want to limit shadowstorage, and 30GB is the amount you want to limit it too. your drive letter and max size may vary.

Posted by: Bruce Williamson at April 8, 2010 7:52 AM

Look Here:

http://windows.microsoft.com/en-us/windows-vista/Delete-files-using-Disk-Cleanup

I went from 240gb to 274gb,,,I have a usb external drive where I backup my system entirely.
Use the MS way,,,,lol

Cheers y'all

Posted by: 3fees at May 14, 2010 8:26 PM

errata: 274Gb to 240Gb,,,,

Cheers y'all

Posted by: 3fees at May 14, 2010 8:30 PM

I have a problem with my back up and restore. I have researched and came up empty handed. I have cleaned out previous versions of back ups. Here is the problem. I have a laptop that has a SSD and my regular C: now my C drive is full and when I perform my backup to the d drive I refresh and restart. I click back into computer and my C drive is still completely full. Do I have to figure out what was backed up and manually delete. I thought Windows 7 did that. Please help I am confused. Thanks

Backing up does not remove, move or delete any data, it only makes a backup copy of the data. You'll still need to figure out what's taking up space, and delete files appropriately. See Where's my disk space going?
Leo
05-Sep-2011

Posted by: Brooke at September 4, 2011 11:36 PM
Post a comment on "Why does the space used by files on my hard drive show different numbers depending on how I look?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...