How to actually win those ‘guess how many are in the jar’ contests

There’s an actual formula for winning those ‘guess how many are in the jar’ contests — and it takes about two minutes.

How to actually win those 'guess how many are in the jar' contests
This post may contain affiliate links. For more information, please read our affiliate disclosure policy.

You know that feeling when you walk past a jar of jellybeans at a carnival or a office party and you think — I could win that. I just KNOW I could win that. And then you write down whatever random number floats into your brain and hand it over like you did math.

You didn’t do math. Nobody does math. That’s why the same person wins every single time and it is NOT you.

Here’s the thing though — this is actually a solvable problem. There’s a real method. It involves a tiny bit of arithmetic and zero advanced degrees, and it will absolutely make you the most dangerous person at any county fair, office holiday party, or kindergarten fundraiser within a 50-mile radius.

Why does everyone get this so wrong?

Most people look at a jar and just pick a number that feels big. It’s vibes-based guessing, which is charming but useless. The actual problem is that humans are terrible at visualizing three-dimensional volume — we see the front of the jar and forget there’s a whole lot of depth happening behind it.

There’s also the packing problem. Items don’t fill a container perfectly. There are gaps between every jellybean, every marble, every gumball. Ignoring those gaps is where most guesses go completely off the rails.

What volume actually means for a jar full of stuff

Volume is just the amount of space inside the jar. For a standard cylindrical jar — the kind you see at most contests — the formula is π × radius² × height. You probably learned this in school and immediately forgot it, which is fair.

If you don’t have a ruler handy, estimate. A Mason jar quart is about 58 cubic inches. A gallon jar is roughly 231 cubic inches. Knowing those two benchmarks gets you surprisingly far.

For a square or rectangular container — like a fish tank full of ping pong balls — it’s even easier: length × width × height. That’s it.

How do you account for the gaps between items?

This is the part nobody thinks about, and it’s the part that will win you the jar. Random packing efficiency — how much of a space gets actually filled versus left as air gaps — runs at about 64% for spheres and sphere-ish objects.

So whatever your jar volume is, multiply it by 0.64. That’s your usable volume. The rest is just air hanging out between jellybeans, doing nothing.

For non-round things — like folded dollar bills, candy corn, or whatever weird shape someone chose — packing gets messier. Irregular items can pack anywhere from 60% to 78% depending on shape. When in doubt, go with 64% and call it a day.

Okay, what’s the actual step-by-step formula?

Here’s the full process, written so you can do it on the back of a napkin:

1. Estimate the jar’s total volume. Measure or estimate the radius and height (or length/width/height for a box). Crunch the number.

2. Multiply by 0.64. That gives you the actual fillable space once you account for gaps.

3. Estimate the volume of one item. For a jellybean, that’s roughly 0.1 cubic inches. A marble is about 0.48 cubic inches. A gumball runs about 0.9 cubic inches.

4. Divide usable volume by item volume. That’s your guess.

Example: a one-quart jar (58 cubic inches) packed with jellybeans. 58 × 0.64 = 37.1 usable cubic inches. 37.1 ÷ 0.1 = 371 jellybeans. Write down 371 and walk away with confidence.

What if you can only see the jar and can’t measure anything?

You can still get close. Count how many items fit across the diameter of the jar — that gives you the item size relative to the jar. Then estimate how many layers deep the jar is. Multiply those numbers together and adjust for packing.

It’s less precise, but it’s still light-years better than picking a number because it “feels right.” The person who walks up with a method always beats the person who walks up with a vibe. Always.

If you want to nerd out even further, check out my older post on the kinds of math that actually come up in real life — some of it is surprisingly useful for exactly this kind of thing.

poll

What’s usually in the jar at these contests?

pick your answer — no counts saved, just for fun

Does the item type actually change things that much?

Yes, more than you’d think. Here are rough volumes for common contest items to keep in your back pocket:

  • Jellybean: ~0.1 cubic inches
  • M&M: ~0.06 cubic inches
  • Gumball: ~0.9 cubic inches
  • Marble: ~0.48 cubic inches
  • Golf ball: ~2.5 cubic inches
  • Ping pong ball: ~1.7 cubic inches

The smaller and more irregular the item, the harder the estimate — but the formula still holds. You’re just being asked to do a better job estimating that one item’s volume, which usually just means googling it real quick before you write your number down.

Is there a faster way if you don’t want to do any of this?

Honestly? Count the bottom layer. Seriously — look at how many items sit across the bottom of the jar and how many rows across the bottom you can see. Multiply that by how many layers tall the jar is. Then knock off about 20% for packing gaps. It’s a shortcut, but a decent one.

But what do I know. The full formula takes maybe two minutes and you look wildly smart doing it. There’s something deeply satisfying about handing over a slip of paper that says 371 while everyone else writes things like 500 or 1000.

The jar contest has been around forever and people keep losing it for the same reason every time — pure guesswork dressed up as intuition. The math isn’t hard. It’s genuinely three steps.

Next time there’s a jar in front of you with a prize attached, pull out your phone, spend ninety seconds doing this, and write down a real number. Worst case, you’re still wrong — but you’ll be wrong in a smarter direction than anyone else in the room.

And if you win a jar full of jellybeans, please share them. That’s just good manners.

Frequently asked questions

How do you calculate how many jellybeans are in a jar?
Estimate the jar’s volume in cubic inches, multiply by 0.64 to account for packing gaps, then divide by the volume of one jellybean (roughly 0.1 cubic inches). For a standard quart jar, that works out to about 370 jellybeans.
What is the packing efficiency of a jar?
For spherical or roughly round objects, random packing efficiency is about 64%. That means roughly 36% of the jar’s volume is just air gaps between items — and ignoring that is why most guesses run too high.
What is the formula for estimating objects in a jar?
The formula is: (jar volume × 0.64) ÷ volume of one item. Jar volume for a cylinder is Ï€ × radius² × height. For a rectangular container, it’s length × width × height.
How do you estimate jar volume without measuring tools?
Count how many items span the jar’s diameter to estimate item size, then count layers. For reference, a standard quart Mason jar is about 58 cubic inches and a gallon jar is roughly 231 cubic inches.
What volume is a single jellybean?
A jellybean is approximately 0.1 cubic inches. Other common contest items: M&M about 0.06 cubic inches, gumball about 0.9 cubic inches, marble about 0.48 cubic inches.
Is there a quick way to estimate items in a jar without doing full math?
Count the number of items visible in the bottom layer, estimate how many layers tall the jar is, multiply those numbers together, then subtract about 20% for packing gaps. It’s less precise but much better than guessing blindly.
Why do most people lose jar guessing contests?
Most people underestimate jar depth and ignore the air gaps between items, which causes them to guess too high. Using the 64% packing efficiency factor and calculating by item volume fixes both of those mistakes.