A photo acoustic trace gas detector (100) is provided for detecting a concentration of a trace gas in a gas mixture. The photo acoustic trace gas detector (100) comprises a light source (101), an optical cavity (104a, 104b), ratio modulating means (105, 111) and a transducer (109). The optical cavity (104a, 104b) contains the gas mixture and amplifies light intensity. Maximum amplification is provided when a ratio of a wavelength of the light beam and a length of the optical cavity (104a, 104b) has a resonance value. Ratio modulating means (105, 111) modulate the ratio for transformation of the light beam into a series of light pulses for generating the sound waves, an amplitude of the sound waves being a measure of the concentration of the trace gas. A transducer (109) converts the sound waves into electrical signals.