How this instrument works
Bulk liquids are usually weighed rather than measured by volume when they move through industrial supply chains, because scales at loading docks and weighbridges are simpler and more reliable than metering large volumes precisely. That means the kilogram figure on a bill of lading or tank certificate is often the number you actually have, while the gallon figure — needed to know whether a tank or tote has room — has to be worked out from it.
Working backward from kilograms to gallons needs density, and this calculator's Density field defaults to 1.00 g/mL, water's density, purely as a starting reference — it is not a property of kilograms or gallons themselves. Diesel fuel runs close to 0.85 g/mL, gasoline nearer 0.74 g/mL, concentrated sulfuric acid about 1.84 g/mL, and many syrups and brines sit well above 1.0 g/mL, so the water default is wrong for most industrial and chemical liquids by a meaningful margin.
Replace 1.00 with the density from the liquid's safety data sheet, certificate of analysis, or product specification before sizing a tank or estimating a load — these documents almost always state density or specific gravity at a reference temperature. For an unknown liquid, weighing a measured sample is the fallback, but for anything used in volume always prefer the manufacturer's stated figure since it typically reflects the actual production batch.
- Enter the mass in Mass (kilograms); 5 is preloaded as a small-batch example.
- Set Density (g/mL) to your actual liquid — the 1.00 default is water and rarely matches fuels or chemicals.
- Read Volume (gal) for the resulting US gallons, recalculated instantly.
- Sizing a container instead? Multiply your target gallons by density, then by 3.785411784, to find the kilograms it will hold.
Worked example — 5 kg at two densities
Enter 5 in Mass (kilograms) with Density (g/mL) left at its 1.00 default, and Volume (gal) reads 1.32086026179 — 5 kg of water fills 5 litres, which is 1.32086026179 US gallons.
Change only the density to 0.8 g/mL, close to a light hydrocarbon, and the same 5 kg now reads 1.65107532724 gal — a third of a gallon more space for identical mass, because the substance is a fifth less dense than water.
Questions
Why do I have to supply density instead of getting a direct answer?
A kilogram is a unit of mass and a gallon is a unit of volume, and nothing about either definition ties them together — the bridge between them, density, is a property of whatever specific liquid you're handling. Skipping this field would force the calculator to silently assume water, which is rarely the liquid moving through an industrial process.
Where do I find the density of a fuel or industrial chemical?
Safety data sheets (SDS) and certificates of analysis almost always list density or specific gravity, usually near the physical properties section, often at a stated reference temperature like 15°C or 20°C. Fuel suppliers frequently print density directly on delivery tickets as well, since it's used to reconcile weighed and metered volumes.
How much does temperature affect fuel density?
Enough to matter for billing and tank planning — diesel and gasoline both expand measurably as they warm, with density typically shifting by roughly 0.07 to 0.09 percent per degree Celsius. Fuel industry standards commonly correct volumes to a 15°C reference density for exactly this reason.
What's a rough density figure if I only know a liquid is 'like water' or 'like oil'?
As a rough starting point, water-based liquids (brines, dilute acids, most beverages) tend to sit between 1.0 and 1.2 g/mL, while petroleum-based liquids (fuels, many solvents, light oils) typically run 0.7 to 0.9 g/mL — broad ranges, not substitutes for an actual figure when precision matters, such as billing or tank capacity planning.
Does this calculator use the US gallon or the UK imperial gallon?
The US gallon, defined as exactly 3.785411784 litres. The UK imperial gallon is larger, at about 4.54609 litres, so if your figures are coming from a UK or Commonwealth source, confirm which gallon is meant before comparing results.
Why might my tank hold less liquid by weight than expected?
If the liquid's real density is higher than the 1.00 g/mL default, the same tank volume holds more kilograms than the default calculation suggests, and the reverse is true for lighter liquids. Always use the specific liquid's density rather than the default when sizing a container to a weight limit or capacity.