a commander in the royal navy is above the rank of lieutenant-commander, below the rank of captain. it is equivalent in rank to a lieutenant colonel in the british army and wing commander in the royal air force. a commander may command a frigate, destroyer, submarine, aviation squadron or shore installation, or may serve on a staff.