How to calculate
Multiply water mass, specific heat and temperature rise for heat delivered. Apply heater efficiency for energy input and divide by power for time.
Worked example
Use Mass (kg) 10 · Starting water temperature (°C) 20 · Target water temperature (°C) 60 · Heater input power (W) 2000 · Heater efficiency (%) 90. The result is ≈ 0.4648888888889 kWh.
Input and result notes
This estimate assumes a constant heat capacity and heater efficiency, with liquid water throughout.
OpenStax specific heat and calorimetry