https://en.wikipedia.org/wiki/TNT_equivalent
However, I don't know enough to say "direct comparison is more like 1200 tons" based on that alone - as there's factors at play (density and detonation velocity play a part in how destructive it is from really really bad old memory - so the equivalent amount of HMX does more dmg I think than TNT as it has more destructive force but i may be wholly wrong. I read it when a teenager and probably didn't understand it then either ).
I was always under the impression it's an oxidant and needs something else to react with (i.e. it's not explosive alone, it requires a reagent), but it appears I was a worse failed chemist than I thought
https://en.wikipedia.org/wiki/Ammonium_nitrate
Depending upon the manner of it's storing it'd provide the "confined space" to reach an explosion from burning alone without other reagents. I always thought it was mixed with diesel - but that's on that chart too (ANFO), so...At higher temperatures, the following reaction predominates.[7]
2NH4NO3 → 2N2 + O2 + 4H2O
Both decomposition reactions are exothermic. Consequently, when the mass of ammonium nitrate is greater than the critical mass the decomposition is explosive. Many ammonium nitrate disasters, with loss of lives, have occurred. The brown colour in an explosion cloud is due to nitrogen dioxide, a secondary reaction product.
Should add - an awful thing to happen. The destruction is insane and the amount of people affected is constantly climbing.