Current difficulty 7,255,634,282,020,860 hashes per block.
2MH/watt * 60 * 60 * 1000 = 7200000 MH / kWh
7,255,634,282,020,860 / ( 7200000 * 1000 * 1000 ) = 1007 kWh per block. 9 cents per kWh = $90.63 per block. $90.63 / 50 = ~$1.80 per coin.
So if I'm pulling ~1550 from the wall for rigs and cooling and getting ~3120 Mh/s, I'm at ~2MH/watt right?
Why does your difficulty number have more commas than the national debt? At $0.149/kWh what price am I better off buying coins?
It isn't difficulty. It is what difficulty represents. Number of Hashes to make a block.
Difficulty * 2^32 = number of hashes per block.
Another way of looking at your numbers:
7,255,634,282,020,860 / (3120 * 1000 * 1000 * 60 * 60 ) = 646 hours.
It will take you 646 hours to find a block.
646 hours * 1.550kW = 1,001 kWh per block. (neto just about 1 MWh)
Every block you find consumes 1,001 kWh of electricity.
10,01 kWh * $0.149/kWh = $149.
When you mine you are essentially buying a block for $149. It doesn't matter if you buy it from the market or buy it from mining either way you are buying it.
$149/50 = $2.98.
If BTC are selling for MORE than $2.98 you should mine.
If BTC are selling for LESS than $2.98 you should buy.
In the winter you likely can reduce that by 1/3. The energy consumed heats the house. It likely isn't as cheap/efficient as using natural gas so we shouldn't consider it "free heat" but maybe "subsidized heat". In the winter (if your rigs are in heated part of your house) maybe use $2.00 as the breakpoint. In the summer if you need to AC to cool your house that adds about 30% additional electrical cost making your break even more like $4.00
So getting super complex. The most efficient method to acquire coins.
In summer. Price above $4 MINE. Below $4 BUY.
In fall/spring. Price above $3 MINE. Below $3 BUY. *if not needing to use AC or heat
In Winter. Price above $2 MINE. Below $2 BUY.
Of course when difficulty changes you will need to adjust but only the first number in the equation changes. Number of hashes per block is simply difficulty * 2^32.