Convert gallons to moles for water, ethanol and other liquids using typical density and molar mass, or enter your own; also solve for volume or density.

Typical values near 20–25 °C. Choose Custom to enter your own molar mass and density.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Amount (moles)Converts a volume of a pure liquid to the amount of substance in itRequires the liquid volume and the liquid: a listed one, or a custom density and molar mass
Liquid volumeConverts an amount of substance to the volume of liquid that holds itRequires the amount of substance and the liquid: a listed one, or a custom density and molar mass
DensityFinds the density of a liquid from a measured volume and the amount in itRequires the liquid volume, the amount of substance and the molar mass
Molar massFinds the molar mass of a liquid from a measured volume and the amount in itRequires the liquid volume, the density and the amount of substance

Volume can be in US gallons, imperial gallons or liters, the amount in mol, kmol or mmol, density in g/mL, kg/L or g/L, and molar mass in g/mol or kg/mol. Each function has a result unit setting, and every result also shows the mass in grams, the volume in liters and the amount in moles.

Gallons to Moles Formulas

n = V × ρ ÷ M
nAmount of substance (mol)
VLiquid volume in liters. One US gallon is 3.785411784 L and one imperial gallon is 4.54609 L [1]
ρDensity of the liquid (g/L). A density in g/mL or kg/L is multiplied by 1,000
MMolar mass of the liquid (g/mol)

V × ρ is the mass of the liquid in grams, and dividing a mass by the molar mass gives moles.

Amount (moles)

The volume is converted to liters and the main formula is applied with the density and molar mass of the chosen liquid. One US gallon of water is 3.785411784 L × 997 g/L ÷ 18.015 g/mol = 209.495 mol, and one imperial gallon is 251.593 mol. The listed liquids use these values:

LiquidMolar mass (g/mol)Density (g/mL)Moles per US gallon
Water [2]18.0150.997209.495
Ethanol [3]46.070.78964.829
Methanol [4]32.040.79293.572
Isopropyl alcohol [5]60.100.78649.506
Acetone [6]58.080.78551.163

The densities are rounded values for 20 to 25 °C. The Custom liquid option takes any other density and molar mass.

Liquid volume

V = n × M ÷ ρ

The amount times the molar mass is the mass in grams, and dividing by the density gives liters. For 100 mol of water, 100 × 18.015 ÷ 997 = 1.806921 L, which is 0.477338 US gal.

Density

ρ = n × M ÷ V

The result is in g/L and is divided by 1,000 for g/mL. One US gallon holding 209.495 mol of a liquid with a molar mass of 18.015 g/mol has a density of about 0.997 g/mL. The volume and the amount must both be above zero.

Molar mass

M = V × ρ ÷ n

The mass of the liquid is divided by the amount it contains. One US gallon at 0.789 g/mL holding 64.83 mol gives about 46.07 g/mol. The volume and the amount must both be above zero.

Limits of This Estimate

  • The formula is for one pure liquid. The density of a solution cannot give the moles of a dissolved solute, which needs the solution’s concentration.
  • Density changes with temperature, so the listed liquids give an estimate near room temperature. Published densities for isopropyl alcohol range from 0.781 to 0.785 g/mL at 20 to 25 °C [5], slightly below the 0.786 used here. These estimates are based on the best available data and estimations.
  • A gallon is taken as the US liquid gallon unless imperial gallons are selected. The imperial gallon is about 20% larger.

Sources