Eastern Iowa, US currency:
Natural gas, 65 cents per 100 ccf, conveniently this is also almost exactly 100,000 btu for purposes of calculations.
Electricity, 11.18 cents per KW. With 3413 btu per kilowatt, this would cost $3.27 to produce 100,000 btu of heat.
Of course the efficiency of the appliance could vary greatly - ground source heat pumps are effectively more that 100 percent efficient, gas water heaters have quite a bit of loss up the center chimney and none of the forced induction water heaters seem to use a condensing cycle, so are not much better than the cheap ones.
Does anyone know of a water heater with a secondary condenser? the specs for gas water heaters seem to indicate that none are above 70 percent? Electric water heater efficiency is close to 100 percent - and there are heat pump models. They would be great in Florida when you are using free heat and even taking the load off your central air, but up north they just pick up heat that you are already paying for!!