The wavelength of a radio wave is inversely proportional to its frequency. This means that the higher the frequency of a radio wave, the shorter its wavelength. FM radio waves have a higher frequency than AM radio waves, so they have a shorter wavelength.
AM radio waves typically have wavelengths between 180 and 540 meters, while FM radio waves typically have wavelengths between 1 and 10 meters.