How to convert grams to US liquid gallons
This calculation crosses from mass to volume, so it needs an ingredient reference. The calculator starts with all-purpose flour at 120 grams per US reference cup (spoon into the cup and level; do not pack). Choose the exact ingredient and form your recipe means before using the answer.
For a weight input, convert to grams, divide by the ingredient's grams per reference cup, then adjust for the selected cup or spoon volume. For a volume input, reverse the process. The answer is a recipe equivalent, not a laboratory density measurement, so brand, moisture, packing and measuring technique can all change the practical result.
US and imperial gallons are not the same size
The US liquid gallon is 3,785.4118 ml, or 16 US cups. The imperial gallon used in the UK, Ireland and older Commonwealth recipes is about 20% larger (4,546 ml), and an imperial pint holds 20 fluid ounces where a US pint holds 16.
This site converts US liquid measures. If a recipe comes from a British cookbook and says pints, quarts or gallons, check its date and origin before assuming the US size; many modern UK recipes use millilitres and litres instead.
What are grams and US liquid gallons?
A gram is the metric unit of mass: one thousandth of a kilogram. Kitchen scales read in grams, which is why many recipes outside the US list dry ingredients by weight.
A US liquid gallon is defined as 231 cubic inches, exactly 3.785411784 litres, 4 quarts or 128 US fluid ounces.
