Need to know how much disk space is available on your device? Quickly check storage usage with these simple commands and methods—whether you’re running out of space on a PC, phone, or tablet. The first step is often the easiest: open your file explorer or settings menu and view the disk usage directly. For advanced users, command-line tools like `df` (Linux/macOS) or `wmic logicaldisk` (Windows) give precise breakdowns, while apps like CleanMyMac or Disk Usage Analyzer offer visual reports.
What You'll Need
- Your operating system (Windows, macOS, Linux, or mobile).
- Admin or superuser privileges (for command-line checks on some systems).
- An internet connection (for mobile or cloud-based tools).
- Basic familiarity with file manager or settings menus.
Step-by-Step
-
Windows:
Open File Explorer (press
Win + Eor find it in the Start menu). Right-click on your primary drive (usuallyC:). SelectProperties. The "Size" field shows total space, and the "Free space" field shows available storage. For a detailed breakdown, click theDetailstab and sort by "Size" or use the command line: Method 2: Command Line Open Command Prompt as Administrator (pressWin + X> "Terminal (Admin)"). Run:wmic logicaldisk get size,freespace,captionThis lists all drives with their sizes and free space. For the C: drive specifically, use:wmic logicaldisk get size,freespace where "deviceid='C:'"Note: If you don’t have admin rights, try running Command Prompt as a regular user—the results may differ slightly. -
macOS:
Open Finder, then go to the Go menu > Computer. Your primary drive (usually Macintosh HD) will show total and free space. For a detailed report, open Terminal and run:
df -hThis lists all mounted filesystems with human-readable sizes. For just the main drive, use:df -h /Alternative: Use the built-in About This Mac > Storage tab for a visual breakdown of used and free space. -
Linux:
Open a terminal and run:
df -hThis shows disk usage for all mounted filesystems. For just your root partition (usually/), use:df -h /Note: If you see "no space left on device," it means your system is low on storage—check for large files (e.g., logs, caches) with:du -sh /path/to/directory - Android: Go to Settings > Storage. Here you’ll see a summary of used and free space across apps and internal storage. For detailed usage: 1. Swipe down the notification panel and tap the three-dot menu > Storage. 2. Tap Internal Storage. Scroll down to see sorted lists of apps and their storage usage. 3. For apps using external SD cards, go to Settings > Storage > Memory > Manage Storage > Internal Storage. Note: Some older Android versions may not show detailed app storage. For USB debugging, connect your phone to a PC and use Windows/macOS file managers to check disk space manually.
- iPhone/iPad (iOS): Go to Settings > General > iPhone Storage (or iPad Storage). This shows a summary of used space, broken down by app. 1. Tap Manage Storage to see a list of apps sorted by size. 2. Tap an app to see its storage usage and options to free up space (e.g., delete photos, offload unused apps). Note: iOS does not show total disk space by default—only storage used by apps and media. For advanced checks, connect your device to a PC and use iTunes/Finder to view drive details.
Common Mistakes
- Ignoring system reserves: Some filesystems (e.g., ext4 on Linux) dedicate space for system logs and temporary files. Run
df -hagain after clearing caches (e.g.,rm -rf ~/.cachein Linux) to see actual free space. - Confusing "free space" with "available space": Free space may not be immediately usable if the filesystem is fragmented or has reserved blocks. Tools like
gparted(Linux) or Disk Utility (macOS) can optimize space. - Overlooking cloud syncs: Services like Google Drive, iCloud, or Dropbox use space even if files are synced offline. Check their storage settings for hidden usage.
- Running out of space unexpectedly: Temporary files (e.g., downloads, browser caches) can fill up space quickly. Use
find /path -type f -size +10M(Linux) to list large files.
Tips
- Regularly audit storage: Schedule checks (e.g., weekly) to avoid running out of space. Set up alerts in Windows (via PowerShell) or Linux (via
monitorspacepackages). - Use cloud storage: For large files, upload them to Google Drive, Dropbox, or OneDrive to free up local space.
- Check app permissions: Some apps clear cache automatically, but others may use unnecessary storage. Review permissions in Settings > Apps on mobile or Task Manager (Windows) for memory-intensive processes.
- Disable unused apps: Older apps may still occupy space even if unused. Use tools like CCleaner (Windows) or Activity Monitor (macOS) to remove unused data.
- Monitor temporary files: On Windows, clear temp files via Settings > System > Storage > Temporary Files. On macOS, delete them manually in
~/Library/Caches.
Troubleshooting
- Command-line tools not working:
- Ensure you’re running the command as an admin (Windows/macOS/Linux).
- Check for typos (e.g.,
df -hvsdfh). - If you get a "Permission denied" error on Linux/macOS, add your user to thewheelgroup:sudo usermod -aG wheel username- Restart your system or open a new terminal session. - Disk space shows zero free:
- Check for filesystem errors: Run
sudo fsck -fy(Linux/macOS) or use the Check Disk tool in Windows. - Verify the correct drive path is being queried (e.g.,/for root,C:for Windows). - Reinstall the OS if the drive is severely corrupted (backup data first). - Mobile apps show zero storage usage: - Restart your phone—some storage reports update after reboot. - Check for hidden apps (e.g., system apps) that may use space. Use a third-party tool like Disk Usage (Android) or Activity Monitor (iOS) for deeper checks. - SD cards may not show details in settings; use a PC to transfer files.
- Cloud sync services not syncing: - Log out of the service and log back in. - Check sync settings (e.g., Google Drive > Settings > Sync and backup). - Verify your internet connection is stable.
Frequently Asked Questions
What if my disk space shows as full, but I haven’t deleted anything?
Hidden system files, cached data, or temporary files (e.g., browser caches, app logs) can consume unexpected space. Use commands like du -ah (Linux/macOS) or Windows Explorer’s "Sort by Size" feature to find large files. Clear caches manually or use disk cleanup tools.
Can I check disk space on a laptop without admin rights?
Most modern systems show free space in settings (e.g., Windows > "This PC" > Properties), but command-line tools (like wmic on Windows) may require admin rights. Non-admin methods rely on the system’s built-in storage interface, which shows only what’s accessible without modifications.
Why does my iPhone show less storage than the PC’s file manager?
iOS hides system files, cache, and app databases from the user interface. When you connect your iPhone to a PC via iTunes/Finder, you see the full disk space, including these hidden files. To free up space on iOS, delete unused photos, videos, or apps in Settings > iPhone Storage.
How do I free up space on a Linux system without deleting files?
Instead of deleting files, remove unnecessary temporary files:
sudo apt clean (Debian/Ubuntu) to clear package caches.
rm -rf ~/.cache/* to clear browser caches.
Use ncdu (install via sudo apt install ncdu) for an interactive disk usage analyzer.
Is there a way to monitor disk space in real-time?
Yes. On Linux, use ncdu or glances for real-time monitoring. On macOS, enable System Preferences > Energy Saver > Show battery charge when on AC power to monitor usage. Windows has Resource Monitor (type resmon in Task Manager) for live disk stats.
How do I check disk space on a NAS (Network Attached Storage)?
Open a browser and navigate to your NAS’s admin panel (e.g., http://). Log in and look for a "Storage" or "Disk Usage" section. Alternatively, SSH into the NAS and run df -h (Linux-based systems) or check the web interface’s disk diagnostics.