Flag officer
A flag officer is a commissioned officer in a nation's armed forces senior enough to be entitled to fly a flag to mark the position from which the officer exercises command. The term is used differently in different countries:

In many countries, a flag officer is a senior officer of the navy, specifically those who hold any of the admiral ranks; the term may or may not include the rank of commodore. In some countries, such as the United States, India, and Bangladesh it may apply to all armed forces, not just the navy. This means generals can also be considered flag officers. In most Arab armies, liwa (Arabic: لواء), which can be translated as flag officer, is a specific rank, equivalent to a major general. However, "ensign" is debatably a more exact translation of the word. In principle, a flag officer commands several units called "flags" (or "ensigns") (i.e. brigades). General usage
The generic title of flag officer is used in many modern navies and coast guards to denote those who hold the rank of rear admiral or its equivalent and above, also called "flag ranks". In some navies, this also includes the rank of commodore. Flag officer corresponds to the generic terms general officer, used by land and some air forces to describe all grades of generals, and air officer, used by other air forces to describe all grades of air marshals and air commodores. A flag officer sometimes is a junior officer, called a flag lieutenant or flag adjutant, attached as a personal adjutant or aide-de-camp. Canada
In the Canadian Armed Forces, a flag officer (French: officier général, "general officer") is an admiral, vice admiral, rear admiral, or commodore, the naval equivalent of a general officer of the army or air force. It is a somewhat counterintuitive usage of the term, as only flag officers in command of commands or formations actually have their own flags (technically a commodore has only a broad pennant, not a flag), and army and air force generals in command of commands or formations also have their own flags, but are not called flag officers. Base commanders, usually full colonels, have a pennant that flies from the mast or flagpole on the base, when resident, or on vehicles that carry them. A flag officer's rank is denoted by a wide strip of gold braid on the cuff of the service dress tunic, one to four gold maple leaves over a crossed sword and baton, all beneath a royal crown, on epaulettes and shoulder boards; and two rows of gold oak leaves on the peak of the service cap. Since the unification of the Canadian Forces in 1968, a flag officer's dress tunic had a single broad stripe on the sleeve and epaulettes. In May 2010 the naval uniform dark dress tunic was adjusted—exterior epaulettes were removed, reverting to the sleeve ring and executive curl-rank insignia used by most navies. commodores' uniforms display a broad stripe, and each succeeding rank receives an additional sleeve ring. There are no epaulettes on the exterior of the tunic, but they are still worn on the uniform shirt underneath. India

In the Indian Armed Forces, it is applied to brigadiers, major generals, lieutenant generals and generals in the Army; commodores, rear admirals, vice admirals and admirals in the Navy; and air commodores, air vice marshals, air marshals and air chief marshals in the Air Force. Each of these flag officers are designated with a specific flag. India's honorary ranks (five star ranks) are field marshal in the Army, Marshal of the Indian Air Force in the Air Force and admiral of the fleet in the Navy. A similar equivalence is applied to senior police officers of rank Deputy Inspector General (DIG), Inspector General (IG), Additional Director General (ADG) and Director General (DG). United Kingdom
In the United Kingdom, the term is only used for the Royal Navy, with there being a more specific distinction being between a "flag officer" and an "officer of flag rank". Formerly, all officers promoted to flag rank were considered to be "flag officers". The term is still widely used to refer to any officer of flag rank. Present usage is that rear admirals and above are officers of flag rank, but only those officers who are authorised to fly a flag are formally called "flag officers" and have different flags for different ranks of admiral. Of the 39 officers of flag rank in the Royal Navy in 2006, very few were "flag officers" with entitlement to fly a flag. For example, a Commander-in-Chief Fleet flies an admiral's flag whether ashore or afloat and is a "flag officer". The chief of staff (support), a rear admiral, is not entitled to fly a flag and is an "officer of flag rank" rather than a "flag officer". List of fleets and major commands of the Royal Navy lists most admirals who were "flag officers". A flag officer's junior officer is often known as "Flags". Flag Officers in the Royal Navy are considered as Rear-Admirals and above. Equivalent ranks in the British Army and Royal Marines are called general officer rather than flag officers, and those in the Royal Air Force (as well as the rank of air commodore) are called air officers, although all are entitled to fly flags of rank. United States

Captain was the highest rank in the United States Navy from its beginning in 1775 until 1857, when Congress created the temporary rank of flag officer, which was bestowed on senior Navy captains who were assigned to lead a squadron of vessels in addition to command of their own ship. This temporary usage gave way to the permanent ranks of commodore and rear admiral in 1862. The term "flag officer" is still in use today, explicitly defined as an officer of the U.S. Navy or Coast Guard serving in or having the grade of admiral, vice admiral, rear admiral, or rear admiral (lower half), equivalent to general officers of an army. In the United States Army, Air Force, and Marine Corps, the term "flag officer" generally is applied to all general officers authorized to fly their own command flags—i.e., brigadier general, or pay grade O-7, and above. As a matter of law, Title 10 of the United States Code makes a distinction between general officers and flag officers (general officer for the Army, Marine Corps, and Air Force; flag officer for the Navy and Coast Guard). Non-naval officers usually fly their flags from their headquarters, vessels, or vehicles, typically only for the most senior officer present. In the United States all flag and general officers must be nominated by the President and confirmed by the Senate. Each subsequent promotion requires renomination and re-approval. For the Navy, each flag officer assignment is usually limited to a maximum of two years, followed by either reassignment, reassignment and promotion, or retirement. References

External links
 Compared US Armed Forces Flag Officer Personal Rank Flags

Officer
Military ranks
Military terminology