The Carbon Footprint of Driving: CO2 per Gallon, Worked Out
The CO2 from a gasoline or diesel car is one of the few environmental figures you can work out yourself, accurately, with two numbers you already know: how far you drive and your MPG. That is because the CO2 comes from the carbon in the fuel, so it is tied directly to how many gallons you burn. This page gives the official factors, the formula, worked examples, and what the simple figure does and does not include.
The EPA's figures
The US Environmental Protection Agency's page "Greenhouse Gas Emissions from a Typical Passenger Vehicle" (updated June 3, 2026) gives:
- 8,887 grams of CO2 per gallon of gasoline burned (8.887 kg),
- 10,180 grams of CO2 per gallon of diesel burned (10.18 kg).
The same page says a typical passenger vehicle emits about 4.6 metric tons of CO2 a year, assuming about 22.2 MPG and about 11,500 miles. You can check that with the formula below: 11,500 / 22.2 = 518.02 gallons, x 8.887 kg = 4,603.63 kg, or about 4.6 metric tons. These are tailpipe figures: CO2 from burning the fuel in the vehicle.
Diesel emits more CO2 per gallon because a gallon of diesel contains more carbon (and more energy) than a gallon of gasoline. Check the EPA page for the current figures before quoting them.
The formula
annual CO2 (kg) = annual miles / MPG x kg CO2 per gallon
Divide by 1,000 for metric tons. All the figures here use US gallons and MPG in US gallons.
Worked examples
These use example mileage and MPG figures; enter your own in the carbon footprint calculator, which shows whole kilograms and metric tons to two decimals.
| Example | Gallons a year | CO2 a year | Calculator shows |
|---|---|---|---|
| Gasoline, 12,000 miles at 25 MPG | 480 | 4,265.76 kg | 4,266 kg, 4.27 t |
| Gasoline, 12,000 miles at 30 MPG | 400 | 3,554.80 kg | 3,555 kg, 3.55 t |
| Gasoline, 9,000 miles at 25 MPG | 360 | 3,199.32 kg | 3,199 kg, 3.20 t |
| Diesel, 12,000 miles at 30 MPG | 400 | 4,072.00 kg | 4,072 kg, 4.07 t |
Per mile, a gasoline car emits 8,887 grams divided by its MPG: 355.48 grams a mile at 25 MPG, about 296 grams a mile at 30 MPG.
Two ways to lower it, and only two
Because tailpipe CO2 is fixed per gallon, the only ways to reduce it are to burn fewer gallons: drive fewer miles, or get more miles from each gallon. In the examples above:
- Going from 25 to 30 MPG over 12,000 miles saves 80 gallons, which is 80 x 8.887 = 710.96 kg of CO2 a year.
- Driving 9,000 miles instead of 12,000 at 25 MPG saves 120 gallons, which is 4,265.76 minus 3,199.32 = 1,066.44 kg.
Fuel additives, devices and fuel brands do not change the carbon in a gallon. Habits and maintenance that improve your real MPG do, and you can confirm any change with a fuel log in the MPG calculator. The savings per MPG point are larger for low-MPG vehicles, which is the same arithmetic as the MPG illusion explained in gallons per 100 miles.
Using the calculator for diesel, UK or metric figures
- Diesel: the carbon footprint calculator has a Fuel choice. Select Diesel and it applies the EPA's 10.18 kg per gallon; leave it on Gasoline and a diesel's figure would come out too low.
- UK mpg: the calculator takes US MPG. Convert first: US mpg = UK mpg / 1.20095 (an imperial gallon is 4.54609 liters, a US gallon 3.785411784 liters).
- Liters: per liter, the EPA factors work out to about 2.35 kg of CO2 for gasoline (8.887 / 3.785411784) and about 2.69 kg for diesel (10.18 / 3.785411784). If you track liters, multiply liters burned by those figures.
Tailpipe vs full fuel cycle
The EPA factors count only what comes out of the tailpipe. Producing and delivering the fuel, from extraction to refining to transport, adds emissions before the fuel reaches your tank, and the EPA notes that fuel production and distribution create greenhouse gas emissions of their own. A full fuel-cycle (sometimes called well-to-wheels) figure is therefore higher than the tailpipe figure. This page does not put a percentage on that difference: it varies with the fuel and its source, and official life-cycle estimates, such as those from Argonne National Laboratory's GREET model for the Department of Energy, should be read at the source with their date.
Vehicles also emit small amounts of other greenhouse gases, methane and nitrous oxide from the tailpipe and refrigerant leaks from air conditioning; the EPA describes these as small compared with CO2. Building the vehicle is a separate footprint again.
Comparing with an electric car
An electric car has no tailpipe, but the electricity it uses has a footprint that depends on how it was generated. The calculator can add an EV baseline using a grid factor in kg of CO2 per kWh; EV vs gasoline car CO2 explains which grid figure to use and why a negative "saved" result can happen.
These figures are estimates of tailpipe CO2 built from official factors and your own inputs, not a measurement of a specific vehicle.