Disclosed is a method and apparatus for setting threshold values for use by a radar level transmitter to detect reflected wave pulses corresponding to portions of a transmitted microwave pulse which reflect from interfaces contained in a container. The present invention estimates these threshold values based upon various parameters. Some of these parameters can relate to properties of the materials forming the interfaces while others relate to properties of the antenna and user-defined parameters.