Command over the U.S. Armed Forces is established in the Constitution. The sole power of command is vested in the President by Article II as Commander-in-Chief. The Constitution presumes the existence of "executive Departments" headed by "principal officers", whose appointment mechanism is provided for in the Appointments Clause. This allowance in the Constitution formed the basis for creation of the Department of Defense in 1947 by the National Security Act. The DoD is headed by the Secretary of Defense, who is a civilian and member of the Cabinet. The Defense Secretary is second in the U.S. Armed Forces chain of command, with the exception of the Coast Guard, which is under the Secretary of Homeland Security, and is just below the President and serves as the principal assistant to the President in all defense-related matters. Together, the President and the Secretary of Defense comprise the National Command Authority, which by law is the ultimate lawful source of military orders.
These forces demobilized in 1784 after the Treaty of Paris ended the War for Independence. The Congress of the Confederation created the current United States Army on 3 June 1784. The United States Congress created the current United States Navy on 27 March 1794 and the current United States Marine Corps on 11 July 1798. All three services trace their origins to their respective Continental predecessors. The 1787 adoption of the Constitution gave the Congress the power to "raise and support armies", to "provide and maintain a navy" and to "make rules for the government and regulation of the land and naval forces", as well as the power to declare war. The President is the U.S. Armed Forces' commander-in-chief.
Each service has a uniformed head who is considered the highest-ranking officer within their respective service, with the exception of the chairman and vice chairman of the Joint Chiefs of Staff, and the chief of the National Guard Bureau. They are responsible for ensuring personnel readiness, policy, planning and training and equipping their respective military services for the combatant commanders to utilize. They also serve as senior military advisors to the President, the Secretary of Defense, their respective service secretaries, as well as other councils they may be called to serve on. They are as follows:
As of 2017, the U.S. spends about US$610 billion annually to fund its military forces and Overseas Contingency Operations. Put together, the U.S. constitutes roughly 40 percent of the world's military expenditures. The U.S. Armed Forces has significant capabilities in both defense and power projection due to its large budget, resulting in advanced and powerful technologies which enables a widespread deployment of the force around the world, including around 800 military bases outside the United States. The U.S. Air Force is the world's largest air force, the U.S. Navy is the world's largest navy by tonnage, and the U.S. Navy and the U.S. Marine Corps combined are the world's second largest air arm. In terms of size, the U.S. Coast Guard is the world's 12th largest naval force. 
Military tactics concerns itself with the methods for engaging and defeating the enemy in direct combat. Military tactics are usually used by units over hours or days, and are focused on the specific, close proximity tasks and objectives of squadrons, companies, battalions, regiments, brigades, and divisions, and their naval and air force equivalents.
Initially, recruits without higher education or college degrees will hold the pay grade of E-1 and will be elevated to E-2 usually soon after basic training. Different services have different incentive programs for enlistees, such as higher initial ranks for college credit, being an Eagle Scout and referring friends who go on to enlist as well. Participation in DEP is one way recruits can achieve rank before their departure to basic training.
Examinees also receive a score on what is called the Armed Forces Qualification Test (AFQT). AFQT scores are computed using the Standard Scores from four ASVAB subtests: Arithmetic Reasoning (AR), Mathematics Knowledge (MK), Paragraph Comprehension (PC), and Word Knowledge (WK). AFQT scores are reported as percentiles between 1-99. An AFQT percentile score indicates the percentage of examinees in a reference group that scored at or below that particular score. For current AFQT scores, the reference group is a sample of 18 to 23 year old youth who took the ASVAB as part of a national norming study conducted in 1997. Thus, an AFQT score of 90 indicates that the examinee scored as well as or better than 90% of the nationally-representative sample of 18 to 23 year old youth. An AFQT score of 50 indicates that the examinee scored as well as or better than 50% of the nationally-representative sample.