The axially symmetric magnetic lens in the Institute of Modern Physics of the Chinese Academy of Sciences is taken as an example in this paper, and two axially symmetric magnetic lenses are designed: one is the solenoid with iron yokes and the other is the Glaser magnet with tapered poles. The axially symmetric magnetic field produced by the solenoid with iron yokes is more even, and the axially symmetric magnetic field produced by the Glaser magnet with tapered poles is more concentrative. Two physical models are applied for approximate calculation of magnetic field, and the ANSYS finite element method is used to simulate the magnetic field at the same time. Comparison is made between the two different lenses in physics and engineering aspects, and the result is that the solenoid with iro