The average cost to build a warehouse is $20 per square foot. Prices can range from $24,000 for a small 30x40 building up to $800,000 for a 50,000 sq ft distribution center. This price includes the base metal building package along with delivery, construction & foundation.