The present invention provides a 
mass spectrometer having an 
ion lens capable of transporting an 
ion having a large 
mass to charge ratio with a high level of 
ion-passing efficiency even under a low-vacuum 
atmosphere. In conventional 
atmospheric pressure ionization mass spectrometers or similar mass spectrometers, applying an excessively 
high voltage to the ion lens undesirably causes an 
electric discharge. Therefore, the passing efficiency for an ion having a large 
mass to charge ratio cannot be adequately improved, which leads to a poor detection sensitivity. To solve this problem, the mass 
spectrometer according to the present invention includes a 
voltage controller 21 that controls a variable radiofrequency (RF) 
voltage generator 24 so that both the amplitude and the frequency of the RF 
voltage applied to the lens electrodes of an ion lens 5 are changed according to the 
mass to charge ratio of an ion to be analyzed. This control enables the ion lens 5 to focus an ion and transport it to the subsequent stage with a high level of passing efficiency even in the case of analyzing an ion having a large 
mass to charge ratio. Thus, the detection sensitivity is improved. The aforementioned control is conducted on the basis of the 
control data stored in a 
voltage control data storage 22. These data are obtained in advance by a measurement of a sample containing a substance having a known mass to charge ratio, in which the intensity of the 
signal of an ion 
detector is maintained while the analysis conditions are changed.