The good agreement previously obtained between theory and experiment for the g-factor of cadmium arsenide when proper account was taken of the 'free-electron' term has led the authors to investigate the same question in a variety of other semiconductors: HgTe, HgSe and the graded-gaps alloys Cd3As2-xPx, Hg1-xCdxTe and Hg1-xCdxSe. In all cases, the contribution of the free-electron term permits good agreement with available experimental data. The authors find that the free-electron contribution depends strongly on the band structure of the material, because it is quantised in terms of Landau states for the material. A general result appears to be that the free-electron term is considerably greater than two for inverted-gap materials, but usually less than two for direct-gap ones, in which the g-factor is in any case smaller. It may, however, even in this latter case, make a substantial fractional contribution to the total g-factor.