Cost of War Act of 2011 - Requires the Secretary of Defense (DOD) to post on the DOD public website the cost to each taxpayer of each of the wars in Afghanistan, Iraq, and Libya.