Abstract. The relationship between relative humidity (RH) and extinction properties is of widespread concern. In this study, a hygroscopic parameter (κ) and the volume fraction of elemental carbon (EC) were used to characterize the chemical characteristics of particles, and a core-shell model was built based on these characteristics. The size distribution, chemical compositions and RH were measured in Nanjing from 15/10/2013 to 13/11/2013. The extinction coefficients of particles were fitted with the BHCOAT program, and the values correlated well with the measured values (R2 = 0.81), which suggested that the core-shell model was reasonable. The results show that more than 83 % of the extinction in Nanjing was due to particles in the 0.2–1.0 μm size range. Under dry conditions, the higher mass fraction of particles in the 0.2–1.0 μm size range caused the higher volume extinction coefficient. An increase in RH led to a significant increase in the extinction coefficient, although the increases differed among the different size segments. The corresponding functions are given in this study. For λ = 550 nm, the extinction contributions of the 0.01–0.2 μm, 0.2–0.5 μm, and 1.0–2.0 μm size ranges increased significantly with the increase in RH, whereas the extinction contributions of the 0.5–1.0 μm and 2.0–10.0 μm size ranges decreased slightly.