Abstract: A mass spectrometer comprises an ion source (11), an ion injection arrangement (12), field generator defined by shaped electrodes (14, 16) and a detector (18) to detect ions. The electrodes (14, 16) are shaped so as to provide therebetween a field of substantially hyper-logarithmic form whereby ions can be trapped within a potential well of the field for analysis.