This paper presents a new method to measure the thickness of very thin films on a substrate material using energy dispersive x-ray diffractometry. The method can be used for many film-substrate combinations. The specific application to be presented is the measurement of phosphosilicate glass films on single crystal silicon wafers.