Optical flowmeters use light to determine flow rate. Small particles which accompany natural and industrial gases pass through two laser beams focused a short distance apart in the flow path in a pipe by illuminating optics. Laser light is scattered when a particle crosses the first beam. The detecting optics collects scattered light on a photodetector, which then generates a pulse signal. As the same particle crosses the second beam, the detecting optics collect scattered light on a second photodetector, which converts the incoming light into a second electrical pulse. By measuring the time interval between these pulses, the gas velocity is calculated as formula_5 where formula_6 is the distance between the laser beams and formula_7 is the time interval.