The size info in default windows explorer is not accurate, for example, a .txt with a single character is 1 KB.

How can I get the exact file size in Byte(not the default KB)?


If you right click on the file, select Properties and look at the Size (not Size on Disk), it will show you the exact size as 1 Byte.

|improve this answer|||||
  • I see it now,but where's the file name restored? – win Sep 22 '10 at 8:59
  • 1
    @win The name of the file, along with most other meta-data, is kept in the Master File Table. – DMA57361 Sep 22 '10 at 9:01
  • You can also use MS-DOS command to view the exact sizes. Open command line window (Start > Run and type cmd.exe and hit Enter), navigate to the folder your file resides in and type dir. You will see 1 next to your text file which is displayed in Bytes. – Mehper C. Palavuzlar Sep 22 '10 at 9:01
  • Where's the Master File Table located? – win Sep 22 '10 at 9:02
  • 2
    @win - The file name is not a property of the file. It's a property of the filesystem. – Nifle Sep 22 '10 at 9:12

Open the folder in 7-zip. That way you can see the exact size of all the files in a folder without having to click on each one.

|improve this answer|||||
  • PeaZip is the same. Great suggestion! – wjandrea Sep 27 '17 at 19:32

Hit Alt + Enter to show Properties (or right-click). Look at values of Size: and Size on disk:

Also Details tab of Properties provides this info.

|improve this answer|||||
  • It seems file name is not included in Size,then where is it restored? – win Sep 22 '10 at 8:59
  • All file metadata (some of which you can see in file properties) including file name are handled by your filesystem (NTFS, FAT32). – Casual Coder Sep 22 '10 at 9:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.