Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

What is difference between SIZE and SIZE ON DISK in Windows?

  1. #1

  2. #2
    Administrator david's Avatar
    Join Date
    Nov 2012
    Thanked 42 Times in 34 Posts


    Your question is what I wonder some years ago . The reason is quite simple. Files are stored on the disk in what is called called clusters (a group of disk sectors). Size on disk refers to the amount of cluster allocation a file is taking up, compared to file size which is an actual byte count. The lowest cluster size for FAT32 is 1, so if the actual file only needs a small portion of the cluster, the size on disk for that file will reflect the entire cluster as being used. This is why when you check the properties tab of a file, you will usually see the size on disk size is larger than the file size.

  3. #3
    Junior Member
    Join Date
    Sep 2018
    United Kingdom
    Thanked 4 Times in 4 Posts


    The document measure on plate would be 4096 bytes. So the real size of a file(s) or folder(s) ought to dependably be taken from the Size esteem when seeing the properties window. Source: What's The Difference Between Size And Size On Disk In Windows Folder Properties.

Similar Threads

  1. Check Size of a Directory in Linux Tips
    By david in forum PHP programming
    Replies: 2
    Last Post: 22-04-2019, 07:56 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts