The math works fine; include a total space of -340,480 bytes worth of bad sectors into the total. 😊

(Incidentally, this probably means that the one bad sector that got run into is on track 2, head 1. I could probably math out which sector if I bothered looking at the FAT16 specs.)