M&M’s Color Distribution Analysis

Sunday the 2nd of December, 2007
32 comments

Packages of M&M’s

I love M&M’s. I’m partial to the plain Milk Chocolate variety, but I’ve been known to have a Peanut from time to time in order to remind myself why I don’t like them that much. Often, while eating a pack, I’ll wonder how they’re made and how the colors are distributed.

I once took a factory tour at Ben & Jerry’s and saw that they make ice cream by making one flavor per production run and then storing them to be shipped out later. While that kind of production makes sense for ice cream since there are many different flavors and each flavor has many different ingredients, it doesn’t make sense for M&M’s since, except for the color of the candy shell, they are all the same.  I assume that all the different colors are made at the same time and they’re combined together along the way into the different size packages.

After wondering about it a little more, I checked out M&M’s web site. According to it, each package of Milk Chocolate M&M’s should contain 24% blue, 14% brown, 16% green, 20% orange, 13% red, and 14% yellow M&M’s.  I checked the next few packages of M&M’s that I ate and found that their percentages were not even close to the stated distribution.  In my mind, this sort of confirmed my thoughts about how they produce M&M’s: When they make M&M’s, in any production run, they produce the stated percentage of each color and then just fill the packs off a conveyor line or some other weight based method. This would mean that any single package could be way off from the stated percentage; but analyze the counts over a large number of packages, and they should converge towards the stated percentages.

That’s what I aim to do here.

Overview

I thought about taking a random sampling of packs by grabbing many different packs from different locations, but I ruled this out because it was entirely possible that I would just get the packages that were way off the stated percentages. In addition, they would all be from different production runs and that alone would skew the numbers a bit, and to get a true representative sampling, I’d have to purchase a whole boatload of them. Instead, I decided to get a single “case” of M&M’s since I would be assured that all inside came from the same production run.

M&M’s that are sold at retail come in a cardboard box containing 48 packages of M&M’s. After acquiring a “case”, I counted each package for the total number of M&M’s in the package. Next I counted each color, and then compared the sum of all the colors in each pack to the total of the pack as a form of error checking. All numbers were entered into a database to allow for easy analysis of the data.

Summary Results

48 packages of M&M Milk Chocolate 1, containing a total of 2620 M&M’s, were used in this project.  On average, each package had 55 M&M’s.

  Blue Brown Green Orange Red Yellow Total M&M’s
Percent expected
24%
13%
16%
20%
13%
14%
–––
Percent observed
18.36%
14.16%
18.44%
20.76%
14.20%
14.08%
–––
Qty. expected
629
341
419
524
341
367
–––
Qty. observed
481
371
483
544
372
369
2620
Difference
-148
+30
+64
+20
+31
+2
–––
Average per pack
10.02
7.73
10.06
11.33
7.75
7.69
54.58
Maximum in pack
16
12
17
17
12
14
57
Minimum in pack
5
3
5
7
2
2
52
Std. deviation
2.82
2.19
2.59
2.54
2.62
2.65
1.32
Variance
1.74
7.98
4.80
6.70
6.44
6.87
7.03

The quantity expected row is based on the total numbers of M&M’s observed and calculated using the percent expected values from M&M’s web site.

Blue, the most populous color according to M&M, was observed to be the third most populous color, and was almost 25% less than it’s expected amount.

Brown, orange, red, and yellow were all within two percentage points of their expected quantities, with yellow coming closest.

After analyzing all the individual pack’s data, it seems like pack #22 is the closest to M&M’s published numbers, as well as being the most “average” pack in this project.

Each individual pack’s data is listed on a separate page.

This single case does not prove anything, but it does show that some colors were close enough to verify M&M’s claims, while others were off.  A second case should be analyzed to confirm the findings.

All M&M’s were brought to my office and donated to sugar deprived co-workers.

Graphs

M&M's Total Percent
M&M colors by percent
M&M average per pack
M&M’s average per pack

More graphs . . .

 

 


  1. All packages were 1.69 ounces and were from the same 48-count box.  This is the standard newspaper stand/vending machine size.

 

32 Total Comments. The five most recent are below:
Woo says:
Nov 2, 2009

Why does the total percentage in your pie graph is 99% but not 100%

hopelessstatsstudents says:
Oct 6, 2009

What does this tell us about random sampling?

Thanks :D

Steve says:
Sep 13, 2009

I attempted to access the official M&Ms; website from the link in your analysis, but it seems to be broken or a non-working link.  So right now at least, you’re the only site that has the expected percentages.  I teach statistics at the undergrad level, and we do similar experiments in-class (math can be tasty, if not fun!).  One thing I have noticed is that if you analyze the largest consumer bags, something like 2 lbs, the percentages are right in line with their expected values.  However, if you go all the way down to the “Fun-Size”, or packages likely to be given out for Halloween, the percentages are wildly inaccurate—I’ve seen up to 7 of one color in a bag of 8 candies.  Also, I’ve made it a point to purchase bags from different lots.  Lot numbers are printed on the packaging.  This would help randomize your samples.  Overall, great website, and thanks for the data!

Robin says:
Sep 5, 2009

Just want you to know that several of my 7th grade students found your analysis of great benefit as they searched for research before an experiment similar to yours. They presented me with your URL in their findings in their lab reports. Also, they did use a 47.9 gram bag.

HI says:
Dec 10, 2008

You have a lot of time on your hands

There are more comments in the back »