I run about $18 for my average batch (1.058, 6.2% abv, 4.8 ozs hops). .... OK, I'm anal and keep detailed records; this includes bottle caps, sanitizer, fermcap, priming sugar, etc, etc. Works out to about $0.35 per bottle.
When I add in equipment, it comes out to about $0.50 per bottle for everything.
BUT ........ If I add in the time, about 10 hours for a 6.5 gallon batch (buying, prep, brewing, cleaning, racking, bottling, and recipe formulating, and I'm probably underestimating that), and factor a pretty low wage of say $10 per hour, it adds $1.50 per bottle.
I do make some awesome beers, some of which would stand up against $5 bottles, but there are also many others that I can pick out flaws, that I certainly would be disappointed if I paid $2 for.
While buying ingredients in bulk may keep my cost down, I'm not doing this to save money; overall if I include my time, I think my beers cost a lot more than I could buy similar for.
I love the hobby, and have a great store of many different types of beers, some of which you just can't get from the store; such as an Oaked Rum Robust Porter, or a Gumballhead clone (can't get the stuff around here - just had one), or a Bretted Brown Ale, or an All-Brett beer, etc.