To embed the Total Cost of Wars Since 2001 counter on your website,
blog, etc, follow these simple instructions:
1) Add the following javascript to your page:
<script src="https://www.nationalpriorities.org/cost-of/war/js/"></script>
Add the following code wherever you want the counter to show up:
<div id="npp-widget-war" class="npp-widget"></div>
NOTE: This doesn't need to be a <div>. Use whatever tag you need.
A Note About Style
We've intentionally left out any styles for this embeddable counter, instead leaving it up to you to provide
styles consistent with the look of your site. To aid in that process, here's the HTML markup that will be
generated from the embed code:
<div id="npp-widget-war" class="npp-widget">
<h3 class="npp-widget-title">
Total Cost of Wars Since 2001
</h3>
<p class="npp-widget-summary">
Every <span> hr(s)</span>,
taxpayers in <span></span>
are paying <span>$###</span>
for <span>Total Cost of Wars Since 2001</span>.
</p>
<p id="npp-widget-war-total" class="npp-widget-total">
$###,###,###
</p>
<p class="npp-widget-meta">
See more counters at
<a href="http://www.nationalpriorities.org/cost-of/"
title="Brought to you by the National Priorities Project">
https://www.nationalpriorities.org/cost-of/
</a>
</p>
</div>
×
The Cost of National Security counters examine the costs of the United States’ wars on terrorism since September 11, 2001. These wars – in Afghanistan, Iraq, Pakistan, Syria and beyond – are now the longest wars in United States history. The counters show their cost in dollars, according to the Costs of War project at Brown University’s Watson Institute for International and Public Affairs.
This estimate differs from the more widely-cited $5.6 trillion total cost of war estimated by the Costs of War project, because it does not include estimated future costs - only those costs that American taxpayers have paid through Fiscal Year 2018.
For more detail, see Notes & Sources. Thanks to Costs of War's Stephanie Savell for her assistance.
×