ThisCalculator

Everyday

Windows Storage Analyzer: See What’s Wasting Space

Updated · Standard formula, shown below

Windows Storage Analyzer: See What's Wasting Space

The tool you’re thinking of is WinDirStat (Windows Directory Statistics), a free, open-source program that scans your drives and shows a color-coded treemap of every file and folder, so you can instantly see which files are eating the most space. You download it, pick a drive, and within minutes you get a visual block map where the biggest blocks are the biggest files—no guesswork involved.

Why Windows’ built-in tools aren’t enough

Windows has a built-in Storage Sense and a Settings > System > Storage page that shows broad categories like “Apps” or “Temporary files.” That’s useful for a quick cleanup, but it rarely tells you which specific file—say, a 40 GB video render or a forgotten ISO—is the culprit. WinDirStat and similar tools go a level deeper: they scan the actual file system and list every folder and file by size, so you can see exactly what’s taking up space, down to the last megabyte.

How WinDirStat works

WinDirStat works in three steps:

  • It reads the Master File Table (MFT) or directory structure to enumerate all files and folders.
  • It calculates the size of each folder by summing the sizes of all files inside it.
  • It draws a treemap: each rectangle’s area is proportional to the file’s size, and the color indicates the file type (e.g., blue for video, red for archives, green for documents).

The treemap is the key feature. Large files appear as large rectangles, so you can spot a 30 GB file at a glance. Clicking a rectangle highlights the file in the folder list below, and right-clicking lets you open the containing folder or delete the file directly.

How to use WinDirStat (step by step)

  1. Download WinDirStat from the official site (windirstat.net) or a trusted source like the Microsoft Store (there’s an official port).
  2. Run the installer—it’s a standard Windows installer, no special permissions needed.
  3. Launch WinDirStat. In the drive selection dialog, choose a single drive (e.g., C:) or select “All local drives” to scan everything.
  4. Click OK. The scan takes a few minutes depending on drive size and speed. A progress bar shows the scan status.
  5. When done, you’ll see three panes: the folder list (top left), the file list (top right), and the treemap (bottom). Sort the file list by “Size” descending to see the biggest files first.
  6. Right-click any file or folder to delete it, open it, or open its location in Explorer.

Choosing the right tool for your situation

WinDirStat is excellent for a one-time deep scan, but it has a few quirks. It can be slow on very large drives (4+ TB) because it reads every file’s metadata. It also doesn’t refresh automatically—you have to rescan after cleaning. If you want a more modern alternative, consider these:

  • WizTree: Uses the MFT directly, making it much faster than WinDirStat on NTFS drives. The free version shows a similar treemap.
  • TreeSize Free: A classic folder-size tool that lists sizes in a tree view, with a pie chart. It’s lighter than WinDirStat and good for quick checks.
  • SpaceSniffer: Uses a zoomable treemap and lets you filter by file type or size. It’s portable (no install needed).

All are free for personal use. If you’re on a corporate machine, check your IT policy before installing third-party tools.

Common problems and how to avoid them

One common mistake is misreading the treemap colors—by default, WinDirStat uses a fixed color scheme, but you can change it in Options > Colors. Another issue is that some files are “system protected” and can’t be deleted even with admin rights; don’t force-delete files in C:\Windows or C:\Program Files unless you know exactly what they are. Also, WinDirStat shows the “apparent size” (the file’s logical size), not the “size on disk” (which includes cluster slack). For most files the difference is small, but for thousands of tiny files, the disk usage can be higher than the apparent size. To see both, right-click a column header and enable “Size on Disk.”

Safety and what to delete (and what not to)

WinDirStat itself is safe—it only reads file metadata and doesn’t modify anything unless you right-click and choose “Delete.” The danger is in what you choose to delete. Common safe-to-delete items include:

  • Files in your Downloads folder that you no longer need.
  • Old installer files (.msi, .exe) for software you’ve already installed.
  • Temporary files (though Windows’ Disk Cleanup handles these better).
  • Large video or image files you’ve already backed up.

Never delete files in C:\Windows, C:\Program Files, or C:\ProgramData unless you’re absolutely sure they’re not needed. If you’re unsure, search the file name online first. Also, be cautious with files that have “$” or “System Volume Information” in the path—those are system restore points or shadow copies, and deleting them can break system restore.

Frequently Asked Questions

Is WinDirStat really free?

Yes, it’s open-source (GPL) and free for personal and commercial use. There’s no paid version, and no ads. You can download it from the official site or from the Microsoft Store (the Store version is a port by the same developer).

Why is WinDirStat so slow on my 2 TB drive?

WinDirStat reads every file’s metadata, which takes time on large drives. If you’re on NTFS, try WizTree instead—it reads the MFT directly and can finish in seconds. If you must use WinDirStat, scan only specific folders (e.g., C:\Users\YourName) instead of the whole drive.

Can I delete files directly from WinDirStat?

Yes, right-click a file or folder and choose “Delete (to Recycle Bin)” or “Delete (permanently).” The first option moves it to the Recycle Bin so you can recover it if needed. For folders, you can also open them in Explorer to review contents before deleting.

Does WinDirStat work on SSDs?

Yes, it works on any drive Windows can read, including SSDs, HDDs, USB drives, and network drives. Scanning an SSD is usually faster than an HDD because of faster read speeds.

What’s the difference between “apparent size” and “size on disk”?

Apparent size is the actual file length. Size on disk includes the space used by the file system’s cluster allocation—the smallest unit of disk space. For example, a 1-byte file might take 4 KB on disk because the cluster is 4 KB. WinDirStat shows apparent size by default; you can enable “Size on Disk” column to see the real disk usage.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.