Finite element micromagnetic simulations have been carried out to study the influence of the demagnetizing field, the distribution of easy axes and the particle size on the coercivity of FePt nanoparticles.