Skip to content

Website carbon footprint: how to calculate it and build a low carbon website

It's tempting to think of the internet as something weightless. Yet every page you open keeps servers running, travels through cables and cell towers, and ends up on a device that draws power. A website visited thousands of times a month adds up, and that footprint can be measured.

Where do a website's emissions come from?

The emissions of a visit fall into three main areas:

  • data centers, which store the site and answer requests;
  • the network, which carries the data to the visitor;
  • the visitor's device, which downloads the page, displays it and runs its code.

On top of that comes the manufacturing of all this hardware, a big part of the digital footprint. In every case one rule holds: the heavier a page is, the more energy it takes to deliver and display it.

How to calculate a page's carbon footprint

The most widely used method today is the Sustainable Web Design model. It starts from the amount of data transferred during a visit, links it to energy use in each area (servers, network, device), then converts that energy into grams of CO2 based on the average carbon intensity of electricity.

This is the model we use, through the open source CO2.js library. We also check with The Green Web Foundation whether your host runs on renewable energy, which lowers the share attributed to servers.

The result is still an estimate: nobody can measure exactly how much electricity a given visit uses. But the estimate is consistent from one page to the next, which makes it very useful for comparing pages and tracking progress.

Which numbers matter?

According to HTTP Archive, the median web page now weighs around 2 to 2.5 MB. A 4 MB page visited 10,000 times a month transfers 40 GB of data; the same page trimmed to 2 MB transfers half as much, every month, and your visitors won't notice any difference except that it loads faster.

To make these numbers readable, our audit gives an Eco-Score from A to E. It combines page weight, number of requests and performance score, because a light page that makes 150 requests is still costly to load.

How to reduce your website's carbon footprint

The most effective levers are also the ones that make the site faster:

  • optimize images: right size, WebP format, sensible quality;
  • lazy-load what isn't visible right away;
  • configure browser caching so the same files are not downloaded again;
  • minify CSS and JavaScript, and remove scripts you no longer need;
  • limit autoplay videos and fonts loaded in many weights;
  • choose a host powered by renewable energy.

That's the whole point of sustainable web design: a lean site is almost always a fast site, and a fast site pleases both your visitors and Google.

What a low carbon website looks like

A low carbon website isn't a dull one. It simply sends visitors what they need, when they need it. Photos still look great, they just don't weigh 5 MB anymore. Pages stay rich, but they don't load ten tracking scripts.

Start by measuring: our free website carbon calculator gives you the estimated CO2 per visit, the page's Eco-Score and the possible weight saving. You will then know where to act first.

What is your website's carbon footprint?

Calculate it for free in 30 seconds, with a breakdown of page weight, requests and your Eco-Score.

Test my site for free