Electricity Cost Calculator

Compute electricity cost from power rating, hours of use and the unit tariff, including daily, monthly and yearly totals, plus tiered and peak-valley time-of-use bill comparisons.

📐 计算公式
电器电费(本页代码口径,功率 P 为瓦特须先转千瓦):电费 = P÷1000×h×rate(元,rate 为元/kWh);联动量:耗电量 = P÷1000×h(kWh)、单位时间成本 = 电费÷h(元/h)。校验:三项输入空值守卫,空值即提示;功率与电价不得为负,否则提示并中止。用电时长 h=0 为合法零值:耗电量与电费均为 0,单位时间成本因时长为 0 标「不适用」,不得除零出无穷值。判据:无固定分级,电费与功率、时长、电价线性相关,功率减半电费即减半。

输入功率 P(瓦)、用电时长 h(小时)与电价,求电费;h=0 时电量与电费为 0。

Formula & Standard References

Item Formula / Rule Source / Standard
Electricity cost formula Cost equals consumption in kilowatt-hours times the tariff, accumulated by tier where applicable. IEC 62052-11:2020, electricity metering equipment
Metering accuracy Energy meters are classified by accuracy class; a higher class means smaller measurement error. IEC 62053-21:2020, particular requirements for static meters
Demand charge Commercial users are often billed separately on maximum demand, independent of total consumption. IEC 62053 series & utility tariff practice
📌 计算说明
  • 先换算为千瓦时再计费。
  • 1.5kW×24h×0.6 → 21.6 元。