What is the carbon footprint of a website?
Displaying a web page uses electricity in three places: in the data centre that hosts it, on the network that carries it and on the device that displays it. Manufacturing those servers, cables and phones also has a CO₂ cost.
The carbon footprint of a website adds up these emissions and brings them down to a single visit. It is expressed in grams of CO₂ equivalent per page view. The median mobile web page weighs 2.3 MB and emits about 0.34 g per visit; a well-optimised page gets below 0.1 g.
How is it calculated?
Nobody measures the consumption of every server in the world directly: it is estimated from the volume of data transferred, the only figure that can be measured reliably for any website. That is the principle of the Sustainable Web Design model, used by most recognised calculators.
CarbWeb has Google load the page, adds up the weight of every file (HTML, images, scripts, fonts…), then applies this model. The coefficients and limits are published in full in the methodology.
Why make your website lighter?
A lighter website is not just better for the climate:
- It loads faster, especially on mobile and on an average connection.
- It ranks better on Google, which takes loading speed into account (Core Web Vitals).
- It costs less in bandwidth and hosting.
- It strengthens your CSR / ESG reporting with a measurable figure tracked over time.
How can you reduce your website’s carbon footprint?
The biggest gains almost always come from the same places:
- Convert images to WebP or AVIF and serve them at their display size.
- Load images and videos only when they become visible.
- Remove unnecessary JavaScript and limit third-party scripts (analytics, chat, advertising).
- Limit the number of fonts and weights loaded.
- Play videos on demand rather than autoplaying them.
- Choose a host powered by renewable electricity.
CarbWeb lists these fixes for your page, with the saving from each one.
What about Switzerland?
Swiss electricity emits about 37 g of CO₂ per kWh, compared with nearly 500 g on the global average. A website hosted and viewed in Switzerland therefore emits much less: CarbWeb shows this figure alongside the standard result.
To put Swiss websites in context, CarbWeb publishes a barometer of the websites of all 26 cantons, measured with the same method.
