The powers of the president of the United States include those explicitly granted by Article II of the United States Constitution as well as those granted by Acts of Congress, implied powers, and also a great deal of soft power that is attached to the presidency.
The Constitution explicitly assigns the president the power to sign or veto legislation, command the armed forces, ask for the written opinion of their Cabinet, convene or adjourn Congress, grant reprieves and pardons, and receive ambassadors. The president shall take care that the laws are faithfully executed and the president has the power to appoint and remove executive officers. The president may make treaties, which need to be ratified by two-thirds of the Senate, and is accorded those foreign-affairs functions not otherwise granted to Congress or shared with the Senate. Thus, the president can control the formation and communication of foreign policy and can direct the nation's diplomatic corps. The president may also appoint Article III judges and some officers with the advice and consent of the U.S. Senate. In the condition of a Senate recess, the president may make a temporary appointment.
The president is the commander-in-chief of the United States Armed Forces as well as all federalized United States Militia and may exercise supreme operational command and control over them. The president has, in this capacity, plenary power to launch, direct and supervise military operations, order or authorize the deployment of troops, unilaterally launch nuclear weapons, and form military policy with the Department of Defense and Homeland Security. However, the constitutional ability to declare war is vested only in Congress.
Article II of the U.S. Constitution expressly designates the president as: Commander in Chief of the Army and Navy of the United States, and of the Militia of the several States, when called into the actual Service of the United States
U.S. ranks have their roots in British military traditions, with the president possessing ultimate authority, but no rank, maintaining a civilian status.