Default Cluster Size for FAT and NTFS

ID: Q140365


The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
  • Microsoft Windows NT Server versions 3.5, 3.51, 4.0
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server


SUMMARY

All file systems used by Windows NT 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".



Drive Size                 Cluster Size       Number of Sectors
---------------------      ----------------   -----------------
512MB  or less             512 bytes          1
513MB  to 1024MB(1GB)      1024 bytes (1KB)   2
1025MB to 2048MB(2GB)      2048 bytes (2KB)   4
2049MB and larger          4096 bytes (4KB)   8 
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 prior to 3.51 do not support NTFS file compression, the default cluster sizes will go above 4k. So Windows NT 3.50 and earlier, the following addition to the above table applies:

Drive Size                  Cluster Size       Number of Sectors
---------------------       ----------------   -----------------
4097MB to  8192MB(8GB)      8KB                16  
8193MB to  16384MB(16GB)    16KB               32  
16385MB to  32768MB (32GB)  32KB               64  
greater than 32768MB (32GB) 64KB               128 
When you are using the Convert.exe utility to convert to NTFS, Windows NT 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 NT 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.

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.

Additional query words: prodnt

Keywords : kbother ntfilesys
Version : WINDOWS:2000; winnt:3.5,3.51,4.0
Platform : WINDOWS winnt
Issue type : kbinfo


Last Reviewed: January 18, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.