Filesize is the measure of size of computer files. It is measured in bytes. The actual disk space consumption is dependent on filesystems. Some common filesize units with their conversion factors are:
- 1 byte = 8 bits
- 1 KiB = 1,024 bytes
- 1 MiB = 1,048,576 bytes
- 1 GiB = 1,073,741,824 bytes
- 1 TiB = 1,099,511,627,776 bytes
Some filesystems have an upper limit to the maximum size a file can have. For eg., in fat32 file system, a file can not come equal to or exceed the mark of 4 GiB.
KiB is a kibibyte as opposed to common conception of kilobyte(which are coined as KB).