There are 64 fluid ounces (oz) in a half gallon. This is because there are 128 total fluid ounces in a full gallon, and half of 128 is 64.
So if you have a half gallon container, it will hold 64 fluid ounces of any liquid. This equivalency makes it easy to translate between ounces and half gallons.