Website carbon
calculator

Every page view moves data through data centres, networks and the visitor's device, and that takes electricity. This weighs every file a page downloads, checks whether the host runs on renewable energy, and works out the CO2 per visit and per year, graded A+ to F.

How it's worked out

1Weigh the page

Every image, script, stylesheet and font the page names is downloaded and measured, and text files are counted at their compressed size.

2Convert to energy

The Sustainable Web Design model puts the energy per gigabyte at about 0.3 kWh, split between data centres, networks and devices, including the energy to build them.

3Convert to carbon

Electricity is multiplied by the carbon intensity of the grid. The data centre part uses renewable figures if the host is verified green.

4Grade it

The grams per view are banded A+ (under 0.04 g) to F (over 0.36 g), the same bands the model publishes.

The biggest wins, in order

For most business sites, images are the majority of the weight, so converting them to WebP or AVIF and sizing them for the space they fill is the single biggest change. After that come third-party scripts (chat widgets, multiple analytics tools, video embeds that load a player before anyone presses play), then fonts: one family in two weights is plenty. Switching to a host on renewable energy cuts the data centre share, and it's usually no more expensive.

The nice part is that every one of these also makes the site faster, which helps conversions and search rankings. A lighter page is a better page.

Questions agencies ask

It's an estimate. Nobody can measure the exact energy a page view uses, so the Sustainable Web Design model works from averages for data centres, networks and devices. It's good for comparing pages, comparing before and after changes, and putting a reasonable number in a report. It isn't precise enough for formal carbon accounting.

FOR AGENCIES

Want to put a sustainability number in your proposals?

I can audit a client's site for weight, hosting and third-party scripts, then do the work: image pipelines, font clean-ups and moving to a green host, without breaking anything.

  • White-label, under your brand, or alongside your team
  • Laravel, WordPress, WooCommerce, integrations and tracking
  • Inherited and half-finished sites taken over and stabilised
  • UK based, straight to the developer, no account managers

Related free tools