# Website Carbon Footprint Calculator

Estimate grams of CO2e per pageview and kilograms per year from page weight, traffic, and grid intensity.

---

- **Canonical URL:** https://dothecalculation.com/calculators/website-carbon-footprint-calculator
- **Category:** AI & Tech Development
- **Publisher:** Do The Calculation (https://dothecalculation.com)
- **Cost:** Free, no account or sign-up required
- **Privacy:** Runs entirely in the browser; inputs are never sent to a server
- **Methodology:** https://dothecalculation.com/methodology

---

## Calculate Your Website's Carbon Footprint

Turn page weight, traffic, and grid intensity into grams of CO₂e per pageview and kilograms per year — with every model constant visible and editable.

- Follows the Sustainable Web Design model, with the constants exposed
- Repeat visitors modelled separately, since a warm cache transfers far less
- Green hosting credited honestly at 22%, not as a blanket discount

## Quick Answer — How Is Website Carbon Calculated?

Bytes become energy, and energy becomes carbon: \(\text{gCO}_2\text{e per view} = \text{GB transferred} \times \text{Energy Intensity} \times \text{Grid Intensity}\). Using the Sustainable Web Design model's figures — **0.30 kWh per GB** of total system energy and the **494 gCO₂e/kWh** global average grid intensity — one megabyte of transfer works out to **0.1482 g CO₂e**.

That single constant is the whole model. Everything else adjusts it: repeat visitors with a warm cache transfer less than the full page, and green hosting removes the data-centre share of system energy — **22%**, under the model's split of 54% user device, 24% network, 22% data centre.

Grams of CO₂e per pageview by page weight, at 75% new visitors and a 98% cache hit rate on return visits:

• **250 KB** — 0.0280 g per view

• **500 KB** — 0.0559 g per view

• **1,000 KB** — 0.1119 g per view

• **2,000 KB** — 0.2238 g per view

• **4,000 KB** — 0.4476 g per view

For reference, the average web page is commonly cited at around **0.36 g CO₂e per view**, which at these constants implies roughly 2.4 MB of average transfer. The relationship is strictly linear — halve the bytes and you halve the emissions, with no exceptions and no diminishing returns.

## How to Use This Calculator: A 2 MB Page at 50,000 Views

Measure page weight in your browser's network panel with the cache disabled — the total transferred over the wire, not the file sizes in your project folder. Take a 2,048 KB page serving 50,000 monthly views, 75% of them new, with returning visitors hitting 98% of assets from cache, on standard hosting.

Average transfer per view = (75% × 2,048 KB) + (25% × 2,048 KB × 2%) = **1,546 KB**, noticeably below the raw page weight because a quarter of visits are nearly free. Energy per view = 0.0015462 GB × 0.30 = **0.000464 kWh**. Emissions = 0.000464 × 494 = **0.2292 g CO₂e per view** — **64%** of the average page, so already better than typical.

Scaled up: **11.46 kg CO₂e per month**, **137.5 kg per year**, from **77.3 GB** of monthly transfer and **278 kWh** of annual system energy.

Now switch hosting to green and the per-view figure falls to **0.1787 g**, the annual total to **107.2 kg** — a saving of **30.2 kg a year**. Worth having. But halving the page weight to 1,024 KB instead takes the annual figure to **68.7 kg**, a saving of **68.8 kg**, more than twice what green hosting delivers. That comparison is the most useful thing this calculator produces.

## A Second Example: A Lean Page With Five Times the Traffic

Traffic and weight trade against each other in ways that are easy to get backwards. Take a 512 KB page — a genuinely lean site — serving 250,000 monthly views, otherwise identical settings.

Average transfer per view = **387 KB**. Emissions = **0.0573 g CO₂e per view**, just **16%** of the average web page and a quarter of the 2 MB site above. On a per-visit basis this is an excellent result.

The annual total, however, is **171.9 kg CO₂e** — *higher* than the 2 MB site's 137.5 kg, from **96.6 GB** of monthly transfer and **348 kWh** a year. Five times the audience more than cancels a four-fold improvement in efficiency.

Both numbers are true and they answer different questions. Grams per view measures how well the site is built and is the figure to optimise against. Kilograms per year measures the site's actual footprint and is the figure to report. A site that improves its per-view number while tripling its traffic has become better engineered and larger in absolute impact at the same time — which is not a failure, just a distinction worth stating plainly rather than picking whichever number flatters.

## What Actually Reduces a Website's Emissions

Because the model is linear in bytes, the ranking of interventions is unusually clear. **Images and video dominate page weight** on almost every site — modern formats, correct dimensions, and lazy loading below the fold routinely halve total transfer on their own. **Third-party scripts** are the next largest and least examined line: analytics, tag managers, chat widgets, and advertising code often add more transfer than the content itself, and each one is a decision someone made once and nobody revisited.

**Caching and compression** work on the same lever from the other end. A high cache hit rate means returning visitors transfer almost nothing, which is exactly what the returning-visitor input models — and it is worth noting the same bytes drive both emissions and your infrastructure bill, so the [CDN edge caching cost calculator](/calculators/cdn-edge-caching-cost-calculator) is modelling the identical traffic reduction in dollars.

**Green hosting is real but bounded.** The 22% it removes is the data-centre share; renewable electricity at the server cannot clean up the 54% of energy spent on the visitor's own device or the 24% spent moving bytes across the network. Switch to it — it is usually free — but do not treat it as a substitute for a weight budget.

**Grid intensity** is the one input you mostly cannot control and should still adjust. The 494 gCO₂e/kWh default is a global average; a hydro- or nuclear-heavy grid runs well under 100, a coal-heavy one over 700. If your audience is geographically concentrated, using your region's figure changes the answer by more than most optimisations would. And for perspective on the whole exercise, the [flight carbon footprint calculator](/calculators/flight-carbon-footprint-calculator) is sobering: a single short-haul return flight outweighs most websites' annual emissions several times over.

## Limitations

This calculator performs exact arithmetic on the inputs and model constants you give it, but those constants are estimates over a system nobody can measure directly. Energy per gigabyte transferred is an average across wildly different data centres, network paths, and devices, and published estimates have moved substantially between successive versions of the Sustainable Web Design model as the underlying research improved. Treat the output as an order-of-magnitude figure for comparison and tracking, not an audited number.

Attribution is genuinely contested. Assigning a share of a data centre's energy, a network's energy, and a phone's battery to one pageview requires methodological choices that reasonable people make differently — some models allocate by bytes, others by time or by request count, and the results differ by more than the effect of most optimisations. Two credible calculators disagreeing about the same page is expected, which is why the constants here are editable rather than hidden.

It also covers page transfer only. It does not include the emissions embodied in manufacturing the servers, network equipment, and devices involved, the energy your build pipeline and content management system consume, video streamed from third-party embeds, or the substantial and hard-to-attribute footprint of any AI features on the page. And it says nothing about the site's indirect effect — a website that replaces physical travel or paper mail may reduce far more emissions than it produces, which no page-weight model can see.

## Related Calculators

For a household, personal, or organisational footprint rather than a website's, the [Carbon Footprint Calculator](/calculators/carbon-footprint-calculator) covers energy, transport, and consumption, and the [Flight Carbon Footprint Calculator](/calculators/flight-carbon-footprint-calculator) provides the perspective a web figure badly needs. To convert an annual CO₂e total into offsetting terms, the [Carbon Offset Trees Calculator](/calculators/carbon-offset-trees-calculator) does the conversion. On the infrastructure side, the [CDN Edge Caching Cost Calculator](/calculators/cdn-edge-caching-cost-calculator) prices the same byte reduction in dollars, since cutting transfer lowers both emissions and the hosting bill.

## Frequently asked questions

### How do you calculate a website's carbon footprint?

Multiply the data transferred per pageview by the energy that transfer costs across data centre, network, and device, then by the carbon intensity of the electricity. Using the Sustainable Web Design model's 0.30 kWh/GB and a 494 gCO₂e/kWh global grid average, one megabyte of transfer is 0.1482 g CO₂e.

### What is the average carbon footprint of a web page?

Around 0.36 g CO₂e per pageview is the commonly cited global average, which at these model constants implies roughly 2.4 MB of average transfer. A 500 KB page comes in at 0.0559 g — about a sixth of average — while a 4 MB page reaches 0.4476 g.

### Does green hosting make my website carbon neutral?

No. Green hosting removes about 22% of the footprint — the data-centre share of system energy under the model's 54% device / 24% network / 22% data centre split. Renewable electricity at the server cannot clean up the energy spent on the visitor's device or in the network carrying the bytes. It is worth switching to, but it is not a substitute for reducing page weight.

### What is the single most effective way to reduce website emissions?

Cut bytes transferred, because emissions scale linearly with them. On the example 2 MB site, switching to green hosting saves 30.2 kg CO₂e a year while halving the page weight saves 68.8 kg — more than twice as much. Images, video, and unexamined third-party scripts are where that weight almost always is.

### Why does the calculator ask about returning visitors?

Because a returning visitor with a warm browser cache re-fetches only a small remainder of the page. On a 2 MB page with 25% returning traffic at a 98% cache hit rate, average transfer per view drops to 1,546 KB — a quarter below the raw page weight, and a real reduction the raw figure would miss.

### Should I optimise grams per view or kilograms per year?

Both, for different purposes. Grams per view measures how well the site is built and is what you optimise against. Kilograms per year measures actual impact and is what you report. A 512 KB page at 250,000 views is four times more efficient per visit than a 2 MB page at 50,000 views, yet emits more in total — five times the traffic outweighs the efficiency gain.

### What grid intensity should I use?

494 gCO₂e/kWh is the global average and a reasonable default for an international audience. If your traffic is geographically concentrated, use your region's figure instead — a hydro- or nuclear-heavy grid runs well under 100 and a coal-heavy one over 700, a spread wider than the effect of most page-weight optimisations.

### How accurate are website carbon calculators?

They are order-of-magnitude estimates, not audited figures. The energy-per-gigabyte constant is an average over systems nobody can measure directly, and attributing shares of data centre, network, and device energy to one pageview involves methodological choices that reasonable models make differently. Use the result to compare and track over time, not as a precise measurement.

## Related concepts

- **Energy Intensity (kWh/GB)** — The system-wide electricity cost of transferring one gigabyte, spanning data centre, network, and end-user device. The Sustainable Web Design model's figure of 0.30 kWh/GB is the default here.
- **Grid Carbon Intensity** — Grams of CO₂e emitted per kilowatt-hour of electricity generated. The 494 g/kWh global average is a default; regional grids range from under 100 to over 700.
- **System Segment Split** — How the model divides energy across the chain: 54% user device, 24% network, 22% data centre. It is why green hosting can only address about a fifth of the total.

## Related guides

- [How to Use Do The Calculation Calculators: A Practical Step-by-Step Guide](https://dothecalculation.com/blog/site-guides/how-to-use-calculators) — Learn the fastest reliable workflow for using Do The Calculation calculators, reading results, checking formulas, and using save, print, share, and export actions correctly.
- [Understanding Calculator Formulas: How DTC Turns Inputs into Results](https://dothecalculation.com/blog/site-guides/understanding-calculator-formulas) — Understand how Do The Calculation formulas are presented, what the explanation blocks mean, and how to verify calculator logic before using a result in a real decision.

## Related calculators

- [Flight Carbon Footprint Calculator](https://dothecalculation.com/calculators/flight-carbon-footprint-calculator) — Estimate the CO2e emissions of a flight from distance, cabin class, round trip, and passenger count using DEFRA 2026 factors.
- [LLM Quantization VRAM & Perplexity Estimator](https://dothecalculation.com/calculators/llm-quantization-vram-calculator) — Estimate LLM serving memory footprint, factoring in model parameters, quantization precision, system overhead, and KV cache size.
- [Load Balancer Capacity & Concurrency Planner](https://dothecalculation.com/calculators/load-balancer-concurrency-calculator) — Estimate peak active TCP connections, SSL handshake capacity, and bandwidth requirements under peak load balancer traffic.
- [Redis Cluster Memory Sizing & Sharding Planner](https://dothecalculation.com/calculators/redis-cluster-memory-calculator) — Estimate Redis RAM footprint, cluster sharding layouts, replication buffers, and key-value overheads for memory capacity planning.
- [Ad Revenue Calculator](https://dothecalculation.com/calculators/ad-revenue-calculator) — Project display ad revenue from page views, RPM, fill rate, and annual traffic assumptions to forecast website monetization earnings.
- [Carbon Footprint Calculator](https://dothecalculation.com/calculators/carbon-footprint-calculator) — Estimate your annual carbon emissions from energy use, transportation, and waste to see your environmental impact and find ways to reduce it.

---

_This is an estimation model, not a measurement. It performs exact arithmetic on your inputs using the Sustainable Web Design model's constants — 0.30 kWh/GB of system energy, a 22% data-centre share, and a 494 gCO₂e/kWh global grid average — all of which are editable because all of them vary by region and have moved between successive versions of the underlying research. Attributing data centre, network, and device energy to a single pageview involves contested methodological choices, so treat results as order-of-magnitude figures for comparison and tracking rather than an audited footprint._

---

_Source: [Do The Calculation](https://dothecalculation.com/calculators/website-carbon-footprint-calculator). Quote freely with attribution and a link to this page._
