Green software development: how to build eco-friendly applications that use less energy

Green software development is the practice of building and running software so that it does the same work with less electricity and less hardware, and uses cleaner electricity where it can. In a typical web or mobile app, the savings can come from three places: the servers and cloud resources behind it, the data it sends over the network, and the work it makes the user's device do.
This guide is for a founder or product owner who wants an app that uses fewer resources and costs less to run. It explains how to measure the footprint, what changes at each stage of the build, what to ask a development partner, and what the work costs.
What is green software?
The Green Software Foundation (GSF), an industry body that publishes standards for this field, calls green software carbon-efficient: it emits the least carbon possible. Sustainable software and eco-friendly software are other names used for the same idea. According to the GSF, only three kinds of action reduce the emissions of software:
- Energy efficiency: use the least electricity for the same work.
- Hardware efficiency: use the least embodied carbon, which is the carbon released when servers and phones are made and thrown away. In the cloud, one way to do that is to run the work on fewer servers and keep each one busier.
- Carbon awareness: do more work when and where the electricity is cleaner, and less when it is dirtier.
A green app is not the same as an app about the environment. A carbon calculator has a green purpose, but it can still waste energy. This guide is about how any app is built and run, whatever it does.
Why energy use matters for a business app
For a business app, waste in the software shows up twice: in the monthly cloud bill and in the electricity behind it. In the cloud, you pay for the servers you reserve, whether they are busy or not. The GSF's guide to energy efficiency notes that a computer's power use does not fall in proportion to its load, so running the work on a few busy servers takes less energy than spreading it over many quiet ones.
On phones, waste reaches your users directly. Apple's developer documentation points out that people can see in their battery settings which apps drain the battery, and may use such an app less or delete it.
Across the industry, data centers used about 485 TWh of electricity in 2025, according to the International Energy Agency's Key Questions on Energy and AI report. The agency expects that figure to roughly double to 950 TWh by 2030, around 3% of global electricity demand.
How to measure the carbon footprint of an application
Measure resource use first, then turn it into carbon. The GSF Software Carbon Intensity (SCI) specification, also published as the ISO/IEC 21031:2024 standard, gives the method. It adds the operational emissions, which are the electricity the software uses multiplied by the carbon intensity of the local grid, to a share of the embodied emissions of its hardware. Then it divides the sum by a unit of work you choose, such as one user, one order, or one API call.

Because the score is a rate, it lets you compare two releases of the same app even as the number of users grows. The specification also says that offsets do not reduce an SCI score: only using less hardware, less energy, or cleaner energy does.
You do not need a full SCI score to start. Each layer of an app already has a tool that shows its share:
| Layer | What to watch | Where to see it |
|---|---|---|
| Cloud account | Estimated emissions by service and region | AWS Sustainability console, Google Cloud Carbon Footprint, Carbon optimization in Azure |
| Kubernetes cluster | Energy use per container, pod, and node | Kepler, an open-source exporter for Prometheus |
| Servers and virtual machines | Energy use per process | Scaphandre, an open-source energy agent |
| Web pages | Page weight, the amount of JavaScript, the number of requests | Lighthouse and the browser's developer tools |
| Mobile apps | Battery use, in the foreground and background | Battery Usage pane in the Xcode Organizer, by app version; Power Profiler in Android Studio, on a test device |
The cloud figures are estimates, and they cover the provider's side only: they say nothing about the phones and laptops of your users. Before any carbon figure, use what your team already tracks, such as CPU and memory use, data transferred, and battery use. Each of them reflects part of the energy the app uses.
Green software development practices at each stage
Part of the energy an app will use depends on choices made before the first release: how many steps a task takes, how much data each screen loads, and how many servers run while nobody uses them. The practices below are grouped by the stage where each decision is made.

Design
- Fewer steps to finish a task: each extra screen that fetches data adds another set of requests to the server.
- Dark theme as an option: the Android documentation says a dark theme reduces power use by a significant amount, depending on the screen technology. Google's web.dev guide says dark mode saves a lot of energy on AMOLED screens; LCD screens are backlit, and the backlight stays on.
- Media sized for the screen: images in modern formats such as WebP, at the size they are shown, and no video that plays on its own.
- Content that works from the cache: screens that a user opens often can show saved data first and update it later, instead of loading everything again.
These choices cost least at the design stage, when changing a screen means editing a mockup rather than code.
“Sometimes a screen reloads its data often because of a product decision that nobody went back to: it was once meant to show live data, so the app keeps refreshing it. Before I change any code, I ask the product owner how fresh each screen really needs to be. If data a few minutes old is fine, the app can ask the server far less often.”
Alexander Storozhevsky, Lead developer at Ronas IT
Code
In code, look first for work that brings the user nothing. Check these places before you tune anything for speed:
- Polling: a screen that asks the server for news every few seconds keeps the network and the server busy. Push updates, for example over WebSockets, send data only when something changes.
- Scattered network requests: Apple's guide to battery use notes that when no app is making a network request, the phone can switch off its Wi-Fi and cellular radios. Grouping requests and using background sync let it do that more often.
- Repeated calculations: a report built again on every page view can be cached, and a heavy database query can be made lighter with an index or by loading only the fields the screen shows.
- Unused features and scripts: code that nobody uses still runs tests, takes up memory, and sometimes runs in the background. On the web, an unused script that the page still loads has to be downloaded, parsed, and run on the user's device. The GSF lists removing unused features among its recommendations.
- App size: every install and every update of a mobile app is downloaded again by each user. Spotify's engineers estimated in 2023 that 1 MB less in each of their two apps would cut about 560 tons of CO2 a year, and they say the conversion from energy to CO2 is approximate. Track the size of each release, and ask why it grew.
Infrastructure
In infrastructure, some of the moves below also lower the cloud bill:
- Right-sized servers: size servers by the load you measure rather than a worst-case guess, and check the size again after launch.
- Autoscaling: add capacity when traffic grows and remove it when traffic falls. In Kubernetes, the Horizontal Pod Autoscaler can add and remove copies of a service as the load changes; we configure it as part of our Kubernetes setup on Google Cloud. For Waku Waku, an app for anime fans, we set up the production environment on AWS so that its resources adjust to the current demand automatically.
- Serverless for bursts: functions that scale down to zero instances after traffic stops suit a load with long quiet periods. For a steady load, well-used containers can be as efficient; our guide to app hosting cost compares how serverless and containers are billed.
- A cleaner region: Google Cloud publishes the share of carbon-free energy for each region and marks the cleanest ones with a "Low CO2" label. Latency for your users and the rules on where data may be stored still come first.
- Flexible jobs at better times: backups, reports, and data processing that are not urgent can run when or where the grid is cleaner. The GSF calls this demand shifting.
- Storage with an end date: old logs, backups, and files that nobody opens still take up disks. Lifecycle rules delete them or move them to cheaper storage.
AI features
A feature that calls a language model does its heaviest work on the model provider's servers, so it does not show up in your own CPU charts. Google estimated in 2025 that the median text prompt in its Gemini Apps uses 0.24 watt-hours of energy. A feature that calls a model several times for one task, as an AI agent does, uses that energy several times over. The choices that lower the model bill also lower the energy:
- A smaller model where it is good enough: compare candidate models on the same set of real cases and keep the smallest one whose answers pass.
- Less text in and out: send the model only the passages a step needs, and ask for a short answer when a short answer will do.
- Answers generated once: a summary that many users read, such as one for a product page, can be generated when the content changes and stored, instead of generated on every view.
For a footprint figure, the Green Software Foundation ratified SCI for AI in late 2025, a version of the same per-unit method that covers an AI system from training to inference.
Operations after launch
An app that was efficient at launch can become less efficient over time: new features add requests, data grows, and traffic patterns change. Check the same numbers every month: cost per service, CPU and memory use, page weight, and battery use by app version. When one of them jumps after a release, treat it like a bug and find the change that caused it. Our guide to performance optimization explains when to check an app and which metrics to track.
How we build for lower resource use at Ronas IT
The defaults we set for cost and performance, from the cloud account to code review, also help limit the energy an app uses:
- Your account, reviewed changes: the account that hosts the app in production is yours, and the infrastructure is written as code with Terraform and Terragrunt, so every change to the servers goes through review.
- Cost visible from day one: when a product runs on Kubernetes, the cluster we set up ships with a cost monitor, so the team can see what the cluster costs from the start.
- Limits for each component: in our Kubernetes setup on Google Cloud, every component of the app gets resource requests and limits: the CPU and memory reserved for it and the most it may use. The limits keep a component's resource use from growing unchecked, and the cluster is sized to actual traffic.
- A recurring review after launch: our standard setup includes Grafana and Prometheus for monitoring, and a review of performance against cost is regular work, together with security patching.
- Audits on a schedule: page performance audits run from our CI pipelines on a timer, which catches a release that made pages slower even when nobody suspected it.
- Review that asks about performance: the checklist posted into every merge request includes a check that performance did not get worse.
A carbon figure for a report comes from the carbon tool of your cloud provider. Because production runs in your own account, you can see its carbon dashboard yourself.
What to ask a development partner about green software
A promise to build a green app is easy to make and hard to check, so ask questions whose answers you can verify: how the servers are sized, what you will see from the first release, and where any carbon figure comes from. Five questions are enough:
- Sizing: how will you size the servers, and what keeps resource use from growing unchecked after launch?
- Visibility: will we see resource use and cost from the first release?
- Ownership: whose cloud account will production run in, and who can see its carbon dashboard?
- Regressions: how will you notice a change that makes the app slower or more expensive to run?
- Method: if you promise a carbon figure, which tool will it come from, and what does it cover?
A partner who names an exact footprint for the whole app without a method is guessing.
“I would like to hear these questions before we set up anything. Our projects begin with the technical requirements and the budget, and that is where the answers belong. Once the servers are running, the same answer can mean redoing part of the setup.”
Roman Surikov, CEO at Ronas IT
How much green app development costs
Energy efficiency has no price line of its own at Ronas IT: the choices above are made while the scope is written, in design, and in development, and the price of each stage covers them. A new web app with its backend starts at $5,000 as a basic MVP, and so does a mobile app with its backend; design, project management, and testing are part of both prices. The analysis phase, which we recommend when the scope is not written yet, is optional and priced on its own.
| Situation | What it covers | Starting price |
|---|---|---|
| Before a new build whose scope is not written yet (optional) | Analysis phase: what users do, how the system is built, and a scope with its budget | $1,000-$2,000 and 1 week of work |
| A new web product | A web app and its backend on React and Laravel, with design and deployment set up | From $5,000, at least 2 weeks |
| A new mobile product | Cross-platform app for iOS and Android, with its design, and the backend API it talks to | From $5,000, at least 2 weeks; adding a web app on the same backend costs from 50% of that |
| An existing product | Analysis phase: a review of the code, the architecture, and the load, with a list of changes | $1,000-$2,000 |
| Infrastructure changes | Hosting, monitoring, and releases for one project; a larger right-sizing or autoscaling job is estimated by its scope | From $200 per month |
| After launch | Support: monitoring, fixes, and updates for one app, or from $2,000 for the whole system | From $1,000 per month |
On an existing product, the review gives guidance and does not include the changes: infrastructure changes are DevOps work, and code changes are development work with its own estimate. Cloud costs are not in these figures: you pay them to your provider, and they are the part that efficient infrastructure lowers. For a new product, the web app development or cross-platform app development page shows what the build includes.
When green changes are not worth it
A green change is not worth it when the work is large or the saving small, when money goes to offsets instead of using less energy, or when users pay for the saving with a worse product. Check a planned change against the four cases below before the team spends time on it.
- A small internal tool: an app used by twenty people on one small server has a tiny footprint. A week of engineering spent on it saves little.
- A rewrite for energy alone: moving a working product to a faster language is a large project with its own risks. Remove the waste first; it is cheaper and may be enough.
- Offsets instead of changes: offsets do not reduce the energy the app uses, and the SCI does not count them.
- A change that hurts users: forcing a dark theme or cutting a feature people need moves the work elsewhere. The user finds another way, and it may cost more energy than the feature did.
What to do next
- Choose the unit you will measure against, such as one active user or one order.
- Turn on the carbon tool of your cloud provider, and read the cost and CPU use of each service next to it.
- List the services or screens that use the most resources.
- Remove the work nobody needs in those first, then resize the servers to the load that is left.
- For a new product, write down the load, regions, and supported devices, in an analysis phase if the scope is not written yet.
Green software needs attention more than special tools. Look for waste first in the work an app does for no one: idle servers, requests whose results nobody reads, and stored data nobody opens.
First published 2026-01-28 by Roman Surikov, CEO at Ronas IT. Rewritten by Evgeny Leonov.
Planning a product that should be cheap to run and light on energy? Tell us what it does and who uses it, and you will get a rough estimate with the choices that drive it.





