My starter brewing kit cost about $120. Depending on the style, it costs $40-$55 for me to produce 2 cases after everything (ingredients, bottle caps, water, gas, cleaner, etc). That's roughly $1 per beer before you factor in the initial cost of equipment.
The full algorithm would be...