The cost to build a fence varies greatly with materials and the style and type of the fence you choose, but for us this has typically been about $22 per foot for a 6' privacy fence with DIY installation, of course.