There are 1248 Peanut M&Ms per Gallon on average. This was based on a count of 507 Peanut M&Ms in a Party Size (42 Oz) bag of Peanut M&Ms.
The Candies in a Container calculator uses the following densities of candies:
The following calculators let you enter the dimensions of the container and return the number of candies for a list of different types of candies including: mini Jelly Bean, Jelly Beans, Jumbo sized Jelly Beans, M&Ms, Peanut M&Ms, Gum Balls, candy corn, pumpkin candies, Skittles, Tootsie Roll Midgees.