ThisCalculator

Everyday

FAT File System: FAT12, FAT16, FAT32 & exFAT

Updated · Standard formula, shown below

FAT File System: FAT12, FAT16, FAT32 & exFAT

This article explains the FAT file system family—FAT12, FAT16, FAT32, and exFAT—covering what each version is, how they work, their limits, and when to use them. You’ll learn the key differences, compatibility considerations, and common pitfalls, so you can choose the right format for your storage device.

Background and History

FAT (File Allocation Table) is one of the oldest file systems still in use. It was introduced by Microsoft in 1977 for floppy disks and later became the standard for hard drives in early PCs. The name comes from a table—the File Allocation Table—that the operating system uses to track which clusters (blocks of data) belong to which file and which are free. Over time, as storage capacities grew, FAT was extended to handle larger volumes, leading to FAT12, FAT16, FAT32, and finally exFAT.

Each version increases the number of bits used for cluster addressing: 12, 16, or 32. More bits mean more addressable clusters, which allows larger volumes. However, the maximum volume size also depends on cluster size, which can be adjusted. exFAT, introduced in 2006, is a modern replacement that removes many of FAT32’s limits while maintaining broad compatibility.

How FAT Works

FAT organizes a storage device into three main areas: the boot sector, the File Allocation Table (FAT), and the data region. The boot sector stores metadata like the volume size, cluster size, and the location of the FAT. The FAT itself is an array of entries, each corresponding to a cluster. For a file, the directory entry points to its first cluster, and the FAT entry for that cluster points to the next cluster in the file, forming a chain. The last cluster has a special end-of-file marker.

Because the FAT is critical, there are often two copies stored on the disk for redundancy. If one is corrupted, the other can be used. This design is simple but has drawbacks: for large volumes, the FAT can become huge, and fragmentation can slow access. Also, there’s no built-in error checking or journaling, so unexpected power loss can corrupt data.

FAT12, FAT16, FAT32: Differences and Limits

FAT12 uses 12-bit cluster numbers, allowing up to 4,086 clusters. It was used for floppy disks (e.g., 1.44 MB) and early small hard drives. Maximum volume size is about 32 MB with 4 KB clusters, though some implementations support up to 64 MB with larger clusters.

FAT16 uses 16-bit cluster numbers, allowing up to 65,524 clusters. With 64 KB clusters, the maximum volume size is 4 GB. However, Windows limits FAT16 volumes to 2 GB for hard drives (4 GB for some other OS). FAT16 also supports long file names via a workaround (VFAT) that stores additional directory entries.

FAT32 uses 32-bit cluster numbers, but only 28 bits are actually used, allowing up to 268,435,456 clusters. With 32 KB clusters, the maximum volume size is 2 TB (the practical limit for Windows). Individual files can be up to 4 GB minus 1 byte. FAT32 is widely supported across operating systems and devices, making it a common choice for USB drives and SD cards.

Here’s a quick comparison:

  • FAT12: Max volume ~32 MB, max file ~32 MB, used for floppy disks.
  • FAT16: Max volume 4 GB (2 GB in Windows), max file 2 GB (or 4 GB with large file support).
  • FAT32: Max volume 2 TB, max file 4 GB minus 1 byte.
  • exFAT: Max volume 128 PB (theoretical), max file 16 EB (theoretical).

exFAT: The Modern Replacement

exFAT (Extended File Allocation Table) was introduced by Microsoft in 2006 to address FAT32’s limitations, particularly the 4 GB file size cap and the 2 TB volume limit. It uses 64-bit file sizes and a more efficient allocation table, allowing for very large files and volumes. exFAT is optimized for flash memory devices like SD cards and USB drives, and it supports features like access control lists (ACLs) and transaction safety (though not full journaling).

exFAT is now widely supported: Windows (XP SP2 and later), macOS (10.6.5 and later), Linux (via kernel module or FUSE), and many consumer devices like cameras, game consoles, and Android phones. However, some older devices may not support it, so check compatibility before formatting a card for a camera or other hardware.

How to Choose the Right FAT Version

Choosing the right file system depends on your device and the size of files you need to store. Here are some guidelines:

  • FAT12: Only for floppy disks or very small embedded systems. Not used for modern storage.
  • FAT16: For very old systems or small volumes (under 2 GB). Rarely used today.
  • FAT32: Best for compatibility with a wide range of devices (including older TVs, car stereos, and game consoles) when you don’t need files larger than 4 GB. Ideal for USB sticks and SD cards up to 2 TB.
  • exFAT: Best for large files (e.g., HD video, disk images) and large volumes. Use it for modern cameras, drones, and external drives that need to hold files over 4 GB.

If you’re unsure, check the device manual. Many devices specify which file system they support. When in doubt, FAT32 is the safest for small to medium files, but exFAT is increasingly the default for new devices.

Common Problems and Misconceptions

A common misconception is that FAT32 is the same as exFAT. They are different: FAT32 has a 4 GB file size limit, while exFAT does not. Another misconception is that FAT32 can format drives larger than 2 TB. In Windows, the built-in format tool won’t create a FAT32 partition larger than 32 GB, but you can use third-party tools to format larger drives as FAT32, though the volume size is still limited to 2 TB.

Common problems include:

  • File too large: Trying to copy a file over 4 GB to a FAT32 drive gives an “file too large” error. Solution: use exFAT or NTFS.
  • Corruption after improper ejection: FAT has no journaling, so pulling out a drive mid-write can corrupt data. Always safely eject.
  • Compatibility issues: Some devices only support FAT16 or FAT32, not exFAT. Check the device specs.
  • Cluster size waste: With large clusters, small files waste space. For example, a 1 KB file on a 32 KB cluster uses 32 KB. Choose a cluster size that matches typical file sizes.

Frequently Asked Questions

What is the maximum file size for FAT32?

The maximum file size is 4 GB minus 1 byte (2^32 – 1 bytes). This is a hard limit because the file size field in the directory entry is 32 bits. Any file larger than this cannot be stored on a FAT32 volume.

Can I convert FAT32 to exFAT without losing data?

Yes, you can convert without data loss using a tool like convert.exe in Windows, but it’s risky and not officially supported for exFAT. The safest method is to back up your data, format the drive as exFAT, and then copy the files back. There are third-party tools that claim to do in-place conversion, but they are not guaranteed.

Which is better for a USB drive: FAT32 or exFAT?

It depends on your needs. If you need to store files larger than 4 GB, use exFAT. If you need maximum compatibility with older devices (like a 2010 car stereo), FAT32 is safer. For modern devices, exFAT is generally better because it handles large files and large capacities more efficiently.

Is exFAT supported on Linux?

Yes, exFAT is supported on Linux. The kernel has had native exFAT support since version 5.4 (2019). For older kernels, you can use the FUSE driver (exfat-fuse). Most modern Linux distributions include exFAT support out of the box.

Why does Windows only allow FAT32 on drives up to 32 GB?

This is a deliberate limitation in Windows’ format dialog to encourage using NTFS or exFAT for larger drives. The FAT32 specification supports volumes up to 2 TB, but Microsoft chose to limit the GUI to 32 GB for performance and reliability reasons. You can format larger drives as FAT32 using command-line tools or third-party software.

What is the difference between FAT and NTFS?

NTFS (New Technology File System) is a modern file system with features like journaling, file permissions, encryption, and compression. It is the default for Windows system drives. FAT and exFAT are simpler, with no built-in security or journaling, but they are more compatible with other devices (cameras, game consoles, etc.). For external drives that need cross-device compatibility, FAT/exFAT is often preferred; for internal drives, NTFS is better.

Related

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