How to see disk usage on a Mac, folder by folder and over time

See disk usage on a Mac folder by folder with Storage settings, the Finder or Terminal, why the totals differ, and how to track what grows.

A laptop beside a row of folders, one much larger than the rest, with a magnifying glass held over it.

To see disk usage on a Mac folder by folder, open Apple menu > System Settings > General > Storage, or turn on folder sizes in the Finder. Both are built in, on a MacBook or a desktop Mac.

The quick answer

Pick the tool by the question:

  1. What kind of file is using the disk? Storage settings.
  2. How big is this folder? The Finder: Get Info for one folder, “Calculate all sizes” for a window of them.
  3. Which folders are biggest, hidden ones too? du in Terminal.
  4. Can I see it all in one picture? A disk map app.
  5. What grew since last month? Save a dated listing and compare two.

Two related questions have their own guides: how much space is free, and which single files are biggest.

Storage settings: storage usage by category

Storage settings sorts used space into categories, such as Applications, Documents and System Data (the category for files that fit no other).

  1. Choose Apple menu > System Settings > General > Storage.
  2. Click the Info button next to Documents.
  3. Click File Browser. It shows how much storage each folder uses.

Some folders already counted in another category are dimmed. macOS, System Data and Other Users & Shared show a size and nothing else. Our guide to checking storage on a Mac walks through this window.

Show folder sizes in the Finder

Calculate all sizes in List view

  1. Open the folder in the Finder. For your home folder, choose Go > Home.
  2. Click the List view button in the toolbar.
  3. Choose View > Show View Options, or press Command-J.
  4. Select “Calculate all sizes”.
  5. Click the Size column header to sort. Click it again to reverse the order.

These view options apply to that folder alone, unless you click Use as Defaults. We checked the “Calculate all sizes” checkbox on macOS Tahoe 26.6.2.

Get Info for one folder

Select the folder and choose File > Get Info, or press Command-I. On macOS Tahoe 26, the Size line gives two figures: the size, then the space it takes on disk in parentheses.

What the Finder misses
  • It can take a while on big folders. The Finder has to add up everything inside. On macOS Tahoe 26 it shows a “Calculating Size” label while you wait.
  • It’s one window at a time. Nothing ranks every folder on the disk.
  • It hides folders. Besides the Library, it hides anything whose name starts with a period.

How to analyze disk usage on a Mac with du

du is the Mac’s built-in command for disk usage. It shows the usage of each folder under the one you name. Unlike the Finder, it lists hidden folders too.

To use it, open Terminal from the Utilities folder in Applications. Paste a command and press Return.

Prefer Terminal? List the biggest folders in your home folder
du -hd 1 ~ 2>/dev/null | sort -hr | head -n 20

This only reads. It lists the 20 biggest folders directly inside your home folder, hidden ones too. The first line is your whole home folder. The shorter du -hd 1 ~ | sort -hr lists them all, biggest first.

  • ~ is your home folder.
  • -d 1 goes one level deep, so each folder directly inside gets a line. -h prints sizes with K, M and G at the end.
  • sort -hr puts the biggest first, and head -n 20 keeps the top 20.
  • 2>/dev/null hides the error lines for folders Terminal can’t read. To see which folders were skipped, run it once without 2>/dev/null.

Then follow the space down: run it again with the biggest folder in place of ~, such as ~/Library, and repeat. This lists folders only. Loose files count toward the total but get no line of their own.

du checks every file under the folder you name. In our test on macOS Tahoe 26.6.2, a large home folder took several minutes. Press Control-C to stop it.

Prefer Terminal? Size one folder you pick
du -sh ~/Downloads
du -sh ~/Downloads/*

Both only read. The first prints one total for the folder. The second prints a line for each item inside, files included, and skips names that start with a period.

For any other folder, type du -sh and a space, drag the folder from the Finder into the Terminal window, then press Return. Dragging types the folder’s location for you.

The du options that matter on macOS

These are from the du manual on macOS Tahoe 26.6.2. Apple’s published manual for macOS Sequoia 15 lists the same options.

  • -h prints sizes in units of 1,024. --si does the same in units of 1,000.
  • -d 2 sets how many levels deep to list. -s prints one total for each item you name.
  • -a adds a line for every file. It can’t be combined with -d or -s: on macOS Tahoe 26.6.2, du -ahd 1 prints a usage message and stops.
  • -c adds a grand total as the last line.
  • -x stays on one volume (a part of a disk that shows up as its own disk), so a drive, disk image or network share mounted inside the folder isn’t counted.
  • -A shows apparent size, the length of each file, instead of the space it takes on disk.
  • -t 1G lists only entries above that size. The 1G form was accepted on macOS Tahoe 26.6.2.
Prompts, errors, and why you don’t need sudo
  • A prompt asking whether Terminal can access a folder. macOS asks for your consent before an app reads Documents, Downloads, Desktop, iCloud Drive or a network volume. Allow it and the folder is counted. Decline and du skips it and carries on. You can change the answer in System Settings > Privacy & Security > Files & Folders.
  • “Operation not permitted”. On macOS Tahoe 26.6.2 without Full Disk Access, the Trash and the Mail, Messages and Safari folders in the Library came back this way. Full Disk Access lets an app read all files, including other apps’ data such as Mail and Messages.
  • Check first before turning on Full Disk Access. It’s a switch for the whole Terminal app in System Settings > Privacy & Security > Full Disk Access, not for one command. While it’s on, everything you run in Terminal has that access. Without it you lose only those few numbers, and Storage settings already sizes Mail and Messages.
  • “Permission denied”. Ordinary file permissions, not privacy. On macOS Tahoe 26.6.2, a folder that belongs to the system’s root account returned it.
  • No sudo. du only reads, and it already runs with your account’s access to your own files. In our test on macOS Tahoe 26.6.2, every error from a du of the home folder was “Operation not permitted”, the privacy block above. Nothing here calls for sudo.
  • No downloads. Apple’s source code says du should have no side effect on disk usage. So it’s written not to pull down cloud-only folders as it walks through them.

Why disk usage totals don’t match Storage settings

Add up the du lines and you probably won’t land on the Storage settings figure. Nothing is broken. The tools count different things.

  • Units. du -h counts in units of 1,024. Apple counts a gigabyte as a billion bytes, so du -h figures look smaller. See why the numbers disagree.
  • Snapshots. A snapshot is a read-only copy of your disk at one moment. It isn’t a file in a folder, so du has no line for it. Time Machine keeps local snapshots on your Mac.
  • Purgeable space. This is space macOS can clear by itself when it needs the room. The same space can count as used and available at once. See what purgeable space is.
  • Categories aren’t folders. Apple says the Storage settings categories don’t match specific folders.
Two boxes of documents side by side, one holding a few more than the other
Fig. 1Storage settings and du count different things, so their totals rarely match, and neither is wrong.
Every reason the numbers differ
  • Units. du -h counts in units of 1,024, and Apple states storage capacity in decimal, with a gigabyte as a billion bytes. Use --si for units of 1,000.
  • Space on disk, not file size. du reports the space a file takes on disk, and -A reports its length. The two can be far apart for a “sparse” file, because APFS, the disk format modern Macs use, only sets aside space for parts that are written. In our test on macOS Tahoe 26.6.2, a 50 MB file with one byte written was 4.0K in du -h and 50M in du -Ah.
  • Clones. A clone is a copy that takes no extra space on disk. Apps that copy with macOS’s standard file methods get one automatically on an APFS volume. On macOS Tahoe 26.6.2, cloning a 32 MB file used almost no extra space, yet du reported 32M for each copy. So a du total can be more than the disk really uses.
  • Hard links. A file with more than one name is counted once per run. On macOS Tahoe 26.6.2, a folder holding a hard link measured 4.0M on its own, and 3.0M when the folder with the other name came first.
  • Snapshots. macOS counts the space of Time Machine’s local snapshots as available. To list them, open Disk Utility, choose View > Show APFS Snapshots and select a volume in the sidebar. Only look: that table can also delete a snapshot.
  • Purgeable space. Available space includes purgeable disk caches (data an app can make again when it needs it).
  • Other volumes. Your internal disk holds several APFS volumes that share one pool of space. Among them are the system volume and a VM volume for swap files. A du of your home folder covers neither.
  • Folders it couldn’t read. du prints a message for each one. In our test on macOS Tahoe 26.6.2, such a folder added nothing to the total.
  • Categories aren’t folders. Apple’s guide for macOS Monterey 12 says the categories don’t match specific folders.
  • Don’t total the disk with du /. On macOS Tahoe 26.6.2, a folder on the data volume answers at two paths, /Users/Shared and /System/Volumes/Data/Users/Shared, and du given both counted it twice. For the disk’s total, use the methods in our storage guide.

Activity Monitor’s Disk tab is not disk usage

Click Disk in the Activity Monitor window and you get disk numbers, but not usage. Apple says it tracks how often your Mac reads from and writes to the disk, and how much data that is. That’s activity, not how full the disk is.

Apps that visualize disk usage on a Mac

A disk map app turns the listing into one picture, in one of two layouts:

  • Treemap. GrandPerspective draws each file as a rectangle whose area is in proportion to its size, and keeps files in the same folder together.
  • Sunburst. DaisyDisk calls its picture a sunburst disk map. Its guide asks you to think of it as a flower: each petal is a folder or a file, and the wider the petal, the larger the item.

Disk Whisk also has a free map of every folder, where you click in to go deeper.

We didn’t test GrandPerspective or DaisyDisk for this guide. A map shows what’s big, and what to remove is still your call. Both apps can delete, so read how each one deletes first: our comparison of eight storage tools covers that.

Price and system needs, from each maker
  • GrandPerspective is open source under the GNU General Public License, and free from SourceForge or $2.99 from the App Store. Its latest release needs macOS 14 or later. It can save the results of a scan and reload them later.
  • DaisyDisk is $9.99 as a one-time purchase for up to 5 personal Macs, on macOS 10.13 or newer. Its free trial scans disks and browses the map, and deleting needs the full version.

How to track disk usage over time

Storage settings shows the disk as it is now, and Apple’s guides to it describe no view of past usage. For a history, keep one yourself: save a listing today, save another in a few weeks, and compare the two.

A calendar beside two stacks of folders, the second stack taller
Fig. 2Two listings taken a few weeks apart show which folders grew in between.
Prefer Terminal? Save today’s listing
du -md 2 ~ 2>/dev/null | sort -k 2 > ~/disk-usage-$(date +%F).txt

This saves a listing of your home folder, two levels deep, in megabytes. It creates one small text file in your home folder, named disk-usage- plus today’s date, and changes nothing else. Run it twice in one day and the second run replaces the first file.

sort -k 2 orders the lines by folder so two listings line up, and > sends the output to the file.

Prefer Terminal? Compare two listings
diff ~/disk-usage-2026-12-01.txt ~/disk-usage-2027-01-01.txt

diff only reads. Use your own dates. Folders that didn’t change aren’t printed. Each one that did appears twice: a < line with the old size in megabytes and a > line with the new one. A > line alone is a new folder, and a < line alone is one that’s gone. Lines such as 5c5 and --- are diff’s own markers.

Why Mac storage keeps filling up has a longer method for finding what grew. It saves its own listing, so follow it from its first step and don’t mix the two files.

Every way to view disk usage on a Mac, compared

Method Shows Misses Best for
Storage settings Space by category, and folders in File Browser What’s inside macOS, System Data and Other Users & Shared A first look
Finder, “Calculate all sizes” Each folder’s size in one window Hidden folders, and every other window A folder you suspect
Finder, Get Info One item’s size and its space on disk Everything else Checking one folder
du in Terminal Every folder it can read, hidden ones too, ranked Snapshots, other volumes, privacy-protected folders Finding the biggest folders
A disk map app The whole scan in one picture Whatever the app can’t read Seeing proportions at a glance
Disk Whisk The disk sorted by kind, and a map of every folder (free) Mail and Messages, unless you allow Full Disk Access One picture free; what grew each week (Storage Story) needs Pro
Dated du listings What changed between two dates Anything before your first listing Finding what grew
Activity Monitor, Disk Data being read and written How full the disk is Not disk usage

What doesn’t work

  • Adding up folders to match Storage settings. The two count in different ways.
  • Running du on / with sudo for the “real” total. It can count your files twice. Storage settings already has the disk’s total.
  • Reading Activity Monitor’s Disk numbers as fullness. They measure reading and writing.

Once you know which folders are big, how to free up space on a Mac covers what to clear first. What System Data is covers the Library.

Sources and how we checked

Menu paths were checked against Apple’s guides for macOS Sequoia 15, macOS Tahoe 26 and macOS 27. Anything read on macOS Tahoe 26.6.2 alone says so in the text.