PHPackages                             sustainableweb/wp-carbon-calculator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sustainableweb/wp-carbon-calculator

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

sustainableweb/wp-carbon-calculator
===================================

Effortlessly calculate any page’s carbon impact and performance score from the WordPress admin. Real-time results, no reliance on the Website Carbon API — works instantly on any site with minimal setup.

1.3.9(2mo ago)10[1 issues](https://github.com/sustainablewebdev/wp-carbon-calculator/issues)GPL-3.0-or-laterPHP

Since Oct 10Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/sustainablewebdev/wp-carbon-calculator)[ Packagist](https://packagist.org/packages/sustainableweb/wp-carbon-calculator)[ Docs](https://wordpress.org/plugins/website-carbon-calculator/)[ RSS](/packages/sustainableweb-wp-carbon-calculator/feed)WikiDiscussions 1.0.x Synced today

READMEChangelog (9)Dependencies (4)Versions (10)Used By (0)

WordPress Carbon Calculator
---------------------------

[](#wordpress-carbon-calculator)

The WordPress Carbon Calculator, drawing inspiration from the acclaimed Website Carbon Calculator algorithm 2.0 and leveraging The Green Web Foundation's co2.js, is a powerful plugin tailored to empower website owners in their quest to assess and minimize their carbon footprint.

This user-friendly tool allows you to effortlessly calculate the CO2 impact of any page on your website directly from your WordPress admin panel. Unlike other solutions, this plugin does not rely on the Website Carbon API, allowing real-time calculations without delays, instantly reflecting changes made in the back office.

Whether you're a sustainability-conscious blogger, a corporate website manager, or anyone committed to environmental responsibility, the WordPress Carbon Calculator is your essential solution for environmental impact assessment.

### Key Features

[](#key-features)

- **Precision Carbon Calculations**: Built upon the foundation of the Website Carbon Calculator algorithm 2.0 and powered by The Green Web Foundation's co2.js, our plugin delivers highly accurate CO2 impact calculations by incorporating the latest environmental data.
- **Intuitive Interface**: The WordPress Carbon Calculator offers an intuitive and user-friendly interface within your WordPress admin area, simplifying the process of accessing and analyzing environmental data.
- **Front-End Presentation**: Showcase the computed CO2 impact prominently on your website's front end, allowing you to engage and educate your website visitors.
- **Data from Google Page Speed**: The plugin gathers loaded data efficiently using Google Page Speed, ensuring you have access to comprehensive performance metrics to make informed decisions.

### Installation

[](#installation)

#### Via Composer

[](#via-composer)

```
$ composer require wpackagist-plugin/website-carbon-calculator
```

#### Via GitHub

[](#via-github)

1. Download the plugin as a ZIP file from the GitHub repository.
2. Upload the ZIP file to your WordPress site by navigating to the Plugins section in your WordPress admin panel and clicking on "Add New."

#### Getting Started

[](#getting-started)

1. Activate the `Website Carbon Calculator` plugin.
2. Navigate to "Settings" and select "Carbon Calculator."
3. Enter the necessary information to configure the plugin.

**Note:** The carbon calculator functionality is not available in a local development environment.

### Interface

[](#interface)

**Minimal Impact – This page has mostly text, resulting in a low CO₂ footprint.**

[![Summary](/.wordpress-org/screenshot-1.png)](/.wordpress-org/screenshot-1.png)

**Higher Impact – Adding a YouTube video increases the page’s CO₂ emissions.**

[![Calculator](/.wordpress-org/screenshot-2.png)](/.wordpress-org/screenshot-2.png)

**Advanced Data – View bytes transferred, boot-up time, and key performance metrics.**

[![Tools](/.wordpress-org/screenshot-3.png)](/.wordpress-org/screenshot-3.png)

**Taxonomy Support – Analyze CO₂ impact directly on term pages.**

[![Settings](/.wordpress-org/screenshot-4.png)](/.wordpress-org/screenshot-4.png)

**Instant Insights – See a page’s CO₂ impact with green, orange, or red flags.**

[![Settings](/.wordpress-org/screenshot-5.png)](/.wordpress-org/screenshot-5.png)

**Dashboard Widget – View average CO₂ impact and performance scores at a glance.**

[![Settings](/.wordpress-org/screenshot-6.png)](/.wordpress-org/screenshot-6.png)

**Advanced Tools – Compute emissions for special pages with dedicated tools.**

[![Settings](/.wordpress-org/screenshot-7.png)](/.wordpress-org/screenshot-7.png)

**Customizable Settings – Fine-tune calculations for accurate CO₂ impact analysis.**

[![Settings](/.wordpress-org/screenshot-8.png)](/.wordpress-org/screenshot-8.png)

### How to display it in your templates ?

[](#how-to-display-it-in-your-templates-)

Integrating the Carbon Calculator into your website's front-end templates is a breeze and allows you to display the calculated carbon emissions directly to your site visitors.

In your front-end template files (such as your theme's template files or custom templates), you can access the carbon calculation method by using `get_calculated_carbon()`. This method is available on any page of your site.

Here's an example of how you can use the code:

```

This page emits g eq. CO₂

```

The code snippet will display the calculated carbon emissions on the front-end of your website for your site visitors to see. It provides valuable information about the environmental impact of the current page.

By following these simple steps, you can raise awareness about the carbon footprint of your web content and encourage your audience to make more sustainable choices.

Feel free to customize the code or incorporate it into your templates as needed to fit your website's design and layout.

Remember, this feature adds a powerful environmental dimension to your website, aligning it with eco-conscious principles and contributing to a greener digital landscape.

### Roadmap

[](#roadmap)

Here's a glimpse of what's coming:

- translations
- ecoindex.fr algorithm support
- better settings/tools interface

### Licence

[](#licence)

GPL 3.0 or later

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance64

Regular maintenance activity

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~101 days

Total

10

Last Release

82d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/81323b7397ffbf98d565129cd7331941cf2d81e30a2bea4fab3f1b43e59375ff?d=identicon)[sustainablewebdev](/maintainers/sustainablewebdev)

---

Top Contributors

[![jerome-barbato](https://avatars.githubusercontent.com/u/4919596?v=4)](https://github.com/jerome-barbato "jerome-barbato (39 commits)")

---

Tags

carbon-footprintco2environmentpagespeed-insightssustainabilitywebsite-impactwordpresswordpress-pluginpluginwordpressenvironmentsustainabilitycarbon-footprintCO2website impact

### Embed Badge

![Health badge](/badges/sustainableweb-wp-carbon-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/sustainableweb-wp-carbon-calculator/health.svg)](https://phpackages.com/packages/sustainableweb-wp-carbon-calculator)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
