File size

From Wikipedia, the free encyclopedia
Jump to: navigation, search

File size measures the size of a computer file. Typically it is measured in bytes with an SI prefix. The actual amount of disk space consumed by the file depends on the file system. The maximum file size a file system supports depends on the number of bits reserved to store size information and the total size of the file system. For example, with FAT16X, the size of one file cannot be equal or larger than 4 GiB. Some common file size units are:

  • 1 byte = 8 bit
  • 1 KiB = 1,024 bytes
  • 1 MiB = 1,048,576 bytes[1]
  • 1 GiB = 1,073,741,824 bytes[2]
  • 1 TiB = 1,099,511,627,776 bytes[3]

Conversion table[edit]

Name Symbol Binary Measurement Decimal Measurement Number of Bytes Equal to
Kilobyte KB 210 103 1,024 (1,024) B
Megabyte MB 220 106 1,048,576 (1,024) KB
Gigabyte GB 230 109 1,073,741,824 (1,024) MB
Terabyte TB 240 1012 1,099,511,627,776 (1,024) GB
Petabyte PB 250 1015 1,125,899,906,842,624 (1,024) TB
Exabyte EB 260 1018 1,152,921,504,606,846,976 (1,024) PB
Zettabyte ZB 270 1021 1,180,591,620,717,411,303,424 (1,024) EB
Yottabyte YB 280 1024 1,208,925,801,182,629,174,706,176 (1,024) ZB
Unconfirmed Sizes
Exonabyte EB 290 1027 1,237,940,020,411,012,274,899,124,224 (1,024) YB
Mokuton Byte  ?B 2100 1030 1,267,650,767,268,876,569,496,703,205,376 (1,024) EB
Higinia Byte  ??B 2110 1033 1,298,074,385,683,329,607,164,624,082,305,024 (1,024) ?B
Xylobabyte XB 2120 1036 1,329,228,170,939,729,517,736,575,060,280,344,576 (1,024) ??B
Katobyte KTB 2130 1039 1,361,129,467,683,753,853,853,498,429,727,072,845,824 (1,024) XB

References[edit]

  1. ^ 2^20 = 1 048 576
  2. ^ 2^30 = 1 073 741 824
  3. ^ 2^40 = 1 099 511 627 776

External links[edit]