Size, materials, labor, permits, and additional features like insulation or electrical work can all influence the overall cost.