Question: how many ounces in 5 lb flour?
Answer: Referring to flour: 5 oz/cup x 16 cups/gallon = 80 oz/gallon x 1 lb/16oz = 5 lb/gallon. Your conclusion may or may not be accurate, but if so it is purely coincidental.