Electricity costs roughly three to four times more per kilowatt hour than gas. That makes direct electric heating, where every unit of electricity becomes one unit of heat, significantly more expensive to run than gas if you are heating the whole building for the same number of hours.
Two things change the calculation. First, radiant electric systems such as infrared heaters warm people rather than the full air volume, so the total energy used can be much lower even though the unit price is higher. Second, heat pumps deliver two to three units of heat for every unit of electricity, which brings their running cost close to or below gas.
The right comparison depends on your building, how often you use it, and how long you need it warm. A church used for one service a week will have a very different cost profile from a community hub open five days.