This statistics shows the number of military fatalities in all major wars involving the United States , from the American Revolutionary War in 1775 until the ongoing War on Terror in the Middle East .