People use these two words like they mean the same thing, and stores don't help, because half of them label a boonie as a bucket hat and the other half do the reverse.
They're related, but they're built for different jobs. If you're buying one to wear on a beach for an afternoon the difference doesn't matter much. If you're buying one to work outside in, it matters a lot.
The short version
A bucket hat is a soft, downward-sloping hat with a narrow all-around brim, usually two to three inches. It came out of Irish fishing and Scottish farming wear, got picked up by fashion in the eighties, and never left. It's a hat first and a piece of sun equipment second.
A boonie hat is a wider-brimmed version built for military and field use. It came out of jungle warfare, where the job was covering the neck and ears and staying on in bad conditions. It's a piece of sun equipment first and a hat second.
Everything else follows from that.
Brim width
This is the real difference.
A bucket hat brim runs roughly two to three inches. A boonie runs three to four, sometimes more. That inch or two sounds trivial and isn't. The extra width is the difference between shading your ears and shading your ears, your neck, and the sides of your face at an angle when the sun is low.
If you're outside at 4 p.m. in October, the sun isn't overhead. It's coming in sideways, and brim width is what determines whether that matters.
The chin cord
Most boonies have one. Most bucket hats don't.
It looks like a small thing until the first windy day, and then it's the only thing. A hat that blows off your head twenty times an afternoon is a hat you stop wearing.
If you work anywhere open, a field, a boat, a job site, this alone is a reason to go boonie.
Venting
Boonies usually have brass grommets or mesh panels around the crown. Bucket hats usually don't.
This is counterintuitive but real: a boonie often runs cooler than a bucket hat despite covering more of you, because the venting moves air across your scalp while the brim keeps the sun off. More coverage plus more airflow beats less of both.
Material and construction
Bucket hats are commonly cotton, denim, corduroy, or nylon, chosen mostly for how they look. Boonies are usually ripstop nylon or a cotton-poly blend, chosen for durability and drying speed.
If you're going to sweat through it four days a week for four months, that distinction shows up fast. Cotton holds sweat, stays damp, and starts to smell. Ripstop dries between uses.
Boonies also frequently have a branch loop, a band of fabric around the crown that was originally for holding foliage. Nobody uses it for that. It's a decent place to tuck sunglasses.
The stiffness question
Bucket hat brims are usually soft and floppy, which is why they pack well and why they look the way they look. Boonie brims are usually stiffened, so they hold shape and can be snapped up on one side.
Soft packs better. Stiff shades better and holds up longer.
Which one you want
Get a bucket hat if: you want the look, you're wearing it casually, you need something that stuffs into a bag, or you're outside for an hour at a time rather than a full day.
Get a boonie if: you work outside, you're out for hours at a stretch, it gets windy where you are, or you've already had a doctor look at something on your ear or the back of your neck.
For anyone who's outdoors as a matter of the job rather than a matter of recreation, it's a boonie. It's not close.
Where this came up for me
I coach high school football, and I got into all of this the hard way: I've had several skin cancers removed.
Between camp and the last game, a coach stands outside somewhere around a hundred and fifty hours. Then spring ball, then June camps, then you do it again next year. Most of us do all of it in a ball cap that shades our eyes and leaves the ears and the back of the neck fully exposed. I did exactly that for two decades without thinking about it once, and the ears and the neck are where it caught up with me.
So when I went looking for something better I ended up building a boonie, and while I was in there I fixed the other thing I was always getting wrong. The hat needed a chin cord anyway, so I put a Fox 40 on it. One cord doing two jobs, and I stopped standing on my own practice field hollering for a whistle.
That's the Coach's Cap. $24.99, medium through extra large, whistle comes off so you can wash the hat. It's built for coaches, but the sun doesn't know what you do for a living, and the reasoning holds for anybody who works a full day outside.
Whichever way you go, buy for the hours you actually put in rather than the hours you think you put in. Most of us underestimate it by a lot, and I underestimated it for twenty years.