As of Version 9.0, unit functionality is built into the Wolfram Language


is a US volume unit.


  • To use Gallon, you first need to load the Units Package using Needs["Units`"].
  • Gallon is equivalent to approximately 0.00378541 Meter3 (SI units).
  • Gallon is equivalent to approximately 3.78541 Liter.
  • Gallon is equivalent to 4 Quart, or to 8 Pint.
  • Convert[n Gallon,newunits] converts n Gallon to a form involving units newunits.
  • Gallon is typically abbreviated as gal.

See Also

FluidOunce  ImperialGallon  UKGallon  Tablespoon  Teaspoon  Gill