Military rank

"So if you're a captain, and I'm a Jedi, then technically I outrank you, right?''" "In my book, experience'' outranks everything."

- Jedi Padawan Ahsoka Tano and Clone Captain Rex, upon becoming acquainted with each other for the first time

An individual's military rank was their placement within a military hierarchy. The military forces of the Galactic Republic, the Confederacy of Independent Systems, the Galactic Empire, the Alliance to Restore the Republic, the New Republic, the First Order, and the Resistance all utilized military ranks in their hierarchy.

Clone Wars
The Republic Military during the Clone Wars, which consisted of millions of clone troopers, genetically identical soldiers bred to serve the Republic.

Clone troopers within the Grand Army of the Republic had the ranks of Clone marshal commander, Clone Commander, Clone Captain and Clone Lieutenant.

Non-clone individuals such as Jedi serving the Galactic Republic's Army and Navy had the ranks of Captain, Commander, such as Ahsoka Tano, Colonel, such as Meebur Gascon, General, such as Jedi Master Pong Krell, and Admiral, such as Wullf Yularen.

Confederacy of Independent Systems
The Confederacy military was made of the Separatist Droid Army and the Separatist navy which were lead by Count Dooku, the Separatist Council and Grievous.

The Separatist Army, was almost completely made of droids which consisted of droid soldiers of the Techno Union, the Commerce Guild, and the Trade Federation. Military ranks used for biological beings in the Separatist Droid Army were the ranks of Captain, Commander, Colonel, and General. One of the most infamous Confederate Generals was Grievous.

The Separatist Navy used the military ranks of Captain, Commander and Admiral.

Galactic Empire
The Imperial Navy's officer corps had several ranks. From lowest to highest, they were: Ensign, Junior Lieutenant, Senior Lieutenant, Captain, Lieutenant Commander, Commander, Commodore, Rear Admiral, Vice Admiral, Admiral, Fleet Admiral, and Grand Admiral. Commissioned officers were trained at the Royal Imperial Academy on Coruscant and other similar Imperial Academies.

Some known ranks in the Imperial Army included Corporal, Sergeant, Sergeant Senior, Lieutenant, Commandant, Commander, Major, Colonel, General , and Grand General

First Order
The First Order navy and army had a ranking system were the insignia was being worn on the left sleeve of the uniform like its predecessor, the Galactic Empire. Squad leaders and Sergeants wore black uniforms, Lieutenants and Captains wore light gray, and Majors and Colonels wore teal, while General officers wore charcoal gray uniforms.

Resistance
Officers of the Resistance wore Resistance rank badges on their left chest to distinguish their ranks.

The Resistance army was distinguished by red badges and composed of six different ranks: The Lieutenant, Captain, Major, Commander, Colonel, and most importantly, the General rank, held by Leia Organa.

The Resistance navy had the same ranking system as the Resistance army, with badges blue in color as opposed to red. the General rank being replaced by the Admiral rank, which was held by Gial Ackbar, and the addition of the lieutenant commander rank, held by Nien Nunb.