A mass spectrometer is used to detect the presence of helium when carrying out helium leak testing. The process under test is filled with nitrogen containing 1 % helium (helium used as a tracer gas). Flanges under test are sampled with a vacuum probe connected to the mass spectrometer. The helium detected allows one to quantify the leak. The mass spectrometer actually counts the helium particles to quantify the leak.