The formalism allows the calculation of the electric and magnetic fields inside and outside a spherical object and is generally used to calculate either how much light is scattered (the total optical cross section), or where it goes (the form factor). The notable features of these results are the Mie resonances, sizes that scatter particularly strongly or weakly. This is in contrast to Rayleigh scattering for small particles and Rayleigh–Gans–Debye scattering (after Lord Rayleigh, Richard Gans and Peter Debye) for large particles. The existence of resonances and other features of Mie scattering makes it a particularly useful formalism when using scattered light to measure particle size.