The board foot is a unit of volume derived from the imperial system of units with the symbol FBM.
1 board foot is equal to the volume of an object one foot in length, one foot wide and one inch thick. It is therefore equal to 1/12 ft³.
The board foot is the unit used to measure rough or planed lumber. For example 2 x 4 timber when planed actually only measures 1.5 in x 3.5 in. This takes into account the wastage when planing. The board feet measurement in this case would represent the wholesale amount. Where the loss in board feet (and planing) only applies to width and thickness, the actual length is used - as there is no loss when cutting lengths.
The liquid gallon is a unit of volume in the US customary unit system and uses the symbol gal.
It is the most common use of the word gallon and is defined as 231 in³. It is made up of 4 quarts where there are 2 pints in a quart and 16 US fluid ounces in a US pint. There are therefore 128 US fluid ounces in a US gallon.
The term gallon is most prevalent when discussing and trading oil and fuel. To ensure consistency, the temperature of the liquid (typically petroleum or alcohol) is understood to be 15.6 °C (60 °F) at the time of measurement.