Answer
In a mass spectrometer the sample is vaporized in the machine, then ionized. Charged plates force the cations into a magnetic field which deflects them based on their mass.
Work Step by Step
This produces the mass spectrum of the constituent elements of the sample that indicates the mass of the isotopes and their relative abundances.