A carbon emission calculator that takes into account the power consumption of device and server during browsing a web page.
See the paper
This calculator allows you to continuously analyze your web page in 4 steps.
Enter the URL, estimate monthly pageviews and first/returning visit ratio of the web page you want to analyze and click the ‘Calculate’ button.
The calculator fetches the data from the entered URL, applies various audits, calculates the page load size and calculates the energy consumption depending on the server location of the web page served.
The calculator tool then generates a report that includes the carbon footprint in terms of kg CO2, the amount of trees needed to offset the carbon footprint, and a list of recommendations to optimize the web page using Google Lighthouse metrics.
You can then take action and apply the recommended changes and optimizations to reduce the carbon footprint of the web page using the given documentation links.
This complete project is open source and licensed under MIT License. Feel free to make contributions, send pull requests or fork the current project.
See on GitHubThe calculator reports are based on various metrics, see details of these processes and the assumptions we made while designing this tool.