It’s necessary to check the folder sizes to determine whether they are using up too much storage space. Additionally, you would also want to view the folder sizes if you were transferring a folder over the internet or into another storage device.
Fortunately, seeing the folder sizes is very easy on Windows devices. There are graphical and command-line based applications available in windows that provide you with multiple ways to do it.
How to Show Folder Size on Windows
You can easily see the folder size using the file explorer on Windows. File explorer also provides other folder information like date creation, size, folder path, and many more. Furthermore, You can also use CLI applications like Powershell and CMD to get the folder size details. We will go thoroughly on how to do these.
Using File Explorer
File explorer gives easy access to the file and folder details on windows. As stated earlier, you can also view other details related to the folder using it.
Here’s how to see the folder size using it;
- Navigate to the file explorer and go to the directory of the folder.
- Hover your mouse cursor over the folder for a few seconds.
- You will see the folder tips inside a yellow box, showing you the folder’s size, date created, and other related info.
To enable the Folder tips, follow these steps;
- Press Windows Key + R to open Run.
- Type
CMD
in the field and hit enter. - Now, execute this command in CMD. This command will open the Folder options.
C:\Windows\System32\rundll32.exe shell32.dll,Options_RunDLL 0\
- Go to the View tab.
- Now, check the Display the size information in folder tips to enable this feature.
- Finally, Click on Apply.
Using Folder Properties
You can use folder properties to check different folder Info like its size, date created, attributes, and much more. To see the folder’s size using this, follow these steps;
- Choose the folder you want to see the size of and right-click on it.
- Go to Properties.
- You will now get to see the details like Size and Size on disk of that specific folder.
Using CMD
There are command lines that you can use to check the folder size on the go. It just requires you to execute the command and shows you every detail you want of the folder. To use this for viewing the folder size, perform these steps;
- Open the command prompt with elevated privileges. To do so, Press Windows Key + R and type
CMD
. Now, press Ctrl + Shift + Enter. - Now, enter the command
cd/d
to change the file directory. In place of E:\folder, use the location of the folder where the file you want to view is placed.
cd/d E:\folder
- Now, the file directory will be changed to your desired file’s location.
- Now, type
dir
and hit enter. This will give you a detailed overview of that directory. - Search for your file’s name, and you will see its size on the side of it.
Using PowerShell
Powershell is another advanced CLI tool you can use to check the folder sizes. There are several command lines you can use for this. However, this article will suggest some useful and efficient ones. Here’s how to use powershell for checking the file sizes.
- Press Windows key + R. Type
Powershell
and hit enter. - Now, use the
cd
command to change the directory to your desired folder. - For instance, we want to see the size of a folder named images located in th E:\ drive, so we have to change the directory to that specific folder location. In such a case, execute the command like this
Cd E:\images
- Then copy this command and paste it to the powershell window. You will now immediately get the folder’s size in KB, GB or MB.
switch((ls -r|measure -sum Length).Sum) {
{$_ -gt 1GB} {
'{0:0.0} GiB' -f ($_/1GB)
break
}
{$_ -gt 1MB} {
'{0:0.0} MiB' -f ($_/1MB)
break
}
{$_ -gt 1KB} {
'{0:0.0} KiB' -f ($_/1KB)
break
}
default { "$_ bytes" }
}
There is another command you can use to see the contents inside the folder along with their file sizes. To use it, paste this command into the powershell. Just remember to change the folder directory E:\images to your desired one.Get-ChildItem -Path E:\images\ -Recurse | Where-Object {$_.PSIsContainer -eq $false}
This command doesn’t require changing the root directory, so it’s easy to use too. However, it doesn’t show the total folder size.
Frequently Asked Questions
How to See the Hidden Folders on Windows 11?
To see the hidden folders, go to File explorer. Then, click on the View tab, and from the Show option check the Hidden items. You can also see which folders are kept hidden in the system using CMD. For this, open CMD and execute this command; dir C: /a:h /b /s
Change the drive letter (it is C: in this command) to any of your desired drives. This will instantly show the hidden folders in that drive. This command will also work for the previous version of Windows.
How to Fix if File Explorer Isn’t Showing Folder Size?
When a folder’s path is more than 260 characters long, File Explorer cannot display its size. The fix for this is to decrease the path length or you can use other processes mentioned in this article to check the folder’s size.