ThisCalculator

Everyday

FAT32 Allocation Unit Size: What It Means & How to Choose

Updated · Standard formula, shown below

Files that fit 32,000 files
Space wasted per file
31 KB
Result
Total file size
1000 MB
You entered
Allocation unit size
32 KB
You entered

FAT32 Allocation Unit Size: What It Means & How to Choose

FAT32 allocation unit size (also called cluster size) is the smallest amount of disk space a file can occupy on a FAT32-formatted drive. You choose it when formatting, and it directly affects how efficiently the drive uses space and how fast it reads and writes data. This article explains what allocation units are, how to pick the right size, and what happens when you choose wrong.

Formula

The number of files that fit in a given space is roughly:

Files that fit = (Total space in KB) ÷ (Allocation unit size in KB)

Where:

  • Total space is the drive capacity or the total size of files you plan to store, in kilobytes (KB).
  • Allocation unit size is the cluster size you set during formatting, also in KB.
  • Files that fit is the maximum number of files (assuming each file takes exactly one unit, which is the worst case for small files).

In practice, a file uses a whole number of allocation units. A 1 KB file on a 32 KB unit drive wastes 31 KB of space.

Worked Example

Using the defaults: total file size = 1000 MB, allocation unit size = 32 KB.

  1. Convert MB to KB: 1000 MB × 1024 = 1,024,000 KB.
  2. Divide by the allocation unit size: 1,024,000 ÷ 32 = 32,000 files.
  3. So about 32,000 files can fit if each file is exactly one unit (worst case).

The calculator shows 32,000 files. The wasted space per file is 31 KB for a 1 KB file.

What Is an Allocation Unit?

An allocation unit (or cluster) is the smallest block of space the file system can assign to a file. When you format a drive with FAT32, you choose a cluster size from a set of fixed options, typically 512 bytes to 32 KB (or larger for very big drives). The file system tracks which clusters belong to which file.

FAT32 is an older file system introduced in 1996 with Windows 95 OSR2. It replaced FAT16 and was later superseded by NTFS and exFAT, but it remains common for USB flash drives, SD cards, and compatibility with older devices like cameras, game consoles, and car stereos.

How Cluster Size Affects Storage

The main trade-off is between wasted space and performance.

  • Small clusters (e.g., 4 KB): Less wasted space for small files. A 1 KB file uses 4 KB, wasting 3 KB. But the file system has to manage more clusters, which can slow down reading and writing, especially for large files.
  • Large clusters (e.g., 32 KB): Less overhead, faster for large files. But a 1 KB file wastes 31 KB. If you store thousands of small files (like documents or photos), you can lose a lot of space.

For example, a 64 GB SD card formatted with 32 KB clusters loses about 31 KB per tiny file. If you have 10,000 small text files, that’s 310 MB wasted—noticeable on a small card.

How to Choose the Right Size

There is no single “best� size; it depends on what you store.

  1. For typical use (documents, photos, music): Use the default that the formatting tool suggests. Windows usually picks 32 KB for drives over 2 GB, which is a reasonable balance.
  2. For many small files: Choose a smaller cluster size, like 4 KB, to reduce wasted space. This is useful for source code, text files, or configuration files.
  3. For large files (videos, disk images): Use a larger cluster size, like 64 KB, to improve speed. The file system handles fewer clusters, so large sequential reads and writes are faster.
  4. For maximum compatibility: Stick with the default that the device expects. Some older devices (like digital cameras) may only work with a specific cluster size, often 32 KB.

If you are unsure, the default is usually the safest choice. You can always reformat later, but that erases all data.

Common Problems and Misconceptions

One common misconception is that a larger cluster size always makes the drive faster. In reality, for many small random reads and writes, a smaller cluster size can be faster because less data is read or written per operation. The speed difference is often small on modern hardware.

Another issue is that FAT32 has a maximum file size limit of 4 GB (minus 1 byte). This is a hard limit of the file system, not related to cluster size. If you need to store files larger than 4 GB, you must use exFAT or NTFS.

Also, FAT32 drives formatted with very large cluster sizes (e.g., 128 KB) may not be recognized by some devices. Always check the device’s manual.

Comparison with Other File Systems

FAT32 is not the only option. Here’s how it compares to exFAT and NTFS:

  • FAT32: Compatible with almost everything, but limited to 4 GB max file size and no built-in security or journaling.
  • exFAT: Designed for flash drives, supports very large files and drives, but not compatible with very old devices (pre-2006).
  • NTFS: Supports huge files, permissions, encryption, and journaling, but not natively readable by many cameras, game consoles, or macOS without extra software.

For a USB stick that you use with multiple devices, FAT32 is often the best choice if files are under 4 GB. For a drive that stores large videos, exFAT is better.

How to Check and Change Cluster Size

To see the current cluster size of a FAT32 drive on Windows:

  1. Open a Command Prompt as administrator.
  2. Type fsutil fsinfo ntfsinfo X: (replace X with your drive letter). This works for FAT32 as well, despite the “ntfs� in the command.
  3. Look for “Bytes per Cluster� – that’s your allocation unit size.

To change it, you must reformat the drive. In Windows, right-click the drive in File Explorer, select “Format�, and choose a cluster size from the drop-down. On macOS, use Disk Utility and select “Erase� with the format “MS-DOS (FAT)� – you can’t choose cluster size directly; it uses a default. On Linux, use mkfs.fat -s N where N is the number of sectors per cluster.

Reformatting erases all data, so back up first.

Frequently Asked Questions

What is the default allocation unit size for FAT32?
Windows usually chooses 32 KB for drives larger than 2 GB. For smaller drives, it may use 4 KB or 8 KB. The default is based on drive size to balance space and performance.

Does allocation unit size affect speed?
Yes, but the effect is usually small. Larger clusters can speed up sequential reads/writes of large files, while smaller clusters can speed up random access to many small files. On modern hardware, the difference is often unnoticeable.

Can I change cluster size without formatting?
No. Changing cluster size requires reformatting the drive, which erases all data. There is no safe way to change it in place.

Why does my 64 GB USB drive show less space than expected?
Part of the space is used by the file system itself (FAT tables, root directory) and by rounding up file sizes to cluster boundaries. With 32 KB clusters, a 1 KB file uses 32 KB, so you lose space if you have many small files.

Is FAT32 still used today?
Yes, for compatibility. It’s common on USB drives, SD cards, and devices like cameras, car stereos, and older game consoles. It’s also used for the EFI system partition on many computers.

What happens if I choose a cluster size too large?
You waste space on small files. For example, a 128 KB cluster on a 1 KB file wastes 127 KB. Also, some devices may not recognize the drive if the cluster size is unusual.

Related

Formula used
in t | Total file size | MB | 1000 | 1
in a | Allocation unit size | KB | 32 | 1
out n | Files that fit | files | t * 1024 / a | 0
out waste | Space wasted per file | KB | a - 1 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.