A theoretical cost optimization model to get optimal flowback distribution solution. An empirical study using the shale gas data in Bradford County of Marcellus Shale. Visualization of optimal flowback distribution solutions under different scenarios. Transportation cost is a more important factor for reducing the cost. Help the developers to cut the storage and transportation cost of reusing flowback.