Nuclear level densities of 207207Pb and 8989Y are calculated using the Lipkin–Nogami (LN) method and Bradeen–Cooper–Schrieffer (BCS) model. It is revealed that the calculated nuclear level densities are highly matched with the experimental data of Oslo group. The excitation energy and entropy are calculated for mentioned nuclei. In the case of two studied nuclei the characteristic of being magic for the number of neutrons or protons causes the decrease of the excitation energy and entropy contribution of magic system at low temperatures.