The August 4th explosions in Beirut were very jarring to me due to the loss of human life, and the numerous, direct videos that looked like something out my 80s youth nightmares. Hearing that it was caused by 2,750 tonnes of ammonium nitrate, I started working on my phone to quantify my fear by figuring out how easy it would be to ship that much, and how much it would cost.

According to wikipedia, there were at least 171 deaths; 6,000 injuries; 300,000 people homeless; and US$10-15 billion in destruction with a blast radius causing damage up to two miles away. 1

After my initial shock, I heard 2,750 tonnes of ammonium nitrate mentioned in the news but didn’t know much about that and wanted to know how big that was. It surprised me that it seems to cost a little over half a million to buy and ship this much It ends up being really cheap, really common, and really small and that scared me by how simple of a risk this is for misuse. I’m hoping that anti-terrorism agencies are working to prevent this but since I didn’t see much coverage on this, I’m posting my notes here in case others were doing similar research.

If you can, please consider donating to help those impacted. Choosing a charity is hard, but I noticed that Nassim Nicholas Taleb recommended Beirut Emergency Fund 2020, a co-worker recommended Lebanese Red Cross, and Google has a nice Donate with Google page set up with the Center for Disaster Philanthropy.

This is unrelated to technology, but I think random researching outside of comfort areas is really important for design and debugging. Also, I think user empathy is really important for figuring out the solution so I frequently have to learn about whatever is important to my users. That being said, if this isn’t interesting, please skip.

My question

My initial wondering was “what is ammonium nitrite and how big is 2,750 tonnes of it?” And that led to a chain of reasoning that made me worry more and more…

  • How much space does 2,750 tonnes take up?
  • How much space does that take up?
  • How many shipping containers is that?
  • How much would it cost to buy that much?
  • How much would it cost to ship to that to a harbor near New York?

Nothing here was too complicated but it ate up part of Sunday morning while my wife and I were watching the news. I work on trying to collect references for lines of reasoning and so I started bookmarking some sites as I answered each of these questions.

Breaking down the arithmetic

There are many assumptions I made and I’m not experienced in chemistry or mining or export or shipping so I think that I’m likely quite a bit off in my calculations, so I figure I may be off by a power of 10. But that’s a big caveat before I start making naive calculations.

How big?

Ammonium nitrate is commonly used as a fertilizer and as an industrial explosive. To figure out how much space this much would take up I want to multiply out by its density. According to wikipedia the density of ammonium nitrate is 1.725 grams / cm3, 2 so to figure out how much space this takes up I need to convert this mass to a dimension.

1 metric ton = 1,000,000 grams = 1,000 kilograms = 1 megagram
1,000,000 / 1.725 = 579710.144927536231884 cm3 = .5797 m3 = 20.47 cubic feet
2,750 * .5797 = 1594.175 m3


So a single tonne of ammonium nitrate takes up .5797 m3 or 20.47 cubic feet.

Why did I convert that to cubic feet? I wanted to try to think of that in car cargo size and those are displayed in cubic feet.

So a BMW 330 Gran Turismo hatchback has a 18.4 cubic foot capacity with the seats up and 56.5 with the seats down. 4 So it won’t fit a whole tonne with the seats up, but it can hold almost three with the seats down. Of course, the axles can’t bear even a half tonne so it’s moot for reality, but I’m now thinking of 2,750 tonnes in terms of hatchbacks.

Fortunately, not full of ammonium nitrate

So, the entire batch of ammonium nitrate in Beirut takes up 1594 m3. That’s too big to think of in hatchbacks, how many shipping containers is that?

A shipping container, or an intermodal container, are those standard sized steel boxes that we see on trucks and stacked up in ports and is used for shipping pretty much everything for freight transport. They come in 20 foot and 40 foot versions and shipping is described in twenty-foot equivalent units or TEUs. This is one of those funny situations where the standard is in imperial units (kind of like tire sizes) but the dimensions are 6.1m long, 2.6m high, and 2.9m wide and have an internal volume of 33.1 m3. 5

1594.175 / 33.1 = 48.16238670694864

So 2,750 tonnes takes up 48.16 TEU shipping containers. Still kind of hard to visualize. How many does one of those cargo ships carry? Is 50 containers a lot?

Modern container ships can carry over 23,000 TEUs. 6 So 50 containers is just a fraction of the overall cargo.

See if you can spot the .217% of the TEUs that contain 2,750 tonnes

So I can kind of visualize 50 TEUs and the neat web site The Measure of Things tells me that’s 3/4 the size of a hot air balloon.

So big, but not humongous. Certainly something that the Joker or Simon Gruber could arrange to ship with 25-50 semi trucks.

How expensive?

How much would this much cost? The price seems to vary depending on country, this chart from 2007 shows the cheapest price from Russia at $156/tonne. [^pricing] And the current retail price on is $192-217/tonne. 7

The world’s total output was 21.6 tonnes in 2017 and the top five producing countries were Russia (9.9M), Egypt (4.3M), Uzbekistan (1.4M), the US (1.4M), and Poland (1.3M).

So 2,750 seems like a purchasable amount. Assuming that the 2007 price from Russia is reasonable for a bulk price gets us to $429,000 as the raw cost of the material.

156 x 2,750 = $429,000

How much to ship?

So if a bad guy has 50 containers full of ammonium nitrate, how much does that cost to ship?

An explosion in any US port would be terrible, but just to estimate prices I calculated shipping it to the Red Hook Terminal in Brooklyn, NY as a two mile radius from there would reach much of New York City. shows that four quotes of 50 containers shipped from St. Petersburg, Russia (RULED) to New York (USNYC) range from $106,200-138,000 and will take 13-19 days.


So it seems like the total cost to purchase and ship 2,750 tonnes of ammonium nitrate is $567,000. That seems way too cheap to cause so much damage.

According to CNN, the fertilizer was on a Russian ship called the MVRhosus and was bound for Madagascar when it stopped in Beirut.

This is one of those risks that I don’t know any way to practically cope with, so I have to trust that multiple government agencies are working every day making sure stuff like this doesn’t happen.

But if someone is working on a Bond script, or an Austin Powers script, this might eventually show up in a story.

All the calculations together

$156 x 2,750 tonnes = $429,000
1,000,000 grams / 1.725 g/cm3 = 579710.144927536231884 cm3 = .5797 m3
2,750 tonnes * .5797 m3 = 1594.175 m3
1594.175 m3 / 33.1 m3/TEU = 48.16238670694864 TEU
$429,000 chemicals + $138,000 shipping = $567,000

Unanswered questions

Questions I didn’t find that definitely impact overall cost:

  • I’m not sure what mixture and ingredients are needed beyond raw ammonium nitrate.
  • I’m not sure if stacked containers will result in a similar explosion.
  • Not sure how much it costs to rent all those containers.
  • St. Petersburg may not be the best shipping port from Russia.
  • How hard it is to arrange customs forms.

Stuff I read while working on this post