Frequently Asked Questions
- How accurate are your estimations?
It is hard to quantify the entirety of computing emissions, because there are many factors in play, notably the life-cycle emissions of computing infrastructure. We therefore only focus on the direct emissions produced by running the actual code, but recognize that there is much work to be done to improve this estimation.
- What are the sources of your energy carbon intensity data?
We use the following sources:
For cloud computing:
Google publish carbon intensity of electricity for Google Cloud Platform.
Unfortunately, Amazon has made a habit of keeping information about its carbon footprint out of public view. Although it released its global carbon footprint, it does not publish datacenter carbon footprints.
Microsoft has a Sustainability Calculator that helps enterprises analyze the carbon emissions of their IT infrastructure. But does not publish datacenter carbon intensity.
For private infra:
When available we use data from ourworld in data
if not available we use the electricity mix of the country find on globalpetrolprices.com that we multiply by the carbon intensity of the source of electricity (that you can find here)
if we have neither we default to a world average of 475 gCO2.eq/KWh from IEA.
- How do I offset my emissions?
There are many offsetting schemes, and it is hard to recommend any single one. For one-shot offsetting, the Gold Standard is often used, and has many offsetting projects to choose from at different prices. There are often local initiatives as well, so try researching what exists in your region/country. For a recurring offset, Project Wren lets you estimate your monthly carbon emissions and offset them via a monthly subscription. Keep in mind that offsetting is a good choice, but reducing your emissions should be the priority.
- How can I help?
If you find a functionality missing in the CodeCarbon repo, please open an issue so that you (and others!) can help add it. We did our best to cover all use cases and options, but we count on the open source community to help make the package an even greater success.