64 fluid ounces (oz) are in a gallon.

There are 20 ounces to a pint ("a pint of water weighs a pound and a quarter").

There are 8 pints to an imperial gallon. (US gallons are different (why?)).

Therefore there are 20 * 8 ounces to a gallon or 160 ounces.