# Tailpipe CO₂ calculator > How much CO₂ does your car emit? Grams of CO₂ per kilometre or mile, and kilograms a year, from what your petrol or diesel car burns. Free tailpipe CO₂ calculator: g/km and g/mile and CO₂ per year from l/100 km or mpg, for petrol and diesel cars, using US EPA emission factors. - Page: https://how.box/tailpipe-co2/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/tailpipe-co2/?f={f}&c={c}&cu={cu}&d={d}&du={du} - `f` (petrol or diesel): petrol or diesel. Example: `petrol`. - `c` (number 0.1 to 1000): Fuel consumption in cu. Example: `6.5`. - `cu` (l_100km, km_l, mpg_us or mpg_imp): l_100km, km_l, mpg_us or mpg_imp. Example: `l_100km`. - `d` (number 0 to 1e6): Distance per year in du. Example: `15000`. - `du` (km or mi): km or mi. Example: `km`. Example answer: https://how.box/tailpipe-co2/?f=petrol&c=6.5&cu=l_100km&d=15000&du=km A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `tailpipe_co2_calculate`: Tailpipe CO₂ of a petrol or diesel car from its fuel consumption. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tailpipe_co2_calculate","arguments":{"fuel":"petrol","consumption":6.5,"consumption_unit":"l_100km","distance":15000,"distance_unit":"km"}}}` - GET: https://how.box/mcp/run/tailpipe_co2_calculate?fuel=petrol&consumption=6.5&consumption_unit=l_100km&distance=15000&distance_unit=km ## How it works Almost all the carbon in petrol and diesel leaves the exhaust as carbon dioxide, so the CO₂ a car emits follows from how much fuel it burns. The US Environmental Protection Agency (EPA) puts it at 8,887 grams of CO₂ per US gallon of petrol and 10,180 grams per gallon of diesel: about 2.35 kg per litre of petrol and 2.69 kg per litre of diesel. Diesel emits more per litre because it is denser and holds more carbon, but diesel cars usually burn fewer litres. The formula is CO₂ (g/km) = consumption (L/100 km) ÷ 100 × grams per litre. A petrol car using 6.5 L/100 km emits 6.5 ÷ 100 × 2,347.7 ≈ 153 g/km; over 15,000 km a year that is about 2,290 kg. Miles per gallon are first turned into litres per 100 km (235.2 ÷ mpg for US gallons). This is tailpipe CO₂ only. Producing, refining and delivering the fuel adds more, and so does building the car. Official type-approval figures (WLTP) come from a lab test and can differ from what you burn on the road; your own consumption gives your own number. E85, LPG and natural gas are not included because no official per-litre factor for them was available. ## FAQ **How much CO₂ does a litre of petrol make?** About 2.35 kg of CO₂ from the tailpipe, and a litre of diesel about 2.69 kg (US EPA factors). **How many g/km is 5 L/100 km?** About 117 g/km for petrol and 134 g/km for diesel. **Why is my result different from the car's official CO₂ figure?** The official figure comes from a standard lab test. Real driving, weather, load and speed change how much fuel you burn, so your own consumption gives a more realistic tailpipe figure. **Does doubling my annual distance double the emissions?** Yes, if fuel consumption stays the same. The yearly total is proportional to the distance driven. **Can I use this for an electric car?** No. This calculation uses petrol or diesel burned at the tailpipe. Electricity production and vehicle manufacture are outside its scope. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)