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.
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?
What is the packing efficiency of a jar?
What is the formula for estimating objects in a jar?
How do you estimate jar volume without measuring tools?
What volume is a single jellybean?
Is there a quick way to estimate items in a jar without doing full math?
Why do most people lose jar guessing contests?


