calculate_india_electricity_bill
Calculate your Indian electricity bill with slab-based tariffs. Supports preset DISCOMs (BESCOM, MSEB, BSES) or custom slab rates.
Instructions
Calculate an Indian electricity bill using progressive slab tariffs. Use a built-in DISCOM preset ('BESCOM' for Karnataka, 'MSEB' for Maharashtra, 'BSES' for Delhi) or supply custom slabs. The constants BESCOM_RESIDENTIAL, MSEB_RESIDENTIAL, BSES_RESIDENTIAL are importable from calcnook.countries.india.electricity_bill for custom use. Example queries: 'electricity bill for 250 units in Bangalore (BESCOM)', 'Delhi BSES bill for 400 units with ₹100 fixed charge'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units_consumed | Yes | Total electricity consumption in kWh for the billing period. | |
| preset | No | Pre-built DISCOM tariff: BESCOM (Karnataka), MSEB (Maharashtra), BSES (Delhi). | |
| slabs | No | Custom slab list: each item is [upper_units, rate_per_unit]. Last upper_units can be 'inf'. | |
| fixed_charges | No | Monthly fixed / demand charges in ₹. | |
| fuel_surcharge_per_unit | No | Fuel adjustment charge per unit in ₹/kWh. | |
| electricity_duty_percent | No | State electricity duty as a percentage of energy + fuel charges. |