Well, I've been checking it - it's only an order-of-magnitude estimate - but I think this is right - can you spot me?
(in round numbers) The hash rate of the bitcoin network is around 14,000,000 terahashes per second.
An S9 does about 14 terahashes per second and uses about 1,400 Watts of power. (ignoring less efficient miners)
So that means the bitcoin network is using the hashing equivalent of about 1,000,000 of the S9 antminers. (assumes most-efficient case?)
So a million S9's use 1,400 million Watts of power, or 1.4 GigaWatts of power.
The annual energy use for bitcoin is therefore (1.4 GigaWatts) * (8760 hours in a year) = 12,264 GigaWatt-hours or ~12 TeraWatt-hr of energy.
The total annual electric energy generated by humanity is about 24,000 TeraWatt-hours. (wikipedia)
Thus bitcoin uses 0.05% of all electrical energy generated if only the most efficient miners are used.
Allowing for inefficient miners, we'll say 0.1% - 1% of all electricity generated. (to nearest order of magnitude)
I just calculated, based on the global hashrate, that bitcoin mining uses between 0.1% (if all miners are S9's) and 1% (if a mix of newer and older hashers are in use) of all the electric energy generated by mankind.
maybe recheck your math?
I get the number for all electricity of 20.9 PWh (20.9X10^15)
hash rate is 16000000 Th/s, which is the equivalent of 1.185 mil S9 (boy, it's a lot).
That many S9 consume about 1.54Gwh (1.54X10^9)
1.54/20900000 [PW converted to Gw]=0.73X10^10-7
so, mining currently consumes less than 1/10000000 of all earth electricity or 0.00001%.
If being generous and assume that 50% comes from less productive macines, then 0.00002%