TXRF (total reflection X-ray fluorescence) measures trace metal contamination on a wafer surface by directing an X-ray beam at a grazing angle so shallow that it undergoes total external reflection off the wafer surface, confining nearly all of the X-ray's interaction to the topmost surface layer rather than the bulk silicon beneath it. This surface-confined geometry suppresses the background signal that would otherwise come from the bulk, letting TXRF detect metal contamination at concentrations far below what a conventional, non-grazing-incidence X-ray fluorescence measurement could resolve.