The ultimate guide to cryptocurrency mining: Part 3
How much does crypto mining cost and is it profitable in Australia?
This is the third part of a blog series on cryptocurrency mining. Part one covers an introduction to encryption and decryption. Part two discusses the blockchain and mining. Here, we will get down to the business end of things and discuss how to calculate the actual costs and returns you could make from mining cryptocurrency. This piece will focus on bitcoin, with next week's article focusing on other currencies.
Calculating costs and returns: Method 1
There are two main costs to consider when mining cryptocurrency - the cost of the hardware itself and the cost of electricity. There are two different types of mining rigs - those that use off-the-shelf graphics cards to crunch their data and those that use specifically designed units called ASICs (application specific integrated circuits). The cryptocurrency Ethereum can be mined using regular graphics cards, whereas the hashing algorithm used by bitcoin requires the use of ASICs. No matter which type of rig you choose to build, the basics of computer hardware hold true: The more powerful the hardware, the more expensive the set-up cost.
Once the outlying costs have been covered, electricity costs need to be considered. As mining requires high-powered equipment to run continuously it can consume a serious amount of energy. The more mining units you have, the more chance you have of verifying a block and receiving currency as a reward. However, more machines use more electricity. Therefore, the cost of electricity per hour in your city needs to be subtracted from the value of currency earned per hour to calculate profit.
Every piece of electrical equipment on the market comes with an energy consumption rating in watts. To calculate the cost of electricity any mining rig uses, simply add up the watts rating for each piece of equipment. Fair warning here - our first equation follows. Thankfully, it’s a simple one. To calculate the cost of running a rig, we can use the following equation (all dollar costs in this article are in AUD$):
Cost per day = ((P x 24) / 1000) * E
- The total power consumption of all mining equipment in Watts (P)
- Local cost of electricity per kWh (E)
You will find the cost of electricity per kWh on your electricity bill. Currently, Energy Australia charges around 32c per kWh in NSW at peak times. If you don’t have a bill handy, you can look up the Energy Australia prices for your state.
If you were to purchase an Antminer S9 ASIC (1300W), the cost to run it for a full day in NSW would be:
(((1300 x 24) / 1000) * $0.32 ) = $9.98 per day
Calculating the amount of bitcoin earned by a ming rig in a given time is a fairly straightforward process. To do it, we need to use a previously mentioned metric called difficulty.
At any given moment, there will be a certain complexity in producing a valid key and verifying a block. Over time, difficulty increases and the reward gained for successfully mining a block decreases. When the first bitcoin block was mined, the difficulty was set to 1 and the reward was 50 bitcoin. As of mid-2018, bitcoin difficulty has risen to over 4 trillion, with a reward of only 12.5 bitcoins per block.
To calculate the amount of bitcoin mined per second with a mining set-up, we need to know the following:
- Number of coins awarded per block successfully processed (R)
- Current mining difficulty (D) - both of these are properties of the actual cryptocurrency being mined.
- Hashrate of mining equipment (H)
The formula is fairly straightforward:
(R x H) / (D x 2^32) = coins mined per second
The hashrate for an Antminer S9 ASIC is 14,000 MH/s, which is 14,000,000,000,000 (H) hashes per second.
Bitcoin currently awards 12.5 coins per block (R).
If the current bitcoin difficulty were just over 4 trillion (4,022,059,196,164 - D), the coins earned per hour would be:
(12.5 x 14,000,000,000,000) / (4,022,059,196,164 x 2^32) = 0.000000010130 coins per second.
To calculate the total value of coins mined per day, simply multiply the above by the number of seconds in a day (86,400) and the current value of one coin (V).
Rolling these two formulas into one and subtracting the electricity cost formula from above, we can calculate the return per day:
((R x H) / (D * 2^32)) * 86,400 * V - ((P x 24) / 1000) * E = Australian dollars earned per day
Our Antminer S9 ASIC mines 0.000000010130 coins per second.
If bitcoin was currency worth $12,100, the total value of coin mined per day is therefore:
0.000000010130 x 86,400 x 12100 = $10.59.
As the cost of running the equipment is $9.98, this would result in a 61c profit per ASIC per day.
As can be seen in this example, the costs of electricity are often too high in Australia to justify mining cryptocurrency. The current cost of an Antminer S9 is around $2,000, so you would need to leave it running for nearly nine years before it started to turn a profit in NSW.
Real world examples
Below is a table with some real-world examples of bitcoin mining equipment, with the return per day calculated as above, using the standard cost of electricity in NSW of 32c/kWh and bitcoin value of $12,100:
|Mining device||Type||Cost per day||Coin value per day||Profit/day|
|AMD Radeon Rx 580||GPU||$1.42||$0.00||-$1.42|
|Nvidia GeForce GTX 1070||GPU||$1.15||$0.00||-$1.15|
The top two devices are graphics cards. As mentioned previously, these are very bad at mining bitcoin. Due to the low hash rates, the coin earned per day rounds down to zero. The Antminer S9 and Ebit E10 have much higher hash rates and turn a (very tiny) profit.
What if electricity costs were cheaper? Here’s the same table re-calculated using the AUD equivalent of the average cost of a kWh in China (12c/kWh):
|Mining device||Type||Cost per day||Coin value per day||Profit per day|
|AMD Radeon Rx 580||GPU||$0.53||$0.00||-$0.53|
|Nvidia GeForce GTX 1070||GPU||$0.43||$0.00||-$0.43|
With lower electricity costs, profits are higher. While both of the graphics cards still make a loss, both of our ASIC units now turn a comfortable profit. This is why bitcoin mining is not very profitable in Australia.
So there you have it - there’s no point in starting a mining rig in Australia. You can’t say you weren’t warned!
Check back next week for part four. If you want updates on when the next part of this blog goes live, you can follow me on Twitter.
Graham Cooke's Insights Blog examines issues affecting the Australian consumer. It appears regularly on finder.com.au.
- Unprecedented measures: Australia’s coronavirus economic stimulus and how it affects you
- “Sick to the bottom of my stomach”: one man’s horror experience of identity theft in Australia
- Australian economy, housing market and recession forecast for 2020
- The temperature trap: Air conditioning hacks Aussies are using to keep costs low
- RBA Cut: 7 predictions for October 2019