World Library  
Flag as Inappropriate
Email this Article

File size

Article Id: WHEBN0002608327
Reproduction Date:

Title: File size  
Author: World Heritage Encyclopedia
Language: English
Subject: Xplorer², Phoner, XYplorer, IA Writer, Infobox software
Collection: Computer Files
Publisher: World Heritage Encyclopedia

File size

File size measures the size of a computer file. Typically it is measured in bytes or bits. 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.

Binary prefixes for powers of 210 (1024) and decimal prefixs for powers of 103 (1000) are both in use.[1] The International System of Quantities also allows unambiguous binary prefixes using different names based on an IEC standard, e.g., kibibyte KiB, mebibyte MiB. The traditional KB is usually binary, meaning 1024 bytes, while the corresponding decimal kB for 1000 bytes uses a lower case k for kilo.

With typical disk sector sizes of 512, 1024, 2048, or 4096 bytes decimal prefixes and/or bits are less suited to describe file systems accurately, e.g., the maximal file size on FAT32 is 4 GB−1 B for a binary prefix of bytes, corresponding to 4×1024×1024×1024−1; decimal 4,294,967,295; hexadecimal FFFFFFFF; or binary 11111111111111111111111111111111 in 32 bits.[2]

Conversion table
Traditional units Decimal for comparison
Name Symbol Binary Number of bytes Equal to Name IEC Decimal Number of bits Equal to
Kilobyte KB 210 1,024 1024 B Kilobit kbit 103 1,000 1000 bit
Megabyte MB 220 1,048,576 1024 KB Megabit Mbit 106 1,000,000 1000 kbit
Gigabyte GB 230 1,073,741,824 1024 MB Gigabit Gbit 109 1,000,000,000 1000 Mbit
Terabyte TB 240 1,099,511,627,776 1024 GB Terabit Tbit 1012 1,000,000,000,000 1000 Gbit
Petabyte PB 250 1,125,899,906,842,624 1024 TB Petabit Pbit 1015 1,000,000,000,000,000 1000 Tbit
Exabyte EB 260 1,152,921,504,606,846,976 1024 PB Exabit Ebit 1018 1,000,000,000,000,000,000 1000 Pbit
Zettabyte ZB 270 1,180,591,620,717,411,303,424 1024 EB Zettabit Zbit 1021 1,000,000,000,000,000,000,000 1000 Ebit
Yottabyte YB 280 1,208,925,819,614,629,174,706,176 1024 ZB Yottabit Ybit 1024 1,000,000,000,000,000,000,000,000 1000 Zbit


  1. ^ JEDEC Solid State Technology Association (December 2002). "Terms, Definitions, and Letter Symbols for Microcomputers, Microprocessors, and Memory Integrated Circuits" (PDF). JESD 100B.01. p. 8. Retrieved 2009-04-05. 
  2. ^ "Microsoft Extensible Firmware Initiative FAT32 File System Specification, FAT: General Overview of On-Disk Format".  
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.