How Many M&Ms

Fit in Your Jar? 🍫

Choose a jar
Or enter a size

M&Ms are flattened spheres, so they pack a little tighter than round candy. Real counts vary with settling.

🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀
🟀

About M&Ms in a Jar Estimator

This estimator turns a jar's size into a believable number of M&Ms[1]. Pick a jar or enter a volume, and it multiplies the usable space by a packing fraction and divides by the size of one candy to get a count, with a range on either side, which is the exact math behind a candy jar guessing game.

M&Ms are not spheres, they are flattened spheroids[2], and that shape actually packs a little tighter than round candy. Studies of the random close packing[3] of M&Ms found a packing density[4] near 68 percent, higher than loose spheres, because the flat sides slot against each other.

Even so, treat the number as a smart estimate. Like any Fermi problem[6], the real count depends on the jar shape and how the candy settles, and it will not match the tidy maximum of ordered sphere packing[5]. The tool shows a range of about plus or minus twelve percent.

The presets use standard mason jar[7] sizes, and you can type any volume in cups, ounces, liters, or gallons. Everything runs in your browser, nothing is uploaded, and the weight and calorie figures are there for fun.

How to Use

  1. Pick a jar size, or enter your own volume.
  2. Press Estimate to count the M&Ms.
  3. Read the headline number and the range.
  4. Check the weight and calorie totals below.
  5. Use the range when you set or guess a contest answer.

Frequently Asked Questions

How many M&Ms fit in a jar?

A quart mason jar holds roughly 1,000 plain M&Ms and a gallon jar roughly 4,000, though the real count varies. Enter your jar to get an estimate with a range.

Do M&Ms pack tighter than round candy?

Yes, slightly. Because M&Ms are flattened spheroids, their flat sides slot together, giving a packing density near 68 percent, a bit higher than loose spheres.

How does the estimator work?

It multiplies the jar volume by the packing fraction, then divides by the volume of one plain M&M. The answer comes with a range because packing is never exact.

Does it work for peanut M&Ms?

The presets assume plain M&Ms. Peanut M&Ms are larger, so a jar holds far fewer. Use the custom volume with that in mind, or expect the low end of the range.

What jar sizes can I use?

Common mason jar sizes from half-pint to a gallon, or any volume you type in cups, ounces, quarts, liters, or gallons.

Is my data private?

Yes. The estimate runs entirely in your browser and nothing is uploaded.

Sources (7)
  1. M&M's - Wikipedia
  2. Spheroid - Wikipedia
  3. Random close pack - Wikipedia
  4. Packing density - Wikipedia
  5. Sphere packing - Wikipedia
  6. Fermi problem - Wikipedia
  7. Mason jar - Wikipedia

About Matt George

I'm Matt George, a software engineer in the startup space. I run my own shop building software for early-stage founders, and I love making free tools and experiences that people actually use. Enjoy using M&Ms in a Jar Estimator!

More Free Tools