Diffraction efficiency of surface-relief gratings with various shallow profiles is discussed. A general relation for the diffraction efficiency is derived under the assumption of Fraunhofer diffraction. The general relation is applied to several profiles mostly needed in practice. It is pointed out that shallow profiles can provide high diffraction efficiencies.