How this calculation works
Apply a lower-block price up to a threshold and a marginal price above it.
Formula
First block = min(usage, threshold). Price only the excess at the second rate.
Worked example
Period use (kWh) = 450 · First tier limit (kWh) = 300 · First tier price per kWh = 0.12 · Additional kWh price = 0.2 · Fixed fee = 5.
With these inputs, bill before tax is 71 currency units. second-block energy is 150 kWh.
Assumptions and limits
Use metered energy or average operating power. Billing rules, taxes, minimum charges and adjustments vary by provider.