It's similar to MS-DOS formatted floppy disks.
You have a boot sector (512 Bytes), which is always not usable for data.
And you have some File Allocation Table sectors, and last but not least
a few sectors for directory entries.
How many sectors are used for FAT and Directory Entries is set by some
bytes/numbers in the mentioned boot sector.
So this is no rocket science.