The 1.44-megabyte (MB) value associated with the 3.5-inch disk format doesnot represent the actual size or free space of these disks. Although itssize has been popularly called 1.44 MB, the correct size is actually 1.40MB.
The correct size is determined by multiplying the number of tracks, sides,sectors per track, and 512 bytes per sector, then subtracting the bytesrequired to format the disk, and then dividing this figure by 1024. For a"1.44-MB" 3.5-inch floppy disk, there are
18 sectors per track
512 bytes per sector
Multiplying the above gives you 1,474,560 bytes. This is the unformattedsize.
To determine the number of bytes formatting requires, you need to know howmany bytes are used for the boot sector, file allocation table (FAT), androot directory.
There is 1 sector used for the boot sector, which is 512 bytes; 18sectors for the two FATs (9 sectors each), which is 9216 bytes (512 *18 = 9216); and 14 sectors for the root directory, which is 7168bytes.
NOTE: There are two ways to arrive at the 7168 number:
224 entries * 32 bytes per entry = 7168 bytes
512 bytes per sector (14 * 512 = 7168 bytes)
Adding these figures gives you 16,896 bytes.
Subtracting the amount used for formatting from the total unformatted sizegives you 1,457,664. (1,474,560 - 16,896 = 1,457,664 bytes)
Dividing the above figure by 1024 bytes generates 1440. (1,474,560 / 1024 = 1440 KB)
To convert to megabytes, divide by 1024. (1440 KB / 1024 = 1.406 MB)
This formula works for 1.2-MB disks as well. The only variable is thenumber of sectors, which is 15, for the calculations with 1.2-MB disks.
From the calculations shown above, we can see that the 3.5-inch diskconsidered to have 1.44 MB free disk space actually has 1.40 MB, and the5.25-inch disk considered to have 1.2 MB actually has 1.17 MB.
The misunderstanding comes from the incorrect calculation below:
1440 KB / 1000 = 1.44 MB
The calculation should be:
1440 KB / 1024 = 1.40 MB
There are 1024 bytes in a kilobyte, not 1000.
Note that in Windows 95, the properties for a blank, formatted 3.5-inch1.44-MB disk show that there are 1.38 MB of free disk space.