In analogy to the interacting real gas the magnetic systems are described like magnons which form the system of interacting quasi-particles. In order to describe the magnetic systems, firstly the equation of state for real gas is introduced and next the model is developed in the case of magnons for the confined geometry. In particular, the applications of magnetic equation of states for thin films and nanowires with unit cell cross sections as well as for nanoparticles are considered. Moreover, the size effect and the critical temperature for the mentioned systems are investigated. The critical temperature and magnetization exhibit a strong dependence on the size of the system and the anisotropy of magnetic interaction in the interior and at the surface of the considered system.