An allocation unit, often called a cluster, is a filesystem allocation boundary. It is different from a drive's physical sector, an SSD flash page and the number of bytes in a file. Changing it is not a universal way to make an SSD faster or last longer.
An original four-file example
Imagine four ordinary files containing 1, 1,000, 4,096 and 4,097 bytes. Their combined logical size is 9,194 bytes. In a deliberately simplified model, each nonempty file gets enough whole clusters to contain its content.
| File bytes | Allocated with 4,096-byte clusters | Allocated with 65,536-byte clusters |
|---|---|---|
| 1 | 4,096 | 65,536 |
| 1,000 | 4,096 | 65,536 |
| 4,096 | 4,096 | 65,536 |
| 4,097 | 8,192 | 65,536 |
| Total | 20,480 | 262,144 |
The unused tail space in this model is 11,286 bytes with 4 KiB clusters and 252,950 bytes with 64 KiB clusters. Those are arithmetic results for these four invented file sizes. They are not estimates of a typical user's disk, measured performance or write endurance.
Reproduce the numbers without touching a drive
For a file of s bytes and cluster size c, compute ((s + c - 1) // c) * c. The integer division rounds up to a complete allocation unit. The attached Python program prints an eight-row CSV and does not inspect, format or write any drive.
Download the original Python model and its computed CSV. The program was executed for this article and its totals checked independently. One KiB means 1,024 bytes; the unit is explicit to avoid confusing decimal KB with binary KiB.
Where the simple model stops
Real filesystems have metadata and special cases. Small NTFS files can have resident data; compression, sparse allocation, deduplication and other features can change physical storage. Therefore the rounding formula should not be advertised as an exact reconstruction of every “size on disk” value.
Microsoft's NTFS overview describes features and cluster-size-dependent limits. Its format reference documents filesystem-specific allocation choices. A filesystem cluster is not a promise that a drive performs one hardware operation of that exact size.
A practical decision sequence
- Choose a filesystem supported by the devices that must read the drive.
- Start with its appropriate default unless the application vendor documents a specific requirement.
- Separate a workload dominated by tiny files from one dominated by large files.
- Compare candidates only with a representative, repeatable workload and sufficient backup/recovery preparation.
A larger cluster can increase rounding waste for small files in this model. It does not follow that it always improves throughput, reduces fragmentation or extends SSD life. Those are different claims requiring actual measurements and a defined environment.
Inspecting a setting is different from formatting
For NTFS, Microsoft's fsutil fsinfo documentation explains information queries such as fsutil fsinfo ntfsinfo C:; permissions may be required. This article did not execute that command on a Windows device. The format command is a data-changing operation, not a harmless way to inspect a setting.
Cluster rounding is also different from the unit conversion that makes a 1 TB drive approximately 931 GiB. Diagnose the specific boundary before changing a drive to address a display difference.
