Wednesday, September 14, 2016

File Sizes

  • File size is the measure of a space takes on a storage medium such as a computer hard drive.
  • File size says the size of a computer file.
  • File sizes generally measured in the Kilo Byte(KB),Mega Byte (MB),Giga Byte(GB),Tera Byte(TB),Peta Byte(PB). 
BYTE :
  • One byte means group of 8-bits.
BIT :
  • One bit means 0 (Off ) or 1(On). 

Difference Between File Sizes :

Name
Size
IEC Binary Name
Size
KiloByte(KB)
10^3
KibiByte(KiB)
2^20
MegaByte(KB)
10^6
MebiByte(MiB)
2^20
GigaByte(KB)
10^9
GibiByte(Kib)
2^30
TeraByte(TB)
10^12
TebiByte(TiB)
2^40
PetaByte(TB)
10^15
PebiByte(PiB)
2^50
ExaByte(TB)
10^18
ExbiByte(EiB)
2^60
ZottaByte(TB)
10^21
ZebiByte(ZiB)
2^70
YottaByte(TB)
10^24
YobiByte(YiB)
2^80

Hierarchy Of The File Sizes :

  • 1 Bit = 0 or 1.
  • 1 Byte = 8 bits.
  • 1 KB = 1024 bytes.
  • 1 MB = 1024 kb =1,048,576 bytes.
  • 1 GB = 1024 mb = 1,073,741,824 bytes.
  • 1 TB = 1024 gb = 1,099,511,627,776 bytes.
  • 1 PB = 1024 tb =  1,125,899,906,842,624 bytes .

Limitations For File Sizes:

  • File sizes are limited by the file system that is used and its implementation. Here are details on the common file systems:

FAT16
FAT32
NTFS
Maximum File Size
2^32-1 Byte
2^32-1 Byte
2^64-1KB
Maximum Volume Size
4 GB
32 GB
2^64 Clusters
Files Per Volume
2^16
2^22
2^32-1

Examples :