An open-source utility used by thousands
A slab-accurate electricity-bill calculator for Bangladesh, with the core algorithm published as an open-source library.
- Role
- Creator & Developer
- Year
- 2022
- Hosting
- Static/edge hosting, with the algorithm published on npm
- Live
- ebill.info.bd



- BERC
- Slab-accurate tariffs
- npm
- Open-source library
- i18n
- Localised for its users
Overview
Households in Bangladesh had no simple, trustworthy way to understand and check their electricity bills. E-Bill calculates monthly bills with slab-aware accuracy across all distribution companies and consumer categories.
The core calculation logic is open-sourced as an npm library, so other developers can build on it, and the whole project is public on GitHub.
What the build involved
- Built a focused, accessible calculator with a clean UI and full localisation.
- Extracted the slab-based calculation logic into a reusable open-source npm library.
- Open-sourced the full project on GitHub for the community.
Challenges & solutions
Challenge
Electricity tariffs are slab-based and vary by company and category.
Solution
A tested calculation engine that models BERC slabs precisely, packaged so it can be reused and verified.
Challenge
The audience is non-technical and multilingual.
Solution
A simple, accessible interface with localisation, so anyone can check a bill in their own language.
Available for new work
Want results like these?
Tell me what you are building. I will reply with a clear scope and a fixed quote.