Milk, juice, iced tea, and paint are often priced per gallon —
but the shelf is full of half-gallons, quarts, and liter bottles too. To
compare them fairly, convert every container to the same basis and divide
price by size. Price per gallon is just a unit price where the unit is one
gallon (128 fluid ounces).
Convert everything to gallons
- 1 gallon = 128 fluid ounces
- 1 half-gallon = 64 fl oz = 0.5 gal
- 1 quart = 32 fl oz = 0.25 gal
- 1 pint = 16 fl oz = 0.125 gal
- 1 liter = 33.814 fl oz ≈ 0.264 gal
Calculating price per gallon
Divide the container's price by its size in gallons.
A half-gallon of milk is $2.79.
$2.79 ÷ 0.5 = $5.58 per gallon
Worked comparison: gallon jug vs. quart carton
The big jug usually wins on unit price, but not always — sales on smaller
sizes can flip the result. Run the math both ways before assuming.
Gallon jug: $4.49 → $4.49 ÷ 1 = $4.49 per gallon.
Quart carton on sale: $1.05 → $1.05 ÷ 0.25 = $4.20 per gallon.
→ the quart cartons are cheaper at $4.20 per gallon
Metric containers: liters to gallons
Imported drinks and many juices come in liters. Multiply the liter price by
3.785 (liters per gallon) to get the per-gallon equivalent,
or divide by 0.264 (gallons per liter).
A 2-liter bottle of soda is $2.29.
2 L = 0.528 gal → $2.29 ÷ 0.528 = about $4.34 per gallon
Watch out for these
- Shrinkflation. Some "half-gallon" juices are now 52 or 59 fl oz, not 64. Read the actual size on the label, not the shape of the bottle.
- Per-gallon vs. per-ounce tags. Shelf tags mix units; 4.2¢/oz and $5.38/gal are the same price. Convert before comparing.
- Spoilage. A cheaper per-gallon price is only a saving if you finish it before it goes bad.
See price per fluid ounce for the
smaller-unit version of this method, or use the
unit price calculator to convert and compare automatically.