The US gallon (frequently called a "gallon") is legally defined as exactly 231 c...

@tomjennings@tldr.nettime.org

The US gallon (frequently called a "gallon") is legally defined as exactly 231 cubic inches, i.e. 3.785411784 litres.

A US gallon contains 3.785411784 kg (8.3454 lb) of water at 3.983 °C (39.169 °F), making it 83.26742% of an imperial gallon.

There are four quarts in a gallon, two pints in a quart and 16 US fluid ounces in a US pint, making the US fluid ounce 1/128⁠ of a US gallon.