Total was $12. I made wire shelf dividers DIY for my pantry shelves because the store-bought ones were $8 each and I needed 10. That's $80 for something I made for a fraction of the price. I'm not a pro at this, but I did it two years ago and it's still fine. If you know a better way, tell me – next time I'll do it your way.
The Materials I Used for Wire Shelf Dividers DIY
I started with a roll of 14-gauge galvanized wire from Home Depot – $6 for 25 feet. Then I picked up a pair of wire cutters (already had those, but they're $10 if you don't). I also grabbed a pack of spring clamps for $4 to hold things in place while bending. Everything came from the hardware aisle, nothing fancy. Total materials for the project: $12 for the wire plus maybe $1 worth of the other stuff I already had. If you're starting from scratch, budget $20.
The key was measuring the shelf depth first. My pantry shelves are 16 inches deep, so I cut each divider wire to 15 inches to leave a little gap at the back. I made 8 dividers total, using about 20 feet of wire. Each divider cost me about $0.75 in wire, compared to $8 for the plastic store ones. That's a $58 savings for an hour of work.

How I Put Them Together
I folded each wire into a U-shape using a pair of pliers. The bottom of the U sits on the shelf, and the two arms point up to keep cans from tipping over. I bent the bottom edges slightly outward so the divider doesn't slide around. Took about 5 minutes per divider once I got the hang of it. The first one was ugly – I over-bent and had to straighten it out. By the third one, I had a rhythm.
To install, I just slid each U onto the shelf wire grid. The arms grip the shelf wires tightly enough that they don't move when I grab a can of beans. No drilling, no adhesive. If I want to rearrange, I just pull them off and move them. I've had them in place for two years and only had to re-bend one after my kid pushed a bag of rice into it. Two seconds with pliers and it was back to shape.
A friend asked why I didn't buy the plastic ones with the little clips. Honestly, those clips break after a year and then you're hunting for replacements. Wire doesn't break. Plus, the galvanized finish doesn't rust in a dry pantry. I just wipe them down with a damp cloth when they get dusty.
What I'd Change Next Time
If I did it again, I'd spend the extra $2 on vinyl-coated wire so it matches the white shelving better. The bare galvanized works fine, but it's a silver color that stands out against the white shelf grid. Doesn't bother me enough to redo it, but if you're picky about looks, go with coated wire. Also, I'd cut all the pieces at once instead of measuring each one – the first few I measured individually and they ended up a tiny bit different lengths. After that I cut a cardboard template and used it as a guide. Much faster.
One more thing: I made dividers that are 3 inches tall. That works for cans and jarred goods, but for boxes like cereal or pasta, I wish I'd made a few taller ones. Next batch I'll try 5 inches. The taller ones would bend more easily, so I might double up the wire or use a thicker gauge. For now, the 3-inch dividers keep everything in its row and stop the spaghetti sauce from sliding into the soup row. Good enough for me.

Cost Breakdown and Final Thoughts
Here's the hard number: I spent $12 on materials for 8 wire shelf dividers DIY. Plus about an hour of my time. If I had bought the store-bought kind, it would have been $64 for the same number. That's $52 saved, plus I got exactly the size I needed. The store-bought ones only come in one height, and my shelves are an odd depth – the DIY version fits perfectly.
Would I recommend it? Yes, if you have basic pliers and a half hour. No special skills needed. Just bend wire and slide it in. Worst case, you mess up a piece and you're out twenty cents. The only reason to buy the store ones is if you want something that looks perfect out of the box. I'm fine with a little character.
Anyone else tried making their own wire shelf dividers? What'd you use – wire hangers? I've heard people repurpose those but I wanted something stiffer. Let me know what worked for you or if I missed a trick. Did I overpay for the wire? Should I have tried a different gauge? Next time I might do it your way.