Gallons to Grams Converter
Convert US liquid gallons to grams – or grams back to gallons – using the selected substance density.
Inputs
Live result
Conversion details
| Quantity | Value | Unit |
|---|---|---|
| Volume | 1 | US gal |
| Volume | 3.785411784 | L |
| Mass | 3,785.411784 | g |
| Mass | 3.785411784 | kg |
| Mass | 8.345404 | lb |
How to use the gallons to grams calculator
What this calculator does. This tool converts volume in US liquid gallons into mass in grams, or reverses the calculation from grams to gallons. Because gallons measure volume and grams measure mass, there is no universal one-number conversion: the result depends on density. The calculator therefore combines a volume or mass value with a substance density. It is useful for estimating ingredient quantities, checking shipping or storage weights, scaling laboratory materials, and comparing liquids sold by volume with specifications written by mass. It is a unit conversion, not a measurement of the actual temperature, purity, concentration, or composition of your material.
When to use it. Use it when a recipe lists gallons but a scale reads grams; when a supplier gives liquid volume and you need an approximate shipment mass; when a science exercise provides density in grams per milliliter; or when you need to reverse a known mass into the approximate gallon capacity required.
How to calculate. The calculator opens with a complete demonstration: Water, density 1.000 g/mL, and 1 US liquid gallon, producing 3,785.41 g. The example workbook is ready immediately.
- Choose a Substance preset or select Custom density.
- Check or replace the Density in g/mL.
- Edit US liquid gallons to calculate grams, or edit Grams to calculate gallons. The most recently edited quantity controls the direction.
- Read the primary result and the kilogram, pound, density-per-gallon, and gallon summaries.
- Select Download Excel to export the current valid state. Reset clears the demonstration values and disables export until a complete valid state is entered again.
Input guide. Substance is a required preset selector. Water uses 1.000 g/mL, milk 1.030 g/mL, cooking oil 0.920 g/mL, honey 1.420 g/mL, and gasoline 0.740 g/mL as representative values; actual density can vary with composition and temperature. Density is required, must be greater than zero, and accepts ordinary decimal notation with a period, such as 0.92. Commas, scientific notation, units pasted into the field, and negative values are rejected rather than silently reinterpreted. Higher density increases grams for the same gallon volume and decreases gallons for the same gram mass. US liquid gallons accepts zero or a positive decimal; editing it makes volume the source. Grams also accepts zero or a positive decimal; editing it makes mass the source. Do not enter Imperial gallons: this calculator follows the US liquid gallon.
Output guide. Mass is the primary grams result when gallons are the source; when grams are the source, the primary result becomes Volume in US gallons. Kilograms and Pounds express the same mass in alternative units. Density per gallon reports how many grams one gallon would weigh at the selected density. US gallons shows the canonical calculated volume. The detail table repeats volume in gallons and liters and mass in grams, kilograms, and pounds. Zero input produces exact zero outputs; very large values are accepted only while every derived result remains finite.
Worked example. The startup example uses water at 1.000 g/mL. One US liquid gallon equals exactly 3,785.411784 mL. Applying mass = density × volume gives 1.000 g/mL × 3,785.411784 mL = 3,785.411784 g, displayed as 3,785.41 g. That same mass equals 3.785411784 kg and approximately 8.345404 lb.
Learn more. The exact US gallon-to-liter relationship is documented in the NIST guidance on SI units of volume, while the BIPM SI Brochure explains the coherent SI system used for liters, kilograms, and derived quantities.
Formula and density assumptions
The governing identity is straightforward:
For the reverse direction, divide mass by the product of density and 3,785.411784. Density is the bridge between unlike dimensions. A gallon of honey weighs far more than a gallon of gasoline because honey has much more mass in each milliliter. Preset densities are representative convenience values, not legal specifications. For food and agricultural materials, the USDA FoodData Central database can help identify composition and serving information, while technical work should use a measured or supplier-certified density for the actual product and temperature.
Common mistakes and practical limits
- Do not treat gallons and grams as directly interchangeable without density.
- Do not mix US liquid gallons with Imperial gallons; they have different volumes.
- Check whether a density source uses g/mL, kg/m³, or another unit before entering it.
- Remember that liquids expand or contract with temperature, so precision work needs temperature-specific density.
- For regulated trade or laboratory reporting, follow the applicable measurement procedure rather than relying only on a convenience conversion.
The current NIST Handbook 44 resources provide broader context for commercial weighing and measuring devices in the United States.