A communication device, comprising a communication function unit, characterized in that the communication device further comprises: a storing unit configured to store and retain an available frequency band information list indicating available frequency bands such that the available frequency bands listed in the list are categorized into frequency band groups, each of the groups is seen as a series of consecutive frequency bands, and a number of frequency bands included in each of the groups is given to each of the groups as a frequency band number width; a determining unit configured, based on specifications of a communication to be performed, to determine a number of frequency bands according to a bandwidth necessary for the communication as a necessary frequency band number; a first selecting unit configured to select one frequency band group from among the frequency band groups listed in the available frequency band information list, the frequency band number width of the one frequency band group matching the necessary frequency band number, as a first-type use frequency band group being a frequency band group to be used; a second selecting unit configured, when none of the frequency band number widths of the frequency band groups in the available frequency band information list matches the necessary frequency band number, to select another frequency band group from among the frequency band groups listed in the available frequency band information list, the frequency band number width of the other frequency band group being larger than and next close to the necessary frequency band number, as a usable frequency band group containing frequency bands to be used; a third selecting unit configured to select a series of consecutive frequency bands corresponding to the necessary frequency band number from among the usable frequency band group as a second-type use frequency band group; and a controlling unit configured to control the communication function unit so as to perform the communication using the first-type use frequency band group or the second-type use frequency band group. a storing unit configured to store and retain an available frequency band information list indicating available frequency bands such that the available frequency bands listed in the list are categorized into frequency band groups, each of the groups is seen as a series of consecutive frequency bands, and a number of frequency bands included in each of the groups is given to each of the groups as a frequency band number width; a determining unit configured, based on specifications of a communication to be performed, to determine a number of frequency bands according to a bandwidth necessary for the communication as a necessary frequency band number; a first selecting unit configured to select one frequency band group from among the frequency band groups listed in the available frequency band information list, the frequency band number width of the one frequency band group matching the necessary frequency band number, as a first-type use frequency band group being a frequency band group to be used; a second selecting unit configured, when none of the frequency band number widths of the frequency band groups in the available frequency band information list matches the necessary frequency band number, to select another frequency band group from among the frequency band groups listed in the available frequency band information list, the frequency band number width of the other frequency band group being larger than and next close to the necessary frequency band number, as a usable frequency band group containing frequency bands to be used; a third selecting unit configured to select a series of consecutive frequency bands corresponding to the necessary frequency band number from among the usable frequency band group as a second-type use frequency band group; and a controlling unit configured to control the communication function unit so as to perform the communication using the first-type use frequency band group or the second-type use frequency band group.