A fuel gauge using a float & sending unit - whether it's in a car or motorcycle - isn't a calibrated measuring device. They are mostly inaccurate.
The gauge itself relies on current heating a bimetallic strip to move the needle. Some cars use a microprocessor... but I'm guessing Harleys do not.
Once you understand how they work, you should be impressed with their accuracy. ;-)