A method based on a thermocouple detector measuring simultaneously the total flux of energetic particles and the portion of the charged particles is proposed and studied. These data allow the neutral fraction of the ion beam to be easily calculated and the fraction is determined for different values of the working gas pressure in Ar and SF,. The results obtained are in good agreement with the theoretical model, for an ion beam accelerating bias of 500 V.