This paper studies the electromigration (EM) failure of interconnect structure and solder joint in a wafer level chip scale package (WL-CSP) based on atomic flux divergence (AFD) method. The impact of atomic density gradient (ADG) on the divergence of the atomic fluxes is investigated. The simulation results show that the traditional AFD method, which neglects the effect of atomic density gradient, can result in significant errors in predicting solder joint failures in a WL-CSP; while the AFD method with the consideration of the atomic density gradient has shown more reasonable results. ME. He has co-authored over 150 papers in journals and conferences, two books, and has filed over 40 US patents in the area of analogue and power electronic packaging. His research interests are advanced IC packaging, modelling and simulation, reliability, and material characterisation.Lihua Liang received his BS and MS in Mechanical Engineering from Zhejiang University . He has published more than 100 scientific papers, two books and filed five US patents. His interests and expertise lie in the areas of reliability, material characterisation and thermal and mechanical modelling for microelectronic packaging.