Electricity is 100% efficient in a resistance heater, in that all the electricity used is turned to heat. However, it is considerably more expensive per unit heat than natural gas, even though you may only get 70-90% efficiency with your boiler or furnace. A heat pump can be even more efficient, though. An electric heat pump can be more than 100% efficient, in that each watt of electricity can be used to move more than 1 watt of heat into your home using the heat pump.