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.
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
| Grade | CO₂ per page view | What it means |
|---|---|---|
| A | < 0.2g | Cleaner than ~90% of websites |
| B | 0.2 – 0.5g | Cleaner than average |
| C | 0.5 – 1.0g | Average - room for improvement |
| D | 1.0 – 2.0g | Heavier than most |
| F | > 2.0g | Very 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%.
Try these next
Browse all performance tools- Website Speed TestCheck your site performance in seconds
- Free Website GraderScore your whole site in seconds
- Image Compressor & OptimizerShrink JPG, PNG & WebP images
- Mobile-Friendly TestIs your site ready for phones?
- Website Down CheckerIs it down for everyone, or just you?
- Website Tech Stack CheckerWhat is this site built with?
Guides on this topic
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?
What is a good CO2 per page view?
How do I reduce my website's carbon footprint?
Does website carbon footprint affect SEO?
What is green hosting?
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
