kWh Cost Calculator Formula
Understand the math behind the kwh cost calculator. Each variable explained with a worked example.
Formulas Used
All-In Rate
all_in_rate = effective_rateVariable Rate
variable_rate = usage_rateFixed Charge Share
fixed_pct = fixed_charges / total_bill * 100Projected Annual Cost
annual_cost = total_bill * 12Variables
| Variable | Description | Default |
|---|---|---|
total_bill | Total Electric Bill(USD) | 150 |
kwh_used | Electricity Used(kWh) | 900 |
fixed_charges | Fixed Monthly Charges(USD) | 15 |
effective_rate | Derived value= total_bill / kwh_used | calculated |
usage_rate | Derived value= (total_bill - fixed_charges) / kwh_used | calculated |
How It Works
How to Calculate True kWh Cost
Your true electricity cost includes more than just the generation charge.
Formula
All-In Rate = Total Bill / kWh Used
Variable Rate = (Total Bill - Fixed Charges) / kWh Used
Bill Components
Worked Example
A $150 electric bill for 900 kWh with $15 in fixed charges.
total_bill = 150kwh_used = 900fixed_charges = 15
- 01All-in rate: $150 / 900 = $0.1667/kWh
- 02Variable rate: ($150 - $15) / 900 = $0.1500/kWh
- 03Fixed charge share: $15 / $150 = 10%
- 04Annual cost: $150 * 12 = $1,800
Ready to run the numbers?
Open kWh Cost Calculator