Design/methodology/approach – Using slack-based measure directional distance function (SBM-DDF) and global Malmquist–Luenberger (GML) productivity index, this paper measures the carbon productivities of 29 manufacturing subsectors in Shanghai, China, from 2001 to 2016 under the total factor framework.