Share on Facebook Share on Twitter Email
Answers.com

File size

 

The length of a file in bytes. See "Byte Specifications" in the term byte.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Wikipedia: File size
Top

File size measures the size of a computer file. Typically it is measured in bytes with a 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 FAT32, the size of one file cannot be equal or larger than 4 GiB.

Some common file size units are:

  • 1 KiB = 1,024 bytes
  • 1 GiB = 1,073,741,824 bytes [2]
  • 1 TiB = 1,099,511,627,776 bytes [3].

These units are often described using the terms KB, MB, GB and TB respectively. This is technically imprecise, because the prefixes kilo, mega, giga and tera refer respectively to multiplication by 10^3, 10^6, 10^9 and 10^12. However, the power-of-two based prefixes have yet to find widespread usage, so some ambiguity remains. For example, a hard disk which is described by its maker as having a capacity of 200 GB will have a capacity very close to 200 * 10^9 bytes. Yet, when such a disk is freshly formatted and installed in a machine running Microsoft [[Micr drive, which file system is used and so on. This is because Windows is actually reporting the size in GiB and 186 GiB is approximately equal to 200 GB.

Conversion Table

Name Symbol Binary Measurement Decimal Measurement Number of Bytes Equal to
KiloByte KB 2^10 10^3 1,024 1,024 Bytes
MegaByte MB 2^20 10^6 1,048,576 1,024KB
GigaByte GB 2^30 10^9 1,073,741,824 1,024MB
TeraByte TB 2^40 10^12 1,099,511,627,776 1,024GB
PetaByte PB 2^50 10^15 1,125,899,906,842,624 1,024TB
ExaByte EB 2^60 10^18 1,152,921,504,606,846,976 1,024PB
ZettaByte ZB 2^70 10^21 1,180,591,620,717,411,303,424 1,024EB
YottaByte YB 2^80 10^24 1,208,925,819,614,629,174,706,176 1,024ZB


References

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

 
 
Learn More
sparse file (technology)
WinZip (technology)
zlib (technology)

Why is file size importnant? Read answer...
How can you determine the size of a jpeg file? Read answer...
What size file is windows xp? Read answer...

Help us answer these
How do you list file on a window by size?
What is the size of MP4 files?
How do you decrease the size of a PowerPoint file?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2009 Computer Language Company Inc.  All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "File size" Read more