This study analyze the economic effect of chemical fertilizer. We used the input and output data, and the analysis variables include production output nitrogen, phosphoric acid, potassium, seeds, and labor. The main results are as follows. First, for spring potatoes, potassium increases to a certain level of output, but over a certain stage, the output decreases as the input increases. Optimal use of potassium in the calculation of spring potatoes can achieve the effect of reducing input costs and increasing output simultaneously. Second, radish In autumn, nitrogen increases to a certain level, but over a certain stage it represents a reverse U-shaped relationship in which output decreases as input increases. This means that reducing the amount of fertilizer input increases the output. This means that soil-related agricultural big data can contribute to the management of nutrients and greenhouse gas reduction in agricultural land.