In a time of flight mass spectrometer (TOF-MS) of the present invention, a flight controller makes ions fly a loop orbit a predetermined number of turns, and an ion detector detects the ions at each turn of the flight. A flight time measurer measures the length of flight time of ions of a same mass to charge ratio at every turn, and a data processor constructs a spectrum of flight time. The data processor further computes the Fourier transformation of the spectrum, and determines the mass to charge ratio of the ions based on a frequency peak appearing in the Fourier transformation.