Knowledge Base

Default cluster size for FAT and NTFS

Article ID: 140365

Article Last Modified on 8/22/2007


APPLIES TO


This article was previously published under Q140365

SUMMARY

All file systems used by Windows organize your hard disk based upon cluster (or allocation unit) size, which represents the smallest amount of disk space which can be allocated to hold a file. So when file sizes do not come out to an even multiple of the cluster size, extra space must be used to hold the file (up to the next multiple of the cluster size). On the typical partition, this means that (cluster size)/2 * (number of files) worth of space is lost this way.

If no cluster size is specified during format, NTFS picks defaults based upon the size of the partition. These defaults have been selected to reduce the amount of space lost and to reduce the amount of fragmentation on the partition.

MORE INFORMATION

The following default values are used by Windows NT 3.51 and later when a volume is formatted to NTFS via one of the following methods:
  1. Using the FORMAT command from the command line without specifying a cluster size.
  2. Formatting a volume from Windows Explorer when Allocation Unit box in the format dialog lists "Default Allocation Size".
Cluster size Maximum NTFS volume size (bytes RAW)
5122,199,023,255,040 (2TB)
10244,398,046,510,080 (4TB)
2048 8,796,093,020,160 (8TB)
4096 17,592,186,040,320 (16TB)
The maximum default cluster size under Windows NT 3.51 and later is 4K due to the fact that NTFS file compression is not possible on drives with a larger allocation size. So format will never use larger than 4k clusters unless the user specifically overrides the defaults by using the /A: switch (for command line format) or by specifying a larger cluster size in the format dialog in Windows Explorer.

As versions of Windows NT earlier than 3.51 do not support NTFS file compression, the default cluster sizes will go above 4k. For Windows NT 3.50 and earlier, the following addition to the above table applies:
Cluster size Maximum NTFS Volume size (bytes RAW)
819235,184,372,080,640 (32TB)
1638470,368,744,161,280 (64TB)
32768 140,737,488,322,560 (128TB)
65536281,474,976,645,120 (256TB)
When you are using the Convert.exe utility to convert to NTFS, Windows always uses a 512-byte cluster size. This is due to the fact that the FAT structures are aligned on 512 byte boundaries, so any larger cluster size would not allow the conversion to function. Note also when formatting a partition under Windows Setup, the partition is first formatted to FAT and then converted to NTFS, so the cluster size will also always be 512 bytes when a partition is formated in Setup.

Note This only applies to Windows NT 3.5, 3.51, and 4.0. It does not apply to Windows 2000 Setup, which formats the partition using the file system you choose.

The FAT file system uses the following cluster sizes. These sizes the same under Microsoft Windows NT, Microsoft MS-DOS, Microsoft Windows 95 and any other operating system that supports FAT:
   Drive Size          FAT Type   Sectors       Cluster
   (logical volume)               Per Cluster   Size
   -----------------   --------   -----------   -------
   0 MB - 15 MB        12-bit     8             4K
   16 MB - 127 MB      16-bit     4             2K
   128 MB - 255 MB     16-bit     8             4K
   256 MB - 511 MB     16-bit     16            8K
   512 MB - 1023 MB    16-bit     32            16K
   1024 MB - 2048 MB   16-bit     64            32K
   2048 MB - 4096 MB   16-bit     128           64K
   *4096 MB - 8192 MB  16-bit     256           128K  NT V4.0 only
   *8192 MB - 16384 MB 16-bit     512           256K  NT V4.0 only
				
To support > 4GB FAT partitions using 128k or 256k clusters, the drives must use > 512 byte sectors.

Note On very small FAT partitions, a 12-bit FAT is used instead of a 16-bit FAT. The FAT files system only supports 512 byte sectors, so both the sectors per cluster and the cluster size is fixed.

The following table describes the default cluster sizes for Windows 2000 file system volumes:
Volume size FAT16 cluster size FAT32 cluster size NTFS cluster size
7 MB–16 MB 2 KB Not supported 512 bytes
17 MB–32 MB 512 bytes Not supported 512 bytes
33 MB–64 MB 1 KB 512 bytes512 bytes
65 MB–128 MB 2 KB 1 KB 512 bytes
129 MB–256 MB 4 KB 2 KB 512 bytes
257 MB–512 MB 8 KB 4 KB 512 bytes
513 MB–1,024 MB 16 KB 4 KB 1 KB
1,025 MB–2 GB 32 KB 4 KB2 KB
2 GB–4 GB 64 KB 4 KB4 KB
4 GB–8 GB Not supported 4 KB4 KB
8 GB–16 GB Not supported 8 KB4 KB
16 GB–32 GB Not supported 16 KB4 KB
32 GB–2 TB Not supported Not supported 4 KB
The following table describes the default NTFS cluster sizes for Windows Server 2003 file system volumes:
Volume size NTFS cluster size
7 MB–512 MB 512 bytes
513 MB–1,024 MB 1 KB
1,025 MB–2 GB 2 KB
2 GB–2 TB4 KB
The following table describes the default FAT cluster sizes for Windows Server 2003 file system volumes:
Volume size FAT16 cluster size FAT32 cluster size
7 MB–16 MB 2 KB Not supported
17 MB–32 MB 512 bytes Not supported
33 MB–64 MB 1 KB 512 bytes
65 MB–128 MB 2 KB 1 KB
129 MB–256 MB 4 KB 2 KB
257 MB–512 MB 8 KB 4 KB
513 MB–1,024 MB 16 KB 4 KB
1,025 MB–2 GB 32 KB 4 KB
2 GB–4 GB 64 KB 4 KB
4 GB–8 GB Not supported 4 KB
8 GB–16 GB Not supported 8 KB
16 GB–32 GB Not supported 16 KB
32 GB–2 TB Not supported Not supported
For more information about how NTFS works, visit the following Microsoft Web site:
For more information about how FAT works, visit the following Microsoft Web site:For more information about file systems, visit the following Microsoft Web site:

Additional query words: prodnt

Keywords: kbinfo kbother KB140365