In magnets based in phases with high magnetocrystalline anisotropy like Nd2Fe14B or SmCo5 there is a competition between magnetostatic energy and domain wall energies. If the grain size is large, the formation of domain walls is energetically favorable. When the formation of domain walls is an unfavorable process, coercivity is larger. A better comprehension of this phenomenon is possible if the energy necessary for the first domain wall formation is properly evaluated. To address this problem, the magnetostatic energy of a sphere magnetized in two opposite directions, separated by a domain wall, is calculated using Legendre Polynomials. The data allow the determination of the reversible volume for nucleation. It is predicted a “recoil effect”, the magnetization may be reversible until a given volume of reverse magnetization.