Skip to main content

Website carbon calculator: how green is your site?

Enter any URL to estimate your website's carbon footprint per page view, see a page weight breakdown, and get tips to make your site greener and faster.

Free performance toolHow it works

We fetch and analyze your page's HTML to estimate carbon footprint. No data is stored.

How the carbon calculation works

When you enter a URL, our scanner fetches the page HTML from edge servers and counts every resource tag - scripts, stylesheets, images, videos, and fonts. Each resource type is assigned a conservative average size to estimate total data transfer per page view.

The carbon formula is: CO₂ = data transfer (GB) × 0.81 kWh/GB × 442 gCO₂/kWh. We account for returning visitors who benefit from browser caching, using a 75/25 new-to-returning visitor split.

Website carbon benchmarks

GradeCO₂ per page viewWhat it means
A< 0.2gCleaner than ~90% of websites
B0.2 – 0.5gCleaner than average
C0.5 – 1.0gAverage - room for improvement
D1.0 – 2.0gHeavier than most
F> 2.0gVery heavy - significant optimization needed

What we check and why

Page Weight (40%)

Total estimated size, image count, script count, and video usage. Heavier pages transfer more data and consume more energy.

Efficiency (35%)

Modern image formats (WebP/AVIF), font optimization, and lazy loading. These reduce data transfer without changing content.

Green Hosting (25%)

Whether your site is hosted on a platform with renewable energy commitments (Cloudflare, Vercel, Netlify, Google Cloud, AWS).

The top 3 fixes for a greener website

1. Optimize images.Images are typically 50-70% of total page weight. Converting from JPEG/PNG to WebP or AVIF reduces file size by 25-50% with no visible quality loss. Add loading="lazy" to below-fold images to defer loading until needed.

2. Reduce JavaScript.JavaScript is the most expensive resource per byte - it must be downloaded, parsed, compiled, and executed. Audit third-party scripts (analytics, chat widgets, tag managers) and remove anything not essential.

3. Choose green hosting.The energy source powering your server matters. Hosting on a provider with renewable energy commitments (Cloudflare, Vercel, Google Cloud) can reduce the carbon intensity of every page view by up to 80%.

FAQ

Your questions, answered

Have a question about your project? Ask us on a free call, and we'll give you a straight answer.

How is website carbon footprint calculated?
We estimate total data transfer per page view by analyzing the HTML and counting resources (scripts, stylesheets, images, videos, fonts). Then we apply the formula: CO2 = data transfer (GB) × 0.81 kWh/GB × 442 gCO2/kWh. We account for returning visitors who benefit from browser caching, using a 75/25 new-to-returning visitor ratio.
What is a good CO2 per page view?
Under 0.2 grams is excellent (Grade A) - cleaner than about 90% of websites. Under 0.5 grams is good (Grade B). Between 0.5 and 1.0 grams is average (Grade C). Over 1 gram means your page is heavier than most and has significant optimization opportunities.
How do I reduce my website's carbon footprint?
The most impactful changes are: optimize images by converting to WebP or AVIF format (25-50% smaller), reduce JavaScript by removing unused scripts and bundling, enable lazy loading for below-fold images, use green hosting providers with renewable energy commitments, and enable browser caching.
Does website carbon footprint affect SEO?
Indirectly, yes. The same factors that increase carbon emissions - large page weight, unoptimized images, excessive JavaScript - also slow your site down. Google uses page speed as a ranking factor, so a lighter, greener site typically ranks better.
What is green hosting?
Green hosting refers to web hosting providers that use renewable energy sources or purchase carbon offsets to neutralize their energy consumption. Providers like Cloudflare, Vercel, Google Cloud, and AWS have made significant renewable energy commitments.

Tell us about your project

Tell us what you're building, when you need it, and what's in the way. A senior engineer will reply within one business day with honest next steps, even if that means we're not the right fit.

  • Your project is led by a senior engineer, not a junior and not AI on its own
  • AI speeds up the build. Every change is reviewed and tested before it ships
  • Best for MVPs, SaaS products, automation, and fixing apps that keep breaking
Browse all performance tools