The problem of the dependence of the XRF yield on the irradiation and detection angles and on the sample volume has been critically reviewed. A simple procedure, which accounts for the effect of the sample finite thickness, is given. Applications to the analysis of metal alloys and of organic matrix standards are also reported.