A website feels weightless, but it is not: every single view uses electricity. Data travels from the server across the network to the visitor's device, and each of those steps costs energy. For the median mobile page, the HTTP Archive's model estimates around 0.33 grams of CO2 per view (Web Almanac 2024) — that sounds like nothing, yet it adds up quickly across thousands of visits a month. For a trade business, a law firm or a restaurant the individual contribution is tiny, and still it is worth a look: almost everything that makes a page more climate-friendly also makes it faster and cheaper to run. This article explains, without jargon, why a website causes emissions at all, why carbon calculators show such different figures for the same page and which levers measurably reduce the footprint: images, lean delivery and hosting — with a worked example of switching images to AVIF and WebP and the rules under which sustainability can be presented honestly on your own site today.
Why a website causes CO2
Behind every view sits a chain of devices that need power: the server the page lives on, the networks and data centres the data passes through, and finally the phone or computer that displays it all.
On top of that comes the energy already embodied in manufacturing those devices. Where the electricity is not fully generated from renewable sources, greenhouse gases arise. For 2024 the HTTP Archive estimates 0.37 grams of CO2 per view for the median page on desktop and 0.33 grams on mobile (Web Almanac 2024). Taken on its own that is nothing. At 5,000 page views a month, though, the mobile figure already comes to around 20 kilograms a year (own calculation: 60,000 views times 0.33 grams), and across millions of websites it adds up to a meaningful figure. Higher figures from older sources are no contradiction: the earlier version of the calculation model assumed more than twice as much CO2 per gigabyte (see methodology).
Exactly how large the digital share of global emissions is cannot be pinned down to the decimal. According to a joint report by the World Bank and the International Telecommunication Union (ITU), at least 1.7 percent of global emissions in 2022 stemmed from the information and communication technology sector (World Bank and ITU); other estimates range from 1.5 to 4 percent (ITU). A growing part of that falls to data centres: in 2024 they used around 1.5 percent of the world's electricity, about 415 terawatt-hours (IEA), and their consumption is set to more than double to around 945 terawatt-hours by 2030 (IEA). Artificial intelligence is the most important driver, alongside growing demand for other digital services (IEA). The single business website is a tiny dot in this picture. That is precisely why this is not about saving the world, but about a double benefit: what makes the page lighter as a rule also makes it faster and cheaper to run.
What drives a page's footprint
In the common calculation models, the electricity use of a view depends above all on one thing: how much data is transferred (Web Almanac 2024).
The heavier a page, the more bytes travel across the network, the longer processors work and the more energy flows. And pages keep getting heavier: the median mobile home page now weighs 2.6 MB, up 8.4 percent from 2.4 MB the year before (Web Almanac 2025). In July 2015 it was 845 KB (Web Almanac 2025) — a rise of 202.8 percent in ten years (Web Almanac 2025), so the weight has roughly tripled. A large share of visits comes from phones, often over mobile networks with a limited data allowance. Cutting the data load therefore helps the climate, the speed and the visitor's data allowance at the same time. These factors drive the weight most:
Full-size images
Uncompressed photos are the most common ballast. A single image can weigh more than the entire rest of the page content.
Auto-playing videos
Background videos and embedded clips often load several megabytes before the first line of text is visible.
Too many typefaces
Every embedded font family with several weights loads additional files that delay rendering.
External embeds
Maps, social widgets and chat windows pull in code from third-party servers that nobody in the business controls.
Heavy scripts and trackers
Bulky builder scripts and many counting pixels run on every view and cost processing time.
Server location and power mix
Where the page is hosted and where the electricity comes from help decide how much CO2 falls on each transferred byte.
Images weigh heaviest: the median mobile home page loads 911 KB of images (Web Almanac 2025) — more than any other file type, followed by JavaScript and fonts (Web Almanac 2025). That is exactly where the biggest lever sits. How to slim images down without visible loss of quality is shown in the article on images on the website; which hidden loads maps, videos and fonts from third-party servers bring along is set out in the article on external content.
Lean delivery: the biggest lever
The most effective step towards a climate-friendly website is at the same time the least spectacular: deliver less and lighter.
A page that arrives at the visitor as finished, static HTML does not have to be assembled from a database on every view. That saves processing time on the server, lowers the amount of data and makes the page faster. And because less technology runs in the background, there is also less that can fail or needs maintaining later. JavaScript shows how much ballast typically travels along: on the median mobile page, 251 KB of JavaScript goes unused, counted uncompressed (Web Almanac 2025) — code that is transferred and processed by the browser without being needed on that page. Why static delivery also wins on load time along the way is explored in the article on PageSpeed through static websites; how a static build fundamentally differs from a runtime engine in the browser is set out in the comparison of approaches at XICflow.
- Slim images down: modern formats, suitable dimensions and compression instead of full-size photos.
- Use media sparingly: start videos only on request and do not load them automatically in the background.
- Review external embeds: load maps, widgets and fonts only where they are genuinely needed.
- Deliver lean: static HTML instead of heavy scripts that recompute on every view.
- Use caching: keep already-loaded files in the browser so follow-up views cost hardly any data.
Scroll table sideways
| Aspect | Heavy, dynamic page | Lean, static page |
|---|---|---|
| Data load per view | Many megabytes from media and scripts | A few hundred kilobytes for the core content |
| Energy per view | Server rebuilds the page every time | Finished page is simply delivered |
| Load time | Noticeable wait, especially on mobile | Page appears almost instantly |
| Server needs | Processing power and a database required | Simple delivery is enough |
| Running costs | Higher through compute load and upkeep | Lower through lean operation |
Climate and speed pull the same way
Images and media: the largest single item
Because images and video make up the lion's share of the data load, the most is decided here. A photo straight from the camera can weigh several megabytes — yet on the page it is often shown only a few hundred pixels wide.
The solution is unspectacular: bring images down to the size actually needed, save them in a modern format and compress them sensibly. That alone takes a substantial part of the weight off many pages without any visible difference. Videos belong only where they genuinely explain something, and should not start automatically. A background image that runs across the whole screen also needs careful thought, because it is loaded in full on every view and can delay the first impression of the page. It pays off especially on the phone, where data allowance and reception are limited.
- Scale images to the size at which they are shown instead of embedding photos at full resolution.
- Use a modern, strongly compressing image format that keeps the file small.
- Load images only when they enter the visible area rather than all of them at once.
- Start videos only on click, not as an automatically playing background element.
- Avoid decorative large images that weigh a lot and say little.
Worked example: image weight before and after
How much the switch achieves can be estimated without a lab. The calculation needs only the number of pixels and the bits a format needs per pixel on average.
Across the web, this median is 2.0 bits per pixel for JPEG, 1.4 bits for AVIF and 1.3 bits for WebP (Web Almanac 2024). That AVIF does not come out ahead here, even though the format can compress more strongly, has a reason: the median value for AVIF rose by 47 percent between 2022 and 2024, probably because today's encoders sacrifice less image quality at their default settings (Web Almanac 2024). The setting therefore matters too. The example: an image-heavy home page with a header image at 2,400 × 1,350 pixels and six project photos at 1,200 × 900 pixels each, all as JPEG and embedded the way they were uploaded. On a phone the images appear at most around 400 pixels wide; for screens with double pixel density, 800 pixels of width are enough.
Scroll table sideways
| Variant | Image weight of the home page | Saving against the starting point |
|---|---|---|
| Starting point: JPEG at upload size | 2,430 KB | not included |
| Format only: WebP, dimensions unchanged | around 1,580 KB | 35 % (own calculation) |
| Dimensions only: JPEG, sized for the phone | 810 KB | 67 % (own calculation) |
| Both: WebP at suitable dimensions | around 527 KB | 78 % (own calculation) |
| Both: AVIF at suitable dimensions | 567 KB | 77 % (own calculation) |
The calculation for the header image: 2,400 × 1,350 pixels are 3.24 million pixels, which at 2.0 bits makes 810 KB; at 800 × 450 pixels as WebP it is 0.36 million pixels at 1.3 bits, so around 59 KB (own calculation, 1 KB = 1,000 bytes). The right dimensions therefore achieve more than the modern format, and only both together take a good three quarters of the weight off the images. With the factor of around 148 grams of CO2 per gigabyte from the methodology section, the images' share per first view falls from around 0.36 to around 0.08 grams; at 60,000 views a year that is almost 17 kilograms less (own calculation). This is an upper estimate, because returning visitors load many images from cache. XICflow takes this work off your hands at upload: every photo is turned into variants in up to four widths from 400 to 1,600 pixels as AVIF and as WebP, and the browser uses srcset to pick the right file.
Why carbon calculators show such different figures
Run the same page through two carbon calculators and you often get two different results — and both may be calculated correctly. That is because no CO2 is measured at all.
Common calculators estimate: they take the amount of data transferred as a proxy for energy use (Web Almanac 2024) and convert it using assumptions about energy per gigabyte and CO2 per kilowatt-hour. The model many calculators work with (Web Almanac 2024) is the Sustainable Web Design Model. In its current version it assumes per gigabyte 0.055 kWh for data centres, 0.059 kWh for networks and 0.080 kWh for users' devices, plus manufacturing shares of 0.012, 0.013 and 0.081 kWh (Sustainable Web Design Model) — around 0.30 kWh per gigabyte in total. This energy is valued at the global average carbon intensity of electricity of 494 grams per kilowatt-hour (Sustainable Web Design Model). That gives around 148 grams of CO2 equivalents per transferred gigabyte (own calculation). On top come assumptions about returning visitors and the share of data they load from cache (Sustainable Web Design Model). Each of these settings shifts the result.
Scroll table sideways
| Assumption | CO2 per gigabyte | Mobile home page of 2.6 MB |
|---|---|---|
| Earlier model version: 0.81 kWh per GB, 442 g per kWh | around 358 g | around 0.93 g |
| Current version: 0.30 kWh per GB, 494 g per kWh | around 148 g | around 0.39 g |
| Current version, operational electricity at the German grid mix (344 g per kWh) | around 119 g | around 0.31 g |
| As above, plus a data centre on renewable electricity | around 100 g | around 0.26 g |
The table shows why figures diverge so widely (own calculation, first view without cache). First, the model version: the earlier one calculated with 0.81 kWh per gigabyte (Web Almanac 2024); although the model's global carbon intensity rose from 442 to 494 grams per kilowatt-hour (Web Almanac 2024), the old result is still more than twice as high. Second, the system boundary: the slimmer OneByte model in the Green Web Foundation's CO2.js library covers only the data centre and the network (Green Web Foundation). Third, the grid mix: in Germany, according to an estimate by the German Environment Agency, an average of 344 grams of CO2 was emitted per kilowatt-hour consumed in 2025 (Umweltbundesamt). The model recommends using national values only for operational electricity and keeping the global average for manufacturing the devices (Sustainable Web Design Model). This is not strictly comparable: the agency's figure covers the CO2 emitted during generation, the model value the full upstream chain (Green Web Foundation). In practice: only compare results from the same tool with the same settings, note the date and model version, and record the page weight in kilobytes every time — the figure in the calculation that is measured rather than estimated.
Showing sustainability — without empty promises
A small footprint is a good argument — but only if it is communicated honestly. Since September 27, 2026, stricter rules have applied in Germany (Federal Law Gazette 2026 I No. 43).
A generic environmental claim such as "green website" is prohibited toward consumers if no recognized excellent environmental performance can be demonstrated (UWG, annex no. 4a); the underlying EU directive explicitly names "green" as an example of such a generic claim (Directive (EU) 2024/825, recital 9). A claim counts as generic if its specification is not stated clearly and prominently on the same medium (UWG, Section 2(2)). For "climate-neutral" there is more: if the claim rests on offsetting emissions, it is prohibited toward consumers in every case (UWG, Section 3(3) and annex no. 4c). Which wordings are affected and how to review existing copy step by step is shown in the article on environmental claims on websites and the rules since September 27 — this section only covers the part that concerns your website itself.
What remains are concrete, verifiable statements with a measured value, tool and date — for example: "The images on our home page weigh 527 KB in total on a phone, measured on November 3, 2026 with the browser's developer tools." Whether a wording is sufficient in a given case depends on the context; if in doubt, have it checked legally before publication. Caution applies to badges that some carbon calculators offer for embedding. Any voluntary public or private trust mark, quality label or equivalent intended to highlight environmental or social characteristics counts as a sustainability label (UWG, Section 2(2)) — a badge that presents the site as particularly clean can fall under this. If such a label is based neither on a certification scheme nor established by public authorities, displaying it toward consumers is prohibited (UWG, annex no. 2a). How to anchor trust with real evidence instead is shown in the article on seals, certifications and guarantees.
Built lean once, economical for good
Green electricity and server location
Alongside the data load a second question comes into play: where does the electricity that delivers the page come from? A data centre run on electricity from renewable sources lowers emissions — but only for part of the chain.
In the Sustainable Web Design Model, the hosting's green factor acts solely on the data centres' operational electricity (Sustainable Web Design Model). That is 0.055 of around 0.30 kWh per gigabyte; even fully green hosting therefore lowers the model value by at most around 18 percent (own calculation). Networks and end devices, which make up the bulk, remain untouched — and only a lighter page relieves them. Verifiably green hosting is not yet widespread anyway: of all websites the HTTP Archive measured in 2024, only 12 percent of desktop and 10 percent of mobile sites ran with a provider that the Green Web Foundation lists as green (Web Almanac 2024). The two levers complement each other, but in the model the data load weighs considerably more.
How much renewable electricity a data centre must use is governed in Germany by the Energy Efficiency Act, the Energieeffizienzgesetz (EnEfG), for data centres with a non-redundant rated electrical connection capacity of 300 kilowatts or more (EnEfG, Section 3 no. 24). Their operators have had to cover 50 percent of their electricity consumption on balance from renewable energy since January 1, 2024 (EnEfG, Section 11(5)), and 100 percent from January 1, 2027 (EnEfG, Section 11(5)) — in that quantity on paper, not every kilowatt-hour physically. Data centres that started operating before July 1, 2026 must achieve a power usage effectiveness of no more than 1.5 from July 1, 2027 (EnEfG, Section 11(1)), the ratio of the energy demand of the entire data centre to that of its information technology (EnEfG, Section 3 no. 15). Operators publish information about their data centre every year by March 31 (EnEfG, Section 13(1)) and have had to show their customers the energy consumption directly attributable to them per year since 2024 (EnEfG, Section 15). So ask your hosting provider which data centre the site runs in, whether it falls under these duties and which figures they can pass on. An answer with numbers is evidence; "green hosting" without numbers is not. Where hosting sits among a website's running costs is set out in the article on the website budget.
How XICflow delivers lean pages
With a website, sustainability is rarely a single setting — it sits in many small decisions about the weight of every page.
XICflow takes those decisions on from the outset: every page ships as lean, static HTML, with critical CSS inline, self-hosted fonts and pre-compressed files. Images are available in several widths as AVIF and WebP, and heavy scripts in the background are kept out. Because the finished page is only delivered rather than reassembled on every view, less compute load arises — which lowers the amount of data and the load time in one go. Which building blocks are part of that is shown in the XICflow service overview; how a page is assembled step by step is described in how XICflow works.
Whether a page is genuinely light can be checked without any expertise: the developer tools of every common browser show in the network tab how many kilobytes are transferred on the first view, and a public carbon calculator estimates the emissions per view from that. How finished, lean pages look in practice can be explored in the example sites in the demo gallery, and what the build costs is shown in the pricing overview.