How to Calculate The Profit of Mining BitcoinCash BCH

So you’ve got a system that you want to try mining some BitcoinCash (BCH). The first question you’re going to as is “Will it make any money?”.

That’s a great first question and one that’s pretty easy to answer. All you need is two pieces of information and you can get a quick (rough) answer. This information is:

  1. How quickly can the system generate cryptocurrency?
  2. How much electricity does my system use to do it?

Once you have that information you can use the excellent Dodgecoin mining profit calculator at https://www.coinwarz.com to do the math using the current market values to give you an answer.

Benchmark the speed of your rig

Head over to my Benchmark Your Linux Bitcoin or LiteCoin Mining Rig With BFGMiner article to get some benchmark numbers.

After you have run BFGMiner in benchmark mode you will have the number of hashes per second your system can crunch. The more hashes per second your system can crunch the more profit it will generate.

You can get a figure for either SHA256 or scrypt hashes. Bitcoin Cas uses the same hash at Bitcoin, SHA256, as the default so you can just leave the behchmark mode in auto i.e. -S auto.

Next, let’s work out how much electricity your system uses to generate those hashes.

How much electricity are you using?

There are two ways to measure how much electricity your system is using. You can:

  1. Physically measure it with electricity usage meter like the Kill A Watt.
  2. Measure from the “inside” with Powertop software utility.

Using a physical device will give you an accurate result but Powertop will give you a quick number right now.

First, install powertop on your Linux system.

Next, fire up the benchmark tool to load up the GPU and all the CPU cores. When that’s running start powertop:

sudo powertop

The total power information is shown on theDevice Stats page. Get there by hitting TAB three times. The Device Stats page gives you a total power usage figure on the top line and a break down by process under that.

Here’s my laptop running BFGMiner in benchmark mode:

System baseline power is estimated at 42.1 W

Power est.    Usage     Device name
  32.6 W    576.5%        CPU core
  7.56 W    576.5%        CPU misc
  1.43 W    576.5%        DRAM

It uses 42.1 W while the BFGMiner benchmark was running.

Now, you’ve got the power use and the hash rate you can work out your profit.

Calculate your profit

Head over to https://www.coinwarz.com/mining/dogecoin/calculator. Fill in the boxes as follows:

  1. Enter your hash rate.
  2. Enter your power use.

Next, set your cost of your electricity:

You can get this from your electricity bill or from your electricity provider’s website.

Finally, hit the Calculate Mining Profit button:

and find out what your profits are going to be!