Here's what I found:<p><pre><code> The global production of nitrogen fertilizer amounted to some 117.5 million
metric tons in 2018. China was by far the country with the largest
production, with an output of 28.9 million metric tons of nutrient. It was
followed by the United States and India, with 13.6 and 13.3 million
metric tons produced, respectively.
</code></pre>
According to IBISWorld the fertilizer business in the US gets $19.3B in revenue a year, explosives are just $2.3B. I can't imagine that any of the top three countries (China, US and India) have diverted fertilizer production to explosives yet.<p>I think so far both Russia and Ukraine have been fighting based on stocks that are already manufactured. For instance Russia has about 2,000 S-300 missile launchers and they probably have at least 10x that number of missiles. (Part of the untold story of the cold war is that the Soviets were driven crazy by the threat of the U-2, SR-71, B-52, B-1, B-2, ... and said "no way" and spent more money than they had on air defense.)<p>Similarly they have been working through large stocks of artillery shells, rockets, etc.