What Is Taking Up Space on My Hard Drive?
The honest answer is that you cannot tell by looking at Explorer or Finder. Both show you files and folders, not totals โ a folder containing 200,000 small files looks the same as an empty one until you open its properties and wait. What you need is a measurement, not a guess.
Start with the built-in view
On Windows 11, open Settings โ System โ Storage. On Windows 10 it is Settings โ System โ Storage as well; on macOS it is System Settings โ General โ Storage. You get categories โ apps, photos, documents, system, other โ and a rough idea of the shape of the problem.
This is a map, not a diagnosis. Categories are assembled from file-type rules, so a 40 GB virtual machine disk can land in "Other", and a game installed outside the Store can be counted as documents. Use it to decide whether the space is apps, media or system files, then measure the folders directly.
Why the numbers never add up
Even a correct folder scan will not match the drive's used space exactly. That is normal, and it is worth understanding before you start hunting for a phantom 20 GB:
- pagefile.sys โ the virtual-memory file, typically 1โ1.5ร your RAM, hidden at the root of the system drive.
- hiberfil.sys โ a hidden RAM-sized file used by hibernation and Fast Startup.
- System Volume Information โ restore points and the shadow copies behind Previous Versions. Access is denied even to administrators, so scanners skip it.
- Hard links โ WinSxS is full of them. Many paths point to the same data; counting each path overstates the usage.
- Sparse files โ a 100 GB virtual disk file may occupy 8 GB on disk. "Size" and "Size on disk" differ, and only the second one matters.
- Cloud placeholders โ OneDrive, iCloud Drive and Dropbox files can look full-size while the content is online only.
- Reserved storage โ Windows keeps several gigabytes aside for updates; it is real, and it is not yours to delete.
Measure the folders, not the categories
A disk space analyzer walks the file system and aggregates sizes per folder. The useful views are:
- Tree sorted by size โ each folder as a percentage of its parent. Drill down until the percentages stop making sense, and you have found the culprit.
- Top largest files โ twenty files often explain half of a drive.
- By file type โ video, images, archives, installers. This is how you find the 60 GB of screen recordings you forgot about.
- By age โ files untouched for two years are usually the safest candidates.
DiskRaptor does all four locally, with no upload and no account. On Windows, scanning a 1 TB drive with a few million files typically finishes in well under a minute; on macOS the parallel engine is faster still.
The usual suspects
| Location | What it is | Typical size |
|---|---|---|
| C:\Users\ | Installers, PDFs, screenshots | 1โ50 GB |
| C:\Users\ | Browser profiles, app caches, Electron apps | 2โ30 GB |
| C:\Windows\WinSxS | Update servicing store (hard links) | 4โ12 GB |
| C:\Windows.old | Previous Windows version | 8โ25 GB |
| C:\hiberfil.sys | Hibernation image = RAM size | 4โ32 GB |
| C:\pagefile.sys | Virtual memory | 2โ48 GB |
| Steam / Epic / Xbox libraries | Installed games | 20โ300 GB |
| Docker, WSL2, VirtualBox, Hyper-V | Virtual disks and images | 5โ200 GB |
| C:\Users\ | iPhone and iPad backups | 5โ150 GB |
| OneDrive / Dropbox folders | Local copies of cloud files | variable |
A quick check on macOS
Open Terminal and measure at the top level instead of clicking through Finder:
df -h
du -xhd1 / | sort -hr | head -20
du -sh ~/Library/* | sort -hr | head
The second command stays on one filesystem (-x) and only goes one level deep (-d1), which keeps it fast. Then repeat it on whichever folder is largest. If the total still does not match, the missing space is usually APFS local snapshots โ tmutil listlocalsnapshots / shows them, and they disappear on their own once Time Machine has run.
What to do once you know
The point of measuring is to avoid deleting the wrong thing. Once you see the real numbers, the decisions are usually obvious: uninstall a game you have not launched in a year, move an archive to an external drive, clean a cache, cap restore points, compact a virtual disk. Work from largest to smallest, and check after each step how much you actually gained.
If you want the short version: measure, delete the top three items, measure again. Repeat until you are comfortable. That is the entire method โ everything else is detail.
Frequently asked questions
Why does Explorer show less free space than the folders use?
Hidden system files (pagefile.sys, hiberfil.sys, System Volume Information) and reserved storage are not shown in normal folder views. A scanner that skips them will report less usage than Windows does.
Can I delete pagefile.sys or hiberfil.sys?
Not by deleting the file. Disable hibernation with powercfg /hibernate off, and leave the page file alone unless you know what you are doing โ Windows manages both deliberately.
What is 'Other' in macOS Storage?
A catch-all for files that do not match Apple's categories: caches, virtual machines, disk images, archives, and some application data. It is not a folder you can open, which is why a folder-level analyzer is more useful.
Is it safe to use a free disk analyzer?
It is, as long as it runs locally. Check that the tool does not upload file names, does not require an account, and does not bundle adware. DiskRaptor is open source, so the scanning code can be audited.
Cleaning the drive is step one
While you are sorting out storage, it is worth ten minutes on the rest of the machine: a VPN on public Wi-Fi, antivirus for the downloads you are about to keep, and an ad blocker for the tracking scripts that follow you around while you look for files.
Affiliate disclosure: the links below are affiliate links. If you buy through them, we may earn a commission at no extra cost to you โ it helps keep DiskRaptor free.
More about our Surfshark partnership.
Related reading
- How to Find the Largest Folders on Windows
- External Drive Full but No Files?
- How to Find Duplicate Files on a PC
- What Is a Disk Space Analyzer?
Reclaim your disk space
DiskRaptor is free, open source, and runs 100% locally.