The quality of different photon radiations in small and large receptors is assessed in terms of microdosimetry. Monte Carlo simulations are performed for the electrons released by photons. To represent the case of a small receptor, only electrons released by the non-degraded incident photons are tracked. For a large receptor, all electrons released in the complete degradation process are followed. Dose averaged values, y(D), of the lineal energy are derived from the simulated tracks for monoenergetic photons from 10 keV to 2 MeV. In microdosimetry, the dose mean lineal energy is the major parameter of radiation quality. The results demonstrate distinct differences in radiation quality between high-energy gamma rays and conventional X rays that are present not just in small cell samples but also in large receptors, such as the human body. The values of y(D) suggest that, for both small and large receptors, conventional X rays should be about twice as effective as gamma rays from 60Co.