A magnetic quadrupole lens 5 is disposed between an ion source 1 and a sector magnet 2 in a mass spectrometer, and an electric quadrupole lens 4 is disposed between the sector magnet and a detector 3. The powers and polarities of the lenses may be varied to provide a desired degree of dispersion of the ion streams and a desired focal plane orientation coincident with the detector face or plane.