The key to mass spectrometry is that all of the particles go into the deflection chamber with the same kinetic energy. They do not, however, have the same mass/charge ratio (m/z). Although most of the ions formed are +1 ions, their masses are different. Therefore, the amount of deflection they experience by the electromagnet is different. The strength of the electromagnet can be varied so only particles with a particular mass/charge ratio can make it to the detector. Other particles collide with the metallic sides of the instrument, are neutralized, and then removed by the vacuum pump. The machine is calibrated using carbon-12 isotopes which are, by definition, exactly 12 amu (12.0000000…amu)