In this paper, our aim is to develop an electrical model of a two-layer inductor made of magnetic materials. The model developed must take into account the magnetic layers properties as a function of frequency. An electromagnetic simulation, by HFSS software, and an optimization calculation allow to develop an electric model for passive component such a planar inductor. In order to validate the developed model, a recalculation from extracted elements (resistances, capacitors and self-inductors) of the admittance parameters Y11 and Y12 is necessary. Then, a comparison between the recalculated admittances and those obtained by simulation must show a good agreement between these results.