Zero Labs
Industry News / AI

A Causal Inference look at how much fuel a hybrid powertrain really saves.

Source · Towards AI By Ilia Ekhlakov

From the publisher’s feed, collected in the ZeroLabs newsroom.

Causal Inference case study: how much fuel does a hybrid really save?A plain comparison says a full hybrid burns 39% less fuel. On comparable cars the saving is 23–27%, mostly in the city.When I was recently choosing a new car, I kept hearing the same argument: hybrids use less fuel, so they are also cleaner, because the petrol in the tank is the same. At first this confused me. A hybrid burns petrol, turns part of that energy into electricity, stores it in a battery and then turns it back into motion. Every conversion loses something, so how can a longer chain beat a shorter one?I did work it out (the physics is in the next section; feel free to skip it if it is already clear or irrelevant to you), but a doubt stayed. Physics explains why a hybrid can save fuel. The size of the saving on the cars people actually buy has to come from data, and in the data hybrids are a skewed sample: they are newer, have smaller engines and are rarely rear-wheel drive, and more than four in ten full hybrids are Toyotas or Lexuses. A plain comparison of averages mixes the effect of the powertrain (engine, motor, battery and transmission) with all of that.This is a causal inference question, the kind I deal with at work every day, so I treated it like one. The data turned out to be well suited. The US EPA publishes every certified vehicle configuration since 1984, and many models exist in both a petrol and a hybrid version, such as Camry and Camry Hybrid or Accord and Accord Hybrid. That is close to a natural experiment.The short version, on EPA-rated fuel economy (Figure 1):A plain comparison of averages says full hybrids burn 39% less fuel than petrol cars. That overstates what the powertrain does.On comparable cars, the saving is 23–25% depending on the estimator and the random seed, and 27% for the same model with and without the hybrid system. In absolute terms that is about 1 gallon per 100 miles, or roughly 2.3 L/100 km.The saving is 35% on the EPA city cycle and 14% on the highway cycle.Mild hybrids, which the EPA file also marks as hybrids, save 9–13%.The caveats come at the end, including a test that failed.Figure 1. Change in fuel used by full hybrids compared with petrol cars, in percent, on EPA combined ratings for model years 1998-2026 (958 full hybrids, 26,991 petrol configurations). The grey bar is the plain comparison of averages. Blue bars are estimates on comparable cars: Double ML, AIPW and the petrol twin of the same model.Why the longer chain winsMy mistake was to compare a hybrid with an ideal petrol engine. The fair comparison is with the efficiency a normal engine gets over a real trip, and that number is low.A petrol engine is efficient only near its best operating point. Toyota’s 2.0-litre Dynamic Force engine reaches 40% thermal efficiency at its peak, which is high for a petrol engine. But a car spends most of its time far from that point: at light load the engine wastes work on pumping air, and at a red light it burns fuel for nothing. The US Department of Energy estimates that only 14–20% of the fuel energy reaches the wheels in city driving and 22–30% on the highway, and about 6% of the city fuel goes to idling alone.A hybrid goes after exactly these losses:The engine works near its efficient zone or not at all. At low power it switches off and the motor moves the car; when it runs, spare power charges the battery instead of being burned at a poor operating point.Braking energy comes back. A normal car turns it into heat in the brake pads. A hybrid recovers part of it with the motor working as a generator.Only part of the energy takes the long route. The electric path loses energy at every step, but in a full hybrid with a power-split transmission (the Toyota design) much of the engine power reaches the wheels mechanically and never becomes electricity.The engine can be built for efficiency. Many hybrids use the Atkinson cycle, which is more efficient than the usual Otto cycle but loses output at low speed. The electric motor makes up for it.So the loss in the electric path is a good trade if it lifts the average engine efficiency towards the peak. The argument also makes a prediction we can check: the gain should be large in the city, where idling and braking dominate, and small on the highway, where a normal engine already runs near a good point and rarely brakes.On “cleaner”: tailpipe CO2 is proportional to the petrol burned, about 2.35 kg per litre. Battery production is outside this analysis, but a conventional hybrid battery is small: 1.3 kWh in the third-generation Prius, against up to 85 kWh in a Tesla Model S.The dataThe source is the EPA / DOE fuel economy file (vehicles.csv from fueleconomy.gov), downloaded on 2 July 2026: 49,995 rows, model years 1984–2027. One row is one certified configuration, a unique combination of make, model, year, engine and transmission. The outcome is the EPA label rating.I kept model years 1998–2026 (hybrids appear in 2000, and 2027 is incomplete), compared non-plug-in hybrids with pure petrol cars, and left out plug-in hybrids, EVs, diesels, flex-fuel and natural gas vehicles. After removing exact duplicate specs, 28,764 configurations remain: 26,991 petrol, 958 full hybrids and 815 mild hybrids, in 2,724 nameplates.Each row counts once, whether it is a rare trim or a bestseller, so the effect describes the average model on offer. Sales volumes play no part.The same car also appears many times: a Camry has dozens of rows across years and trims, and those rows are not independent. So confidence intervals are clustered by nameplate, and ML models are cross-fitted: every prediction comes from a model that did not see that row, with folds grouped by nameplate (GroupKFold), so the same car never sits on both sides of a split.The MPG illusionHere is the plain comparison of full hybrids with petrol cars, with no adjustment:in MPG, full hybrids average 35.5 against 20.9, so they look 70% better;in gallons per 100 miles, they use 3.10 against 5.04, so 39% less fuel.These are the same comparison on two scales: 1.70 times more miles per gallon is 1/1.70, or 41%, less fuel per mile. The 39% differs a little because the average of fuel use is not the reciprocal of the average MPG. So “70% better” is correct on the MPG scale, yet it reads like a 70% saving, and your fuel bill follows fuel per mile. The MPG scale also hides how unequal its gains are: going from 15 to 20 MPG saves 1.67 gallons per 100 miles, while going from 40 to 50 saves only 0.5 (Figure 2). Richard Larrick and Jack Soll called this the MPG illusion in Science in 2008. Most European countries report L/100 km, which avoids it.From here on the outcome is gallons per 100 miles (gal/100mi); one gallon per 100 miles is about 2.35 L/100 km.Figure 2. Fuel used in gallons per 100 miles against miles per gallon. The orange step marks a gain from 15 to 20 MPG and the blue step a gain from 40 to 50 MPG. The labels give the fuel each step saves.“Hybrid” means two different productsThis is the part I almost missed. In the EPA file one flag covers two technologies:Full hybrids (Prius, Camry Hybrid, RAV4 Hybrid): a high-voltage battery and a strong motor. Many can drive on electricity alone, and the engine switches off often.Mild hybrids, mostly 48-volt (BMW M440i, Mercedes EQ Boost, Ram eTorque): a starter-generator helps a conventional engine and recovers some braking energy, but it cannot move the car alone.The engine description tags 43% of the hybrid rows as “Mild Hybrid”. Adding the untagged GM belt and crank starter-generator systems gives 958 full and 815 mild hybrids, and 93% of the mild ones are from model year 2019 or later. Older assist systems with 60–160 V packs, such as Honda IMA, count as full here; dropping them moves the main estimate from -0.98 to -1.03 gal/100mi.Put both types into one treatment group and you get a mix of two effects. My first pooled estimate, about 18% less fuel, describes neither product. So each type is estimated separately against petrol cars, and the rest of the article is about full hybrids unless I say otherwise.Hybrids are not randomThe 39% is still biased. Full hybrids and petrol cars differ on almost every confounder. The standardized mean difference (SMD) is the gap in group means divided by the pooled standard deviation, and above 0.1 usually counts as imbalance. For full hybrids it is +0.82 for model year, -0.50 for engine displacement, -0.48 for rear-wheel drive and +0.67 for Toyota as the make. Newer cars with smaller engines use less fuel whatever their powertrain, so part of the 39% belongs to the year and the engine.I adjusted for engine displacement, cylinders, model year, forced induction, size class, drive type and manufacturer. I did not adjust for CO2, fuel cost or engine power, because they are partly results of the powertrain.The next problem is overlap: many petrol cars have no hybrid neighbour at all. I estimated the propensity score (the probability of being a hybrid given the confounders) with a cross-fitted CatBoost classifier. 78% of petrol configurations score below 0.02 (Figure 3). I kept only the common-support region, where both groups exist, which drops 2,201 petrol cars. Half of them are from model year 2002 or earlier, when hybrids had just appeared. So the estimate is the average effect in the overlap population, cars for which a hybrid version is realistic. The effect for the whole fleet cannot be identified from this data, and I do not extrapolate.Figure 3. Cross-fitted propensity scores of petrol cars and full hybrids, density on a log scale. Grey bars are petrol cars and the blue outline is full hybrids. Petrol cars below the lowest hybrid score are dropped; common support keeps 25,745 of 27,949 configurations.The numbersBefore the split, I ran ten estimators on the pooled data, from plain OLS to DoubleML’s IRM and EconML’s causal forest. Nine landed between -0.71 and -0.98 gal/100mi (16–20% less fuel), and the twin design below gave -1.03. For the full vs mild comparison I kept two:Double ML with CatBoost, the partial linear model of Victor Chernozhukov and co-authors (2018). It removes the influence of the confounders from both treatment and outcome with ML models, then regresses residual on residual.AIPW (augmented inverse probability weighting), which is doubly robust: it stays consistent if either the outcome model or the propensity model is right.Both use the same CatBoost models and confounders, so their agreement is not independent evidence; the twin design below uses no ML model. I reran both with five random seeds. A seed changes the folds, the CatBoost models and, through the propensity score, the common support, so the spread across seeds is real uncertainty that the seed-42 confidence intervals below do not include.For full hybrids, Double ML gives -0.98 gal/100mi (95% CI -1.09 to -0.88) and AIPW -1.15 (-1.27 to -1.04). Over five seeds the ranges are -0.98 to -1.03 and -1.11 to -1.16. In gallons the two differ because they weight the overlap population differently: the petrol baseline is about 4.9 gal/100mi for AIPW against 4.25 for Double ML (my calculation from the notebook). In percent they agree: 23–25% less fuel.Mild hybrids save much less: Double ML -0.48 gal/100mi and AIPW -0.57, which is 9–13% across seeds. Figure 4 shows both groups.Figure 4. Effect on fuel used in gallons per 100 miles (negative means less fuel) for full hybrids (blue circles) and mild hybrids (orange squares). The dot and thin line are the seed-42 estimate with a 95% confidence interval clustered by nameplate; the wide pale band is the range over five seeds. Twins: 327 pairs from 44 nameplates (full), 46 pairs from 10 nameplates (mild).Twins: the same car with and without the hybridThe strongest design in this data needs no propensity model. For each hybrid I looked for its petrol twin: same make, nameplate, model year, drive type and forced induction, and the closest engine size. That fixes brand and size class, and nearly the body.For full hybrids this gives 327 pairs from 44 nameplates. The hybrid uses 1.09 gal/100mi less than its twin (95% CI -1.21 to -0.98), which is 27% less fuel. Only a third of full hybrids have a twin, and the CI treats each chosen twin as fixed, so it is a little optimistic. With a similar engine size, this is closest to the “same engine” estimate in the next section. It is higher than Double ML (27% against 23%), but it covers only the 44 nameplates sold in both versions, so the two are not directly comparable.Mild hybrids produce only 46 pairs from 10 nameplates: 11%, with an interval that just crosses zero (-0.83 to +0.02).Now the test of the physics argument: the gain should live in the city cycle. It does. On the EPA city cycle a full hybrid uses 35% less fuel than its twin (-1.59 gal/100mi), on the highway cycle 14% (-0.46). A petrol twin burns 4.6 gal/100mi in the city and 3.4 on the highway. The hybrid burns about 3.0 in both (Figure 5). Each pair is the same car on both cycles, so this gap cannot come from which cars become hybrids. It is consistent with the mechanism, though it does not separate engine-off driving from braking recovery.Figure 5. Change in fuel used by a full hybrid compared with its petrol twin on the EPA city cycle, the combined rating and the highway cycle (327 pairs from 44 nameplates). A twin has the same make, nameplate, model year, drive type and forced induction. Labels give the percent change and the change in gallons per 100 miles.What exactly counts as “the effect”?One modelling choice changes the result more than switching estimators. Engine size is a confounder: big engines burn more and are rarely hybrid. But a smaller engine is also part of what you buy with a hybrid. The 2.5-litre four-cylinder in a Camry Hybrid replaces the V6 that some petrol Camrys had.If I hold engine size and forced induction fixed, I get the effect of the hybrid system on top of the same engine: -0.98 gal/100mi, 23%. If I drop them from the model, I get the effect of the whole package as manufacturers sell it: -1.17 gal/100mi, 28%.For a buyer, the package number is the more relevant answer, because nobody buys a hybrid system apart from the engine that comes with it. For an engineer, the first number is the right one. Both are valid, as long as you say which one you report.Checks, and the one that failedThe full-hybrid estimate went through several stress tests:Propensity trimming. Dropping cars with extreme propensity scores, at cutoffs from 0.01 to 0.1, leaves anywhere from 24,790 down to 1,213 petrol cars. Double ML stays between -0.98 and -1.00 and AIPW between -0.94 and -1.17.Omitted-variable bounds. DoubleML has the sensitivity analysis of Chernozhukov et al. (2022) built in. Its robustness value is 34%: a hidden confounder would need to explain about a third of the remaining variation in both hybrid status and fuel use to erase the effect. A confounder as strong as displacement (given the other covariates) leaves the worst-case 95% bound between -1.46 and -0.51, and one as strong as model year between -1.57 and -0.39. For the whole engine block the method gives no bound: a confounder that strong could explain all the remaining variation in fuel use.Rosenbaum bounds on the twins. Gamma is how strongly a hidden factor could tilt which car of a pair becomes the hybrid: at Gamma 2, one car has twice the odds. All 44 nameplates show a saving, and it stays significant up to Gamma 10 (p = 0.03) but not at 15.Pooled sample. A placebo treatment gives zero and a random extra confounder does not move the estimate.One check failed. A negative control outcome is a variable the treatment should not affect, so a non-zero adjusted “effect” on it means something unmeasured still differs between the groups. I used passenger volume, because a hybrid system should not make the cabin bigger. After adjustment, full hybrids come out with 1.8 cubic feet more of it (2.7 standard errors from zero). Some body or packaging difference is not captured by my confounders.Four things limit the damage. The difference is small, about 2% of a typical cabin (97 cubic feet). Its direction helps: larger cars burn more fuel, so an uncaught body difference would make the hybrid look worse, and adding passenger volume to the confounders does move the fuel effect away from zero (from -0.90 to -0.94 on that subsample). The test is also weak, because I already adjust for size class, which EPA defines by interior volume. And the twin design holds the nameplate fixed, which removes most body differences; it gives 27%.Two limits no check can fix:Real-world gap. All numbers are EPA label ratings. In Consumer Reports tests of 2008 models, hybrids missed their label by about 10% and conventional cars by about 2%. Applying those two numbers to the twins shrinks the 27% to about 20%. Treat this as a rough bracket: it is one test series on one model year, applied to 1998–2026.Coverage. The EPA file covers US-certified cars, so several popular European hybrids are missing. Curb weight and price, which probably affect both hybrid status and fuel use, are not in it either.What the data sayThe physics predicted a large city saving and a small highway one, and the twins show both: about a third in the city, a seventh on the highway. A full hybrid uses about a quarter less fuel than a comparable petrol car on EPA ratings, and about a fifth less after the rough real-world correction. At 15,000 km a year the ratings mean roughly 350 litres of petrol and 0.8 tonnes of tailpipe CO2 saved, and the corrected figures are about 270 litres and 0.6 tonnes. A mild hybrid is a different product, with a saving of about a tenth, even though the badge says “hybrid” either way.Had I stopped at the pooled 18%, I would have reported it as “the effect of hybrids”. It answers a question nobody asks when buying a car, because it averages two products in the proportions manufacturers happened to certify. The most useful step in this project was reading what the treatment flag actually contains, and no estimator would have done that for me.The code, the frozen data snapshot and the executed notebook are on GitHub: github.com/firefly1248/hybrid-causal-inference. All randomness is seeded, so the numbers reproduce.ResourcesCode and dataCode, frozen data snapshot and executed notebookEPA and DOE fuel economy data, fueleconomy.gov download page(vehicles.csv; the snapshot in the repo was downloaded on 2 July 2026)LibrariesDoubleML for Python (IRM and omitted-variable bounds)EconML (CausalForestDML)Papers and articlesRichard P. Larrick and Jack B. Soll, The MPG illusion, Science 320 (5883), 1593–1594, 2008Victor Chernozhukov, Denis Chetverikov, Mert Demirer, Esther Duflo, Christian Hansen, Whitney Newey and James Robins, Double/debiased machine learning for treatment and structural parameters, The Econometrics Journal 21 (1), 2018Victor Chernozhukov, Carlos Cinelli, Whitney Newey, Amit Sharma and Vasilis Syrgkanis, Long story short: omitted variable bias in causal machine learning, Review of Economics and StatisticsFan Li, Kari Lock Morgan and Alan M. Zaslavsky, Balancing covariates via propensity score weighting, Journal of the American Statistical Association 113 (521), 390–400, 2018 (overlap weights)Paul R. Rosenbaum, Observational Studies, 2nd edition, Springer, 2002 (sensitivity bounds)Tyler J. VanderWeele and Peng Ding, Sensitivity analysis in observational research: introducing the E-value, Annals of Internal Medicine, 2017Consumer Reports, Hybrids, small turbos often fall short of EPA mileage estimates, 3 July 2013A Causal Inference look at how much fuel a hybrid powertrain really saves. was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.