Introduction

Industrialized countries, particularly China, are grappling with the challenge of mitigating air pollution amidst rapid urbanization. As per the International Energy Agency, China’s CO2 emissions in 2021 accounted for a staggering 33% of the global total, amounting to 11.9 billion tonnes. The transportation sector, a major contributor to China’s carbon footprint, is responsible for about 10% of its total emissions1,2. This environmental issue is particularly acute in China’s super-tier-1 cities, where air pollution significantly hinders socioeconomic growth and public health3,4.

In response to these challenges, the Chinese government has emphasized the development and adoption of New Energy Vehicles (NEVs), particularly Battery Electric Vehicles (BEVs), as a clean alternative to conventional automobiles5,6. By June 2022, out of 312 million civilian vehicles, only 8.104 million were BEVs, representing roughly 2.6% of the total7,8. This shift towards electric mobility is part of China’s broader strategy to achieve carbon neutrality, as outlined in the State Council’s Action Plan for Achieving Carbon Peaks by 2030, which targets a 40% share for new energy and clean energy-powered transport vehicles by 20309,10,11. Globally, policy support has been instrumental in increasing the total number of electric vehicles to about 16.5 million, a threefold increase from 201812. However, the realization of these targets hinges on the usage patterns and frequency of BEV utilization13.

Despite the rising global adoption of electric vehicles, the academic community remains divided over the environmental impact of New Energy Vehicles (NEVs). Proponents highlight NEVs’ potential in reducing carbon intensity and enhancing air quality14. In contrast, critics caution that BEVs might shift emissions from transportation to electricity production, particularly in regions dependent on non-renewable energy sources15,16. Further, there are concerns that subsidies for NEVs could divert resources from other vital environmental initiatives, potentially impeding broader urban environmental progress17.

This debate largely centers around different phases of NEV utilization. Advocates often focus on the usage phase and life cycle assessment (LCA) 18,19, while detractors draw attention to the energy production phase and its possible diversion of resources from other environmental policies20. The environmental footprint of BEVs, including their electricity consumption and resultant greenhouse gas emissions, varies depending on operational conditions and the battery charging/discharging process21. Many studies have explored BEV emission reductions at various stages, from charging to driving22,23,24. However, the limited scope of these studies often hampers a comprehensive understanding of BEVs’ impact on air quality.

In our study, we utilize large-scale real-world data to assess the impact of vehicle electrification on air quality, focusing particularly on China’s super-tier-1 cities, which predominantly rely on coal-based power generation. We analyze the relationship between BEV usage patterns—namely mileage and driving frequency—and air quality. This analysis draws upon data from Beijing, Shanghai, and Shenzhen, spanning from January 2019 to October 2020.

Our methodology involves comparing the carbon emissions of BEVs with those of fuel vehicles over comparable distances, while controlling for factors such as trip length, vehicle age, road conditions, and weather conditions. In line with existing literature25,26,27,28, we hypothesize that BEVs are zero-emission during the driving phase, with their primary source of pollutants being the electrical energy consumed during operation. This hypothesis forms the basis for our exploration into how a shift to BEVs, in place of gasoline vehicles, could potentially improve air quality. We assume that each electric kilometer driven offsets a corresponding distance driven by a gasoline vehicle, allowing for a direct comparison of carbon emissions across the same mileage, irrespective of external and internal factors.

Our findings indicate that replacing fuel vehicles with BEVs yields substantial emission reduction benefits and impacts various air pollutants. The study reveals significant differences in the effects of different BEV models and categories on air quality. Higher-end BEV models and private passenger BEVs are shown to significantly improve air quality. Conversely, applications such as taxi BEV usage demonstrate less favorable environmental outcomes, suggesting a nuanced impact of BEV adoption on urban air quality.

Through this research, we contribute to the understanding of how BEV usage influences air quality, providing insights into the differential impacts of various BEV models and categories. This study not only highlights the emission reduction potential of BEVs but also underscores the importance of considering vehicle usage patterns in evaluating their environmental benefits.

Our analysis aims to provide a nuanced understanding of the interplay between BEV usage and air quality, offering valuable insights for shaping sustainable urban transportation policies in China.

Emission reduction benefits of BEVs replacement for fuel vehicles

Utilizing real-world driving data, our study demonstrates a notable carbon reduction effect when Battery Electric Vehicles (BEVs) replace fuel vehicles over equivalent mileages (refer to Fig. 1). We observed a consistent upward trend in emission reductions over the study period. In January 2019, the emission reduction per BEV was approximately 8.72 kg of CO2, which escalated to around 63.83 kg of CO2 by October 2020, averaging a monthly increase of 9.47% (details provided in Supplementary Data 1).

Figure 1
figure 1

Comparative carbon emissions of gasoline vehicles and BEVs at equivalent mileages. Note: This figure illustrates the carbon emissions during the driving phase for both electric vehicles (BEVs) and gasoline vehicles over the same driving mileage. The monthly emission reduction per vehicle are calculated as the difference in carbon emissions between the gasoline vehicles and BEVs for equivalent mileages. The detailed formula used for this calculation is outlined in the “Models” section, and the specific data utilized can be found in Supplementary Data 2-1.

Initially, the new energy vehicle market in China, including BEVs, was largely dependent on government support. However, diverse support policies have subsequently catalyzed substantial growth in this sector, positioning China as the leading market globally for new energy vehicles29. This growth has been further bolstered by improvements in charging infrastructure and the introduction of incentive schemes, leading to increased acceptance among Chinese residents, particularly the younger demographic3,30. As a result, there has been a notable shift towards BEVs, replacing conventional gasoline vehicles for similar mileage requirements, thereby contributing significantly to emission reductions in the transportation sector.

In terms of temporal patterns, BEVs exhibit optimal emission reduction performance during the months of May to July and September to November. This pattern correlates with the finding that BEVs achieve their lowest energy consumption at approximately 20 °C, and the impact of temperature on energy consumption is markedly less pronounced at higher driving speeds (around 130 km/h)31.

Interestingly, the winter of 2019 did not show a significant variation in CO2 emission reductions across the studied regions. However, from January 2020, a marked decline in CO2 emissions was observed, reaching a nadir two months later. This trend can likely be attributed to the national response to the initial COVID-19 outbreak, where there was a substantial reduction in intra-city vehicle travel. For instance, in Chongqing, the average daily vehicle mileage decreased by 9% post-outbreak, resulting in a 24% reduction in the carbon emissions of Plug-in Hybrid Electric Vehicles (PHEVs)32.

The resumption of work and production, guided by the Central Leading Group for Responding to COVID-19’s ‘Guidance on Actively and Orderly Promoting the Resumption of Work and Production while Effectively Preventing and Controlling COVID-19’, saw a return to pre-pandemic emission reduction trends from April 2020 onwards33.

Differences in emission reductions between BEV models

This study delves into the emission reduction differences among various BEV models when they replace equivalent fuel vehicles (see Fig. 2). We found a consistent trend: the larger or heavier the vehicle, the more substantial the carbon emission reduction achieved when it is replaced with a BEV of the same category. This observation can be attributed to the higher energy release and larger displacement of larger vehicles, leading to notable emission reductions when substituted with equivalent BEVs34.

Figure 2
figure 2

Monthly CO2 emission reductions per 100 km for Six BEV Types. Note: This figure displays the CO2 emission reductions per 100 km on a monthly basis for six different types of Battery Electric Vehicles (BEVs). The BEV types include A00-type, A0-type, A-type, B-type, C-type, SUV-type, and MPV-type BEVs. The data from January to October represent the total emission reductions for each BEV model across both 2019 and 2020. For November and December, the data shown reflect only the emission reductions for each model in 2019. Detailed source data can be found in Supplementary Data 2-2.

Among the evaluated models, C-type BEVs demonstrated the most significant emission reduction benefits. On average, these vehicles yielded an annual reduction of 14.75 kg CO2 per 100 km. B-type vehicles followed closely, with an average annual reduction of 13.86 kg CO2 per 100 km. In contrast, A0-type BEVs showed the least benefit, with an average annual reduction of only 8.86 kg CO2 per 100 km.

Extreme weather conditions were found to increase the carbon emissions across all models, likely due to the use of air conditioning and the diminished performance of batteries in such conditions35. Cold temperatures, in particular, have a more pronounced impact on BEVs. The decrease in battery activity and storage capacity in colder climates, coupled with increased rolling resistance and aerodynamic drag, results in heightened energy consumption and power loss. Studies have also noted a significant drop in average EV mileage in cold climates36.

Furthermore, our analysis revealed that the sensitivity to temperature variations differs across BEV models. Micro-BEVs, especially those utilizing LiFePO4-based Li-ion batteries, are more susceptible to extreme climatic conditions, especially in winter. These batteries, while resistant to high temperatures, demonstrate poor performance in low temperatures, resulting in a considerable disparity in energy consumption between summer and winter35. This leads to higher sensitivity, with A0-type BEVs showing a 66.1% lower emission reduction per 100 km in winter months compared to the average.

The impact of travelling in BEVs on air quality

Our analysis focuses on how changes in BEV travel frequency affect carbon emissions and air quality in three first-tier Chinese cities (refer to Fig. 3). We observed noticeable regional variations in air quality across Beijing, Shanghai, and Shenzhen, influenced significantly by geographical conditions.

Figure 3
figure 3

Correlation between air quality and vehicle travel frequency in three first-tier Chinese cities. Note: This figure presents an analysis of vehicle travel data and air quality across various districts in Beijing, Shanghai, and Shenzhen, based on vehicle latitude and longitude information. For Beijing, the data encompasses Changping, Chaoyang, Daxing, Dongcheng, Fangshan, Fengtai, Haidian, Huairou, Mentougou, Miyun, Pinggu, Shijingshan, Shunyi, Xicheng, and Yanqing Districts. In Shanghai, the analysis includes Baoshan, Fengxian, Hongkou, Huangpu, Jiading, Jinshan, Jing’an, Minhang, Pudong New, Putuo, Qingpu, Songjiang, Xuhui, Yangpu, and Changning Districts. For Shenzhen, the focus is on Futian and Nanshan Districts. Air quality levels were evaluated using various indicators from meteorological stations in each district, with the Air Quality Index (AQI) serving as a reference. Higher AQI values indicate more severe air pollution. The data for Shenzhen includes only Futian and Nanshan Districts; thus, the figure specifically illustrates changes in BEV travel frequency in these districts. Detailed data can be found in Supplementary Data 2-3.

In Beijing, characterized by its ‘back-mountain and facing-sea’ terrain, the northern regions exhibited superior air quality compared to the southern areas. Conversely, Shanghai, with its advantageous positioning along the Pacific Ocean and bordered by major water bodies, demonstrated better overall air quality than Beijing. Notably, the eastern regions of Shanghai showed improved air conditions compared to the west. Shenzhen, located near the Pearl River Estuary and Daya Bay, exhibited the best air quality among the three cities, with notable improvements towards the southeast. This variation in air quality can be partly attributed to the differing power energy structures of these cities; Beijing and Shanghai primarily rely on thermal power generation, while Shenzhen benefits from a significant proportion of nuclear power generation37.

Time-based analysis revealed that the frequency of BEV travel in 2020 was substantially higher than in 2019, correlating with an overall improvement in air quality. The Air Quality Index (AQI) decreased in each region during this period. In Beijing, for instance, central districts such as Haidian and Chaoyang saw significant increases in BEV travel frequencies, with corresponding decreases in AQI. The southeastern districts of Daxing and Tongzhou experienced more than a twofold increase in BEV travel frequency, leading to marked improvements in air quality.

Shanghai mirrored this trend; the Pudong New District, for example, reported the most substantial increase in BEV trips and a notable AQI decrease. Other districts, including Minhang, Baoshan, and Jiading, also saw significant upticks in BEV travel and corresponding improvements in air quality. In Shenzhen, districts like Futian and Nanshan demonstrated a decrease and an increase in BEV trips, respectively, both resulting in significant AQI reductions.

These findings suggest a positive correlation between increased BEV usage and improved air quality, indicating that BEVs, by replacing fuel vehicle trips, can effectively contribute to air quality enhancement in urban areas.

Utilizing Eq. (2) detailed in the “Methods” section, we analyzed the impact of BEV travel frequency on air quality in Beijing, Shanghai, and Shenzhen. The primary findings (summarized in Table 1) indicate that several factors influence this impact, including GDP, urban population density, policy, average temperature, humidity, precipitation, sunshine hours, and wind speed.

Table 1 Baseline estimates.

After adjusting for these variables, our analysis revealed that a 10% increase in monthly BEV travel frequency correlates with an average AQI decrease of 1.1%. Concurrently, the concentrations of key air pollutants—PM2.5, PM10, CO, SO2 and O3 —showed average decreases of 0.5%, 0.2%, 0.7%, 1.4%, and 6.3% respectively. However, this trend is accompanied by a 2.5% average increase in NO2 concentrations.

Considering that AQI is a composite indicator reflecting the levels of SO2, NO2, PM10, PM2.5, O3 and CO, an increase in BEV travel frequency overall promotes environmental benefits. This aligns with the findings of Liang et al., who observed a significant reduction in PM2.5 and O3 concentrations with increased BEV usage in China4.

Therefore, augmenting BEV usage not only reduces the reliance on gasoline vehicles but also effectively mitigates air pollution. However, our results differ slightly from Liang et al.4 and Chen et al.38 who predicted a decrease in NO2 concentrations with increased BEV usage. This discrepancy may stem from our study’s focus on the actual frequency of BEV usage and its direct impact on air pollutants, as opposed to the predicted scenarios for 2030 used in their studies.

The increase in NO2 concentrations we observed could be attributed to the electricity consumption of BEVs. Beijing and Shanghai predominantly rely on thermal power generation, which emits significant amounts of nitrogen oxides and particulate matter. Hence, while emissions during BEV driving stages are reduced, the NO2 produced by coal power consumption for BEV charging might outweigh these reductions, leading to an overall increase in atmospheric NO2 concentrations.

Air quality impacts of BEVs for different applications

Utilizing the method outlined in Eq. (2), we analyzed the air quality impacts of private BEVs, taxi BEVs, and online ride-hailing BEVs, each detailed in Tables 2, 3, and 4, respectively.

Table 2 Heterogeneity analysis: private BEVs.
Table 3 Heterogeneity analysis: Taxi BEVs.
Table 4 Heterogeneity analysis: Ride-hailing BEVs.

Table 2 indicates that private BEV travel substantially benefits air quality. A negative correlation was found between the amount of private BEV travel frequency and the AQI index, accompanied by a decrease in of PM2.5, PM10, CO, SO2 and O3 levels, but an increase in NO2 levels, aligning with the overall sample results.

Conversely, Table 3 shows that taxi BEVs do not significantly impact environmental improvement and may even contribute to a decline in air quality. This is evidenced by increased levels of PM2.5, PM10, CO, SO2 and O3, with a decrease in NO2. The inefficiency of taxi BEVs in air quality improvement is attributed to their high energy consumption, particularly at lower temperatures and during nighttime charging23. As the power grid in the examined super-first-tier cities is predominantly coal-based, the electrification of taxi BEVs leads to increased emissions of greenhouse gases and pollutants39,40. Additionally, the unique operating conditions of taxi BEVs, such as extensive outdoor travel, frequent braking and throttling, and high charging demands, result in increased electricity consumption and accelerated battery aging, further diminishing efficiency and exacerbating air quality issues.

In contrast, Table 4 highlights that travel in online ride-hailing BEVs significantly reduces emissions, leading to improved air quality. Although there is an increase in PM2.5, PM10, CO, SO2, and NO2, the reduction in O3 is noteworthy. Despite similar operating conditions to electric taxis, online ride-hailing cars are comparatively more efficient, consuming 36% less fuel and producing 44% fewer hydrocarbons41. Thus, while they contribute positively to air quality, they also generate additional pollutants.

Discussion

This study evaluated the impact of Battery Electric Vehicles (BEVs) on air quality in China’s three first-tier cities, utilizing real-world vehicle data and carbon emission modeling. Our analysis reveals that BEVs, when replacing fuel vehicles for equivalent mileages, generally contribute to better emission reductions. However, this effect varies across different cities, months, and vehicle models, with a notable reduction in efficacy during winter. Larger vehicles, such as B, C, and MPV models, exhibit higher carbon efficiency over 100 km compared to smaller vehicles (e.g., A0, A) and show less sensitivity to climatic changes.

The study also found a significant decrease in total vehicle mileage (fuel vehicles + BEVs) in 2020, largely attributable to COVID-19 related restrictions42. Interestingly, BEVs experienced a smaller change in total travel mileage but an increase in travel frequency, possibly influenced by rising fuel prices due to the Russia-Ukraine conflict43, making electric vehicles a more attractive travel option44.

Further analysis using a two-way fixed-effect model on air quality and BEV trip frequency revealed that increased BEV usage significantly improves air quality by reducing levels of PM2.5, PM10, CO, SO2 and O3. Environmental benefits vary across BEV classes, with A0-, A-, B-, and SUV-type BEVs making a substantial impact on reducing AQI and improving air quality. In contrast, A00-, C-, and MPV-type BEVs show less pronounced benefits due to lower emissions, fewer trips, and higher energy consumption for longer ranges.

The study also differentiates the environmental impacts of BEVs based on their usage. Private passenger BEVs substantially improve air quality, while taxi BEVs have lesser environmental benefits due to their operational characteristics. Online ride-hailing BEVs, having lower energy consumption per unit than taxi BEVs, offer slightly better environmental advantages.

Based on our findings, we propose several strategic recommendations to enhance the environmental efficacy of Battery Electric Vehicles (BEVs). We advocate for the prioritization of larger BEVs, as A-class and higher models demonstrate more significant carbon emission reduction benefits over their entire lifecycle compared to smaller BEVs. Additionally, the continuous monitoring of pollutants, especially NO2, is crucial to understand and mitigate the potential environmental impacts of widespread BEV adoption. Advancements in battery technology are also imperative, with the development of new-generation solid fuel cells and low-temperature-resistant ternary lithium batteries essential for maintaining emission efficiency in cold weather. Ternary lithium batteries, functional down to -30℃, exhibit superior low-temperature discharge performance, and the use of iron phosphate lithium batteries, with less than 15% mileage degradation in winter, could significantly enhance EV performance in extreme conditions. Furthermore, promoting online ride-hailing services can offer a more sustainable alternative to traditional taxi BEVs, covering wider areas and providing cost-effective, time-efficient commuting options41. Implementing energy-efficient air conditioning and electric power systems is pivotal for reducing winter energy consumption and enhancing EV efficiency, addressing the increased energy demands of EVs during colder months. Finally, policymakers should encourage more eco-friendly travel methods during winter, such as buses, subways, shared bicycles, trolley buses, and carpooling, which are particularly suitable for short-distance journeys and in areas with challenging road conditions. These recommendations collectively aim to maximize the environmental benefits of BEVs, contributing to sustainable urban transportation solutions and addressing the challenges posed by climate variability and technological limitations. These recommendations aim to maximize the environmental benefits of BEVs, contributing to sustainable urban transportation solutions and addressing the challenges posed by climate variability and technological limitations.

However, this study does not account for specific conditions such as extreme winter temperatures, which may increase power consumption, indicating a need for further research. Future studies should delve deeper into the interplay between BEVs, carbon emission reduction, air quality, and the substitution patterns between BEVs and fuel vehicles.

Methods

Data

BEVs driving data and air quality data

In this paper, we collected available data from the open lab of the National Big Data Alliance of New Energy Vehicles. We cleaned the data and kept all normal driving segment data. The rules followed were as follows: (1) remove all PHEV vehicles; (2) remove samples with abnormal energy consumption where the post-driving battery percentage difference SOC ≥ 0, which is the remaining power of the battery; (3) remove samples with an average speed greater than 200 km/h in the driving segments; (4) remove samples with a driving range less than 0.1 km in the driving segments.

Each driving segment in this study database contained the number of each type of electric vehicles, the time of the start and end of the drive, the start and end mileage, the start and end SOC, the duration of the drive, the average speed, the maximum speed, the longitude and latitude of the start of the drive, the longitude and latitude of the end of the drive, the distance difference, the type and use of the vehicle, the battery material and capacity, the maximum range and the net weight of the vehicle.

In 2016, the National Monitoring and Management Centre for New Energy Vehicles was established in China. It serves as the national big data platform for EVs. The centre has the only datasets in the world that contain real-time operating data of nationwide EVs. The coverage of the platform can reach up to 80% in Beijing and Shanghai45. In recent years, Shenzhen, as a super-first-tier city in China, has also vigorously promoted new energy vehicles. By the end of 2020, the number of new energy vehicles in Shenzhen reached 480,000, accounting for about 14% of the city’s motor vehicle ownership46. Our data sample in this paper consisted of panel data for three super-tier-1 cities in China (Beijing, Shanghai and Shenzhen) from January 2019 to October 2020. In the empirical model analysis, we classified the BEVs data sample by city and month to obtain the total number of trips per vehicle per month as one observation. If a vehicle did not make a trip in a month, no observation was recorded for that month for that vehicle. In total, there were 1,826,095 observations for 196,387 vehicles in the three cities, including 1,288,697 trips for 132,644 vehicles in Beijing, 239,742 trips for 22,240 vehicles in Shanghai and 297,656 trips for 41,503 vehicles in Shenzhen. The detailed data are shown in Supplementary Data 1. In addition to BEVs data, air quality data and meteorological data for each district and county in the three cities were obtained based on publicly available data in terms of year, quarter and month.

AQI, CO2, SO2, O3, PM2.5, PM10 and other data indicating air quality for the three cities were obtained from the real-time national urban air quality release platform of the China General Environmental Monitoring Station at https://air.cnemc.cn:18007/; GDP per capita, share of secondary industry in GDP and urban population density are taken from the China Urban Statistical Yearbook for previous years; implementation of policies restricting the driving and purchase of conventional gasoline engines from the official websites of municipalities and public security bureaus, etc47. Average temperature, humidity, precipitation, sunshine hours, wind speed and other meteorological data for the three cities were taken from the National Climatic Data Centre (NCDC) at https://ngdc.noaa.gov/.

Factors leading to carbon emission in fuel vehicles

As the BEVs considered in this study were mainly sedans, the fuel for the corresponding car model of the gasoline vehicles was mainly petrol. Therefore, the carbon emission factor for gasoline vehicles driving was taken as the carbon emission factor for petrol. The carbon emission factors of fuel vehicles, \({\text{E}}_{{{\text{co}}_{2} }}\)23,27 was calculated as follows:

$$ {\text{E}}_{{{\text{co}}_{2} }} = {\text{CQ}}_{{\text{g}}} \times {\text{CF}}_{{{\text{co}}_{2} }} $$
(1)

where, \({\text{E}}_{{{\text{co}}_{2} }}\) denotes CO2 emissions per litre of gasoline in kg CO2, \({\text{CQ}}_{{\text{g}}}\) denote default gasoline net calorific value in KJ/kg. According to the General Rules for Calculating Comprehensive Energy Consumption (GBT2589-2020) issued by the State Administration of Market Administration of China and the State Standardization Administration, the net calorific value of gasoline is 43,124 kJ/kg48. \({\text{CF}}_{{{\text{co}}_{2} }}\) is the default value of the effective CO2 emission factor for petrol in KG/TJ. We referred to the IPCC guidelines for fuel carbon emission factors to obtain a default value of 74 100 kg/TJ for the effective CO2 emission factor of petrol49. Therefore, 3.1954884 kg CO2 is emitted per kilogram of gasoline. According to information from PacificCar.com, there are three gasoline brands in China, 90, 93 and 97, which have an average density of 0.720 g/mL, 0.725 g/mL and 0.737 g/mL, respectively50. We took the average of the densities of the three types of gasoline as the density of gasoline, i.e., 0.7273333 g/mL. Therefore, each litre of gasoline emitted 2.3241852 kg CO2, i.e., the carbon emission factor of the gasoline vehicles was 2.3241852 kg CO2/L.

Models

Carbon emission model for the driving phase of BEVs

We developed a model for calculating the carbon emissions of BEVs during their driving phase based on real vehicle data from three cities: Beijing, Shanghai and Shenzhen. As BEVs do not produce carbon emissions during driving, all references to BEVs carbon emissions in the text refer to the carbon emissions from electricity production corresponding to the energy consumed while driving. The model was primarily divided into two parts: carbon emissions from fuel vehicles and those from BEVs. The emission savings per kilometre of a BEVs were calculated by taking the difference between the emissions calculated in Eq. (2) with the corresponding gasoline vehicle emissions23, represented as:

$$ \Delta {\text{CE}} = {\text{F}}_{{{\text{co}}_{2} }} \times {\text{C}}_{{\text{f}}} - {\text{E}}_{{{\text{co}}_{2} }} \times {\text{C}}_{{\text{e}}} $$
(2)

where, ΔCE denotes emission savings per kilometre of a BEVs in kg CO2; \({\text{F}}_{{{\text{co}}_{2} }}\) denotes carbon emission factors of fuel vehicles in kg CO2/L; \({{\text{C}}}_{{\text{f}}}\) denotes fuel consumption of fuel-powered vehicles in L/100 km; \({{\text{E}}}_{{{\text{co}}}_{2}}\) denotes electric carbon emission factor in kg CO2/(kW·h) and \({\text{C}}_{{\text{e}}}\) denotes actual grid energy consumption in kW·h/100 km.

Air quality model for the driving phase of BEVs

Based on the analysis (Supplementary information 1, 2 and 4), the air quality model of BEVs travel was constructed as follows:

$$ \ln {\text{AQI}}_{{{\text{c}},{\text{t}}}} = {\beta \text{*BEVtrips}}_{{{\text{c}},{\text{t}}}} + {\gamma \text{Control}}_{{{\text{c}},{\text{t}}}} + {\upmu }_{{\text{c}}} + {\upmu }_{{\text{t}}} + {\upvarepsilon }_{{{\text{c}},{\text{t}}}} $$
(3)

The dependent variable \(\ln {\text{AQI}}_{{{\text{c}},{\text{t}}}}\) represents the natural logarithm of the Air Quality Index (AQI) for city c in month t, which represents the level of air pollution in the city. Contaminants for AQI calculations and evaluation include sulfur dioxide (SO2), nitrogen dioxide (NO2), suction particulate matter (PM10), fine particulate matter (PM2.5), carbon monoxide (CO) and ozone (O3). To more comprehensively reflect the emission reduction effect of BEV trips replacing fuel vehicle trips, we also included CO, SO2, O3, PM2.5 and PM10 as dependent variables, and recorded their logarithmic values as lnCO, lnSO2, lnO3, lnPM2.5, and lnPM10.

The independent variable \({{\text{BEVtrips}}}_{{\text{c}},{\text{t}}}\) is the log of BEV's monthly trips. The more the fuel vehicles are driven, the more emissions they produce28. Assuming a constant total monthly travel demand, more BEVs trips per month meant fewer fuel vehicle trips per month and stronger air quality improvement. \({{\text{Control}}}_{{\text{c}},{\text{t}}}\) are control variables affecting air pollution, including GDP (lngpd), share of secondary industry in GDP (Industry), urban population density (lnpopula), a dummy variable Govern for whether policies restricting driving and purchasing of conventional gasoline engines are implemented, average temperature (lntemp), humidity (lnhumi), precipitation (lnprecip), sunshine hours (lnsun), and wind speed (lnwind). The classical environmental Kuznets curve (EKC) theory postulates that the relationship between air pollution and economic growth is a significant inverted U-shaped curve51. In general, the higher the GDP per capita, the higher the vehicle stock and associated carbon emissions52,53. Therefore, GDP (lngpd) was included in the model. The secondary sector contributed the most to China's energy consumption and emissions54; hence, the higher the proportion of the secondary sector, the more serious the air pollution. Therefore, the share of the secondary sector in the GDP (Industry) was used to control the impact of the secondary sector55. Urban population concentrations and activities can contribute to air pollution56, so we controlled for the possible effects of urban population concentrations using the urban population density (lnpopula), which was the urban population divided by the area of the urban administrative district. Vehicle emissions are a significant source of urban air pollution, and the Chinese government has implemented policies to restrict the driving and purchasing of conventional gasoline engines57 hich restricted vehicle trips. We added a dummy variable (Govern) for whether the city implements these two restrictive policies. Air pollution is most likely related to natural climatic conditions, such as local dispersion and the deposition of pollutants. Hence, we used annual average temperature (lntemp), humidity (lnhumi), precipitation (lnprecip), sunshine duration (lnsun) and wind speed (lnwind) to control the effects of different natural climatic factors on air pollution. \({\upmu }_{{\text{c}}}\) are city fixed effects. \({\upmu }_{{\text{t}}}\) are city fixed effects. Robust standard errors \({\upvarepsilon }_{{{\text{c}},{\text{t}}}}\) are clustered at the city-month level.

Fuel consumption by fuel vehicles

The fuel mileage of gasoline vehicles is based on the weighted average of the sales volume and fuel mileage of gasoline vehicles sold each year, and the annual sales volume and fuel consumption information are obtained from the owner's home website (www.16888.com). The price for getting on the website ranges from 30,000 yuan to 650,000 yuan, and fuel consumption spans from 6 L/100 km to 18 L/100 km, which is a good representation. The formula for calculating the 100 km fuel consumption for fuel vehicles is as follows:

$$ {\text{C}}_{{\text{f}}} = \frac{{\mathop \sum \nolimits_{{{\text{i}} = 1}}^{{\text{n}}} \left( {{\text{Q}}_{{\text{i}}} \times {\text{C}}_{{{\text{f}}_{{\text{i}}} }} } \right)}}{{\mathop \sum \nolimits_{{{\text{i}} = 1}}^{{\text{n}}} {\text{Q}}_{{\text{i}}} }} $$
(4)

where \({\text{C}}_{{\text{f}}}\) is the fuel consumption of a gasoline vehicle in L/100 km per 100 km, \({\text{Q}}_{{\text{i}}}\) is the annual sales of fuel vehicles in units, f denotes the model, i is the annual sales ranking and n takes the value according to different models. For convenience, this paper compares gasoline vehicle models and BEVs models as follows: according to the length, wheelbase and displacement of vehicles, BEVs models can be divided into A00-, A0-, A-, B-, C-, SUV- and MPV-type vehicles. Amongst them, gasoline vehicle models of micro car, small car, medium car and medium and large car correspond to A00-, A0-, A-, B- and C-type models of BEV, respectively; gasoline vehicle SUV models correspond to BEV's SUV models; gasoline vehicle MPV models correspond to BEV MPV models and gasoline vehicle sedan models correspond to BEV's A00-, A0-, A-, B- and C-type models.

BEV energy consumption

The 100 km energy consumption of BEVs was calculated based on the driving segment and charging segment data of the vehicle, and the actual grid energy consumption of each vehicle was obtained based on the changes in the driving range and battery power of BEVs, as shown in Eq. (5) 58:

$$ {\text{C}}_{{\text{e}}} = 100 \times \frac{{\mathop \sum \nolimits_{{{\text{i}} = 1}}^{{\text{n}}} \left( {{\text{soc}}_{{{\text{i}}1}} - {\text{soc}}_{{{\text{i}}0}} } \right) \times {\text{P}}_{{\text{i}}} }}{{\mathop \sum \nolimits_{{{\text{i}} = 1}}^{{\text{m}}} {\text{S}}_{{\text{j}}} }} $$
(5)

where, \({\text{C}}_{{\text{e}}}\) is the power consumption in kW·h/100 km over a period of time. We calculated the total power consumption in travelling 100 km for each vehicle for one month; \({\text{soc}}_{{{\text{i}}1}}\) was the remaining power at the end of the ith charging segment; \({\text{soc}}_{{{\text{i}}0}}\) was the remaining power at the beginning of the ith charging segment; \({\text{P}}_{{\text{i}}}\) is the battery capacity in kW·h corresponding to the ith charging segment and \({\text{S}}_{{\text{j}}}\) is the mileage in km of the jth driving segment.

Electric carbon emission factors

We calculated the local carbon emission factor for electricity based on the regional energy mix, i.e. the carbon dioxide emissions generated per 1 kW·h of electricity output from the grid in each region. In this paper, we refer to the BEV energy conversion method and the reference value of the National Standard of the People's Republic of China (GB/T 37340-2019) to calculate the carbon emission factor of electricity. The specific calculation method is shown in Eq. (6):

$$ {\text{E}}_{{{\text{co}}_{2} }} = \frac{{{\text{T}}_{{\text{E}}} \times {\text{T}}_{{\text{C}}} \times {{\varphi }}}}{{{\text{t}}_{{\text{M}}} \times {\text{i}}_{{{\text{c}}h}} \times \left( {1 - {\text{i}}_{{{\text{tr}}}} } \right)}} $$
(6)

where \({\text{E}}_{{{\text{co}}_{2} }} { }\) was the electricity CO2 emission factor in kg CO2/(kW h). \({\text{T}}_{{\text{E}}}\) was the standard coal consumption for thermal power supply in kg/(kW h), which was 0.3064 kg/(kW h) and 0.3055 kg/(kW h) in 2019 and 2020, respectively59. \({\text{T}}_{{\text{C}}}\) was the CO2 emission factor for fuel coal, using the parameter value of 3.09; \({{\varphi }}\) was the thermal power ratio, i.e. the share of thermal power generation in total power generation, which is the main source of power generation in China. According to the China Energy Statistics Yearbook, China emits more than 90% of greenhouse gases from coal and thermal power, which is 10 times more than other technologies (hydropower, nuclear and wind)60. Because carbon emissions from power generation are mainly produced by thermal power generation, we assumed in this paper that other energy generation does not produce carbon emissions. According to the National Bureau of Statistics, the national electricity generation in 2019 and 2020 was 750,342,428 million kW h and 777,960 million kW h, respectively, while thermal power generation was 5,220,150 million kW/h and 5,330,250 million kW h, making the share of thermal power generation in 2019 and 2020 69.57% and 71.04%, respectively61. \({\text{t}}_{{\text{M}}}\) was the discount factor between fuel coal and standard coal; the parameter value used was 1.07. \({\text{i}}_{{{\text{c}}h}}\) was the charge efficiency, i.e. the ratio of the electrical energy input to the power battery to the electrical energy from the grid, based on the initial charge/discharge efficiency of BEVs batteries calculated by Yang et al.62, which is 98%. \({\text{i}}_{{{\text{tr}}}}\) was line loss rate, which is the percentage of power supply, and the amount of power supply according to the data released by the National Energy Administration of China. The integrated line loss rates of the grid in 2019 and 2020 were 5.93% and 5.62%, respectively61. According to Eq. (4), the carbon emission factors for electricity in 2019 and 2020 were 0.6818506 kg/(kW h) and 0.6776147 kg/(kW h), respectively.