Magnetic traps for cold atoms have become a powerful tool of cold atom physics and condense matter research. The traps on superconducting chips allow one to increase the trapped atom life-and coherence time by decreasing the thermal noise by several orders of magnitude compared to that of the typical normal-metal conductors. A thin superconducting film in the mixed state is, usually, the main element of such a chip.Using a finite element method to analyze thin film magnetization and transport current in type-II superconductivity, we study magnetic traps recently employed in experiments. The proposed approach allows us to predict important characteristics of the magnetic traps (their depth, shape, distance from the chip surface, etc.) necessary when designing magnetic traps in cold atom experiments.