Since invading Afghanistan in 2001, the United States has spent $2.26 trillion on the war, which includes operations in both Afghanistan and Pakistan. Note that this total does not include funds that the United States government is obligated to spend on lifetime care for American veterans of this war, nor does it include future interest payments on money borrowed to fund the war.
The Costs of War Project also estimates that 241,000 people have died as a direct result of this war. These figures do not include deaths caused by disease, loss of access to food, water, infrastructure, and/or other indirect consequences of the war.
The figures for Afghanistan are part of the larger costs of the U.S. post-9/11 wars, which extend to Iraq, Syria, Yemen, Somalia and elsewhere. The numbers are approximations based on the reporting of several data sources.