Countries’ military expenditures differ greatly across both space and time. This study examines the determinants of military spending, with particular reference to the importance of the external security environment. Using the liberal-realist model of international relations, we first estimate the probability that two countries will be involved in a fatal militarized interstate dispute. We then aggregate these ex ante estimates of the likelihood of dyadic conflict, calculating the annual joint probability that a country will be involved in a fatal dispute.