Skip to content

Files & photos

How to Check Disk Usage on Mac: Finder, Terminal (du) and Disk Analyzers

See how full your Mac is and which folders use the space, with Finder, Terminal du and disk analyzers. Includes why the numbers never match.

Diskfern logo, the app icon of the Mac disk space analyzerDiskfern Team10 min readUpdated

Short answer

To check disk usage on a Mac, start with System Settings → General → Storage for the overall picture, then use Finder (List view with "Calculate all sizes") or Terminal (du) to find which folders are largest. A disk analyzer with a treemap shows the same information visually and also reaches hidden folders. All of these methods are read-only: they measure space and do not delete anything. Each tool measures size in a slightly different way, which is why the totals rarely match. This guide shows each method, when to use it, and how to read the differences.
Grav comparing three search instruments: a Finder magnifying glass, a terminal command scroll, and a visual storage treemap
Grav comparing disk usage instruments: macOS Storage settings, Finder List view with size calculation, a Terminal window with du, and an interactive storage treemap.
On this page

Which method should you use?

Methods to check disk usage on Mac
Your questionFastest method
How full is my Mac?Storage settings, or Get Info on your drive
Which of my normal folders is biggest?Finder List view with Calculate all sizes
Which folders hide the most space, including hidden ones?Terminal du, or a disk analyzer
I want to see it as a pictureDisk analyzer (treemap or sunburst)
I need one specific file (a PDF from last month, a big video)Search by type, date and size

1. Check how full your disk is

There are four built-in places. They answer the same question at different levels of detail:

**System Settings → General → Storage.** A colored bar by category (Apps, Documents, Photos, System Data and more). Wait for it to finish calculating.

**Get Info on your drive.** Control-click your startup disk (Macintosh HD) in Finder and choose Get Info. The General section shows capacity, available space and used space.

**Disk Utility.** In Disk Utility, choose View → Show All Devices and select the container under your internal drive to see its used and free space.

**Terminal.** Run df -h /System/Volumes/Data for the Data volume, or diskutil info / to see the container's free space.

A note for macOS 27 Golden Gate users: according to an Apple Community user tip, these places now report consistent free-space values, because macOS 27 no longer shows "purgeable" space separately. On macOS 26 Tahoe and earlier, Storage settings and Get Info showed the larger "Available" number while Disk Utility showed true "Free" space, and the two could differ by tens of gigabytes. If your numbers still do not match, see what System Data is and why it changed in macOS 27.

2. See which folders are biggest in Finder

Finder does not show folder sizes by default, which is why many people think it cannot do this. It can:

  1. Open a Finder window and press Command-Shift-H to go to your Home folder.
  2. Choose View → as List.
  3. Press Command-J to open View Options and tick Calculate all sizes.
  4. Click the Size column header to sort largest first.

Finder takes a moment to calculate. Work down from the largest folder, and open it to repeat the process.

Reach hidden and Library folders:

  • Hold Option while clicking the Go menu to reveal Library.
  • Press Command-Shift-Period to show or hide hidden files and folders.

A lot of space sits inside ~/Library, which Finder tucks away. An Apple Community expert notes that much of what macOS files under System Data is data that apps write there, and that hidden folders beginning with a period (such as .cache) are invisible in Finder but visible to third-party tools.

**Check the real size of one item:** Get Info on a file or folder shows its size and, in brackets, how much space it takes on disk. These two numbers can differ, which matters later in this guide.

3. Check disk usage by folder in Terminal (du)

du (disk usage) is built into macOS and measures folders much faster than clicking through Finder. Open Terminal from Applications → Utilities. If you see "Operation not permitted" messages for some folders, grant Terminal Full Disk Access in System Settings → Privacy & Security.

Size of each item in your Home folder, largest last:

$du -sh ~/* ~/.[!.]* 2>/dev/null | sort -h | tail -20

Size of each folder directly inside ~/Library:

$du -hd 1 ~/Library 2>/dev/null | sort -h | tail -15

Whole Data volume, one level deep (slow; needs Full Disk Access and an administrator password):

$sudo du -xhd 1 /System/Volumes/Data 2>/dev/null | sort -h | tail -15
Terminal du command options explained
PartWhat it does
-sPrint one total per item instead of every subfolder
-hShow sizes in KB, MB or GB
-d 1Go one folder level deep (raise the number to go deeper)
-xStay on one volume, so mounted drives are not counted
sort -hSort human-readable sizes, smallest to largest
tail -20Show only the 20 largest entries
2>/dev/nullHide permission-error messages
.[!.]*Include hidden items that start with a period

How to read the result: the last lines are the biggest. Run the command again on the largest folder to drill down. du only reads; it never changes or deletes anything.

Want an interactive version? ncdu lets you move through folders with the arrow keys. It is not preinstalled on macOS. If you use Homebrew, install it with brew install ncdu, then run ncdu ~.

Find the largest individual files:

$find ~ -type f -size +1G -exec ls -lh {} + 2>/dev/null

That lists files over 1 GB in your Home folder. For more methods aimed at individual files, see how to find large files on Mac.

4. Why Finder, du and Storage settings never match

This is the part most guides leave out. You can run every tool correctly and still get different totals. Common reasons:

  • **Logical size versus space on disk.** A file's size and the space it occupies are different measurements. Get Info shows both. ls -lh reports the logical size, while du reports allocated space. Sparse files, such as some virtual-disk images, can look huge in one and small in the other.
  • **Shared data.** On APFS, copying a file with standard file APIs creates a clone that shares data with the original, per Apple's developer documentation. Tools that measure file by file can count shared data more than once, and deleting one copy may free less than you expect.
  • **Cloud placeholders.** Files stored in cloud services but not downloaded can appear with a full size in Finder while using little local space.
  • **Permissions.** A tool can only count what it is allowed to read. Without Full Disk Access, folder totals come out low. One Apple Community user reported a third-party tool finding 225 GB where Finder-level checks showed about 102 GB.
  • **Space with no folder.** Apple's platform security documentation explains that APFS volumes in one container share its free space, and Time Machine local snapshots hold data that no folder shows. Apple's guidance for the macOS startup container lists hidden Preboot, VM, Recovery and System volumes alongside your Data volume.
  • **Different category rules.** Storage settings sorts files into categories using Spotlight, not by folder. The Apple Community expert found a 200 GB cloud-storage cache in Application Support counted under Applications.

The practical rule: use one tool consistently to compare before and after, and treat differences of a few percent as normal. For gaps of tens of gigabytes, check snapshots and permissions first.

5. Disk analyzers: when a visual map is worth it

A disk usage analyzer (also searched as a disk analyser or disc space analyzer) scans a drive once and draws it as a picture, so the largest items stand out immediately. Two common pictures: • **Treemap:** each folder or file is a rectangle sized by its space. Large rectangles are large items, and folders nest inside each other. • **Sunburst:** concentric rings, where the inner ring is the top-level folders and outer rings are the folders inside them. An analyzer is worth using when space is spread across many levels of folders, when it hides in Library or hidden folders, or when you want to compare a few folders without typing commands.

Mac disk analyzers compared
ToolStyleWorth knowing
macOS StorageCategory barBuilt in; does not show what is inside System Data
GrandPerspectiveFree, open-source treemapConfigurable colors and filters
OmniDiskSweeperFree sorted listNo graphics; fast to browse by size
DaisyDiskSunburstPaid. An Apple Community expert notes the Mac App Store edition cannot scan the full disk, so use the developer's own download for that
Disk Inventory XTreemap by file typeThe same expert warns it is unsigned and Intel-only and is expected to stop working with macOS 28
DiskfernTreemap, sunburst and list in one appFree read-only scans; requires macOS 14 or later

Before you choose, check three things: whether it only reads and never deletes unless you say so, where deletions go (Trash or permanent), and whether it can read protected locations after you grant Full Disk Access. For a deeper look, see the comparison of Mac disk space analyzers.

6. Find specific files by typing plain English

Sometimes you do not want the biggest folder. You want one file: last month's PDF, a video, a screenshot. Diskfern Finder indexes files locally on your Mac and turns plain words into filters. Queries on Diskfern's own feature page include:

  • videos > 1gb
  • pdf this month
  • screenshots this week
  • old >100mb

Words such as "videos", "large", "this week", ">1gb" or "pdf" become filter chips, such as a file type and a date range. You can scope a search to This Mac, your Home folder or any folder you choose. Every result shows its exact logical size, its dates and a Spacebar Quick Look preview, with an estimate of what deleting it would free.

What it searches: it searches locally indexed filenames with filters for type, size and date. It matches file names and metadata, not text inside documents.

7. How Diskfern helps

Diskfern maps your storage in a treemap, a sunburst and a sortable list, so you can switch between a picture and exact numbers without scanning again.

  1. Download Diskfern and open it.
  2. Choose Scan Now for the whole Mac, or Choose Folder for one location.
  3. Grant Full Disk Access if you want it to read more locations. It improves visibility but does not make every protected location readable.
  4. Review the treemap, then switch to the list to sort by exact size.
  5. Select an item to inspect its path, size, dates, owner and Safe, Review or Protected label before you do anything.

Scanning, the three views, search and Quick Look are free. Moving items to the Trash from Diskfern is part of Pro. Diskfern never bypasses macOS protections.

8. You found the biggest folder. Now what?

Size alone does not mean you can delete something. Before touching a large folder:

  • Check which app owns it.
  • Ask whether it can be rebuilt (a cache) or holds data you cannot recreate (a database, a library, a backup).
  • Prefer the owning app's own cleanup controls.
  • Move items to the Trash rather than deleting permanently, and keep a backup of anything personal.

See is this Mac file safe to delete for a full triage method, and which Library folders are safe to delete for the biggest hotspot.

Frequently asked questions

How do I check disk usage on a Mac?
Open System Settings → General → Storage for categories and total use. To find which folders are largest, use Finder's List view with Calculate all sizes, the du command in Terminal, or a disk analyzer.
What is the Terminal command to check disk usage on Mac?
df -h /System/Volumes/Data shows used and available space on your Data volume, and du -sh ~/* shows the size of each item in your Home folder. Add | sort -h to sort the results.
Why does Finder not show folder sizes?
By default, Finder only shows folder sizes in List view after you tick Calculate all sizes in View Options (Command-J), because calculating them takes time.
Why is du different from what Finder shows?
They can measure different things (file size versus space allocated on disk), they may treat shared APFS clone data differently, and each can only count files it has permission to read. Get Info shows both the size and the size on disk for any item.
Is it safe to run du?
Yes. du only reads file information and does not change or delete anything. Only commands that include rm, tmutil delete or similar can remove data.
Do I need to install anything to check disk usage?
No. Storage settings, Get Info, Disk Utility, Finder and Terminal's du and df are all included with macOS. ncdu and visual analyzers are optional extras.
What is the best free disk usage analyzer for Mac?
GrandPerspective and OmniDiskSweeper are free. Diskfern's scanning, three views and search are also free, though cleaning from within Diskfern requires Pro. The best choice depends on whether you prefer a treemap, a list or a sunburst.
How do I find files from last month on Mac?
In Finder, use a search with a date filter. In Diskfern Finder, type a plain-English query such as pdf this month, which converts into a file-type and date filter.
Diskfern logo, the app icon of the Mac disk space analyzer

Written by

Diskfern Team

We explain Mac storage using product behavior and the sources listed below. Review your app settings and backups before removing data.

Sources

  • Apple Support: Free up storage space on Mac (storage categories and where to check space) (checked November 19, 2026) · checked November 19, 2026
  • Apple Platform Security Guide: Apple File System (container space sharing; Preboot, VM, Recovery, System and Data volumes) (checked November 19, 2026) · checked November 19, 2026
  • Apple Developer Documentation: Reducing your app's disk usage (APFS clones) (checked November 19, 2026) · checked November 19, 2026
  • Apple Community (read-only; closing November 20, 2026): How to free up 'System Data' and other storage on your Mac and System Data and Free Space Changes in Golden Gate, user tips by neuroanatomist, October 2026 (checked November 19, 2026) · checked November 19, 2026
  • Diskfern product documentation: Find large files with natural-language search, Pricing: Free, Pro and Family (checked November 19, 2026) · checked November 19, 2026
  • Broadcom Support: Investigating disk space in Mac OS X (Get Info and Disk Utility) (checked November 19, 2026) · checked November 19, 2026
  • Mike Robbins: Determine disk usage from the command line on macOS (df, du, ncdu) (checked November 19, 2026) · checked November 19, 2026
Diskfern app icon for macOS, the disk space analyzer that shows what is filling your Mac storage

Get your space back. Start with a free scan.

Explore the files and folders Diskfern can read. Your files stay on your Mac, and nothing is removed until you say so.

macOS 14 Sonoma or later · Apple silicon and Intel