<p>The problem is that you're not using the correct conversions:</p>

<blockquote>
  <p>The reason I am dividing difficulty by <code>100</code> above is so I can keep using my hashing power in TH/s</p>
</blockquote>

<p>There are 1,000 GH to a TH.</p>

<blockquote>
  <p>difficulty / hashrate[GH/s] = time[s]</p>
</blockquote>

<p>difficulty and hashrate stand in the <a href="https://bitcoin.stackexchange.com/q/5556/5406">following ratio</a>:</p>

<pre><code>difficulty = hashrate[H/s] / 7158388.055
</code></pre>

<p>Note that the formula uses hashes not gigahashes.</p>

CC BY-SA 3.0
2017-06-20T14:52:29.817Z
2017-06-20T14:52:29.817Z
Murch
<p>I am gathering some btc details from <a href="https://www.coinwarz.com/v1/api/documentation" rel="nofollow noreferrer">coinwarz api</a> as follows</p>

<p>Bitcoin difficulty: <code>711697198174</code></p>

<p>Bitcoin reward: <code>12.5</code></p>

<p>My personal hash rate: <code>1.425 TH/s</code></p>

<p>I then try to calculate  amount of seconds it would take me to mine 1 coin, so</p>

<pre><code>(711697198174 / 100) / 1.425 = 499436630297
</code></pre>

<p>The reason I am dividing difficulty by <code>100</code> above is so I can keep using my hashing power in TH/s</p>

<p>After this I try to calculate how many coins I can mine per day:</p>

<pre><code>86400 / 499436630297 * 12.5 = 0.0002162436502
</code></pre>

<p>where <code>86400</code> is number of seconds in 24h. I get <code>0.0002162436502</code> coins per day, however every calculator I used online returns value similar to <code>0.00050348</code> coins per day.</p>

<p>I think this <code>0.00050348</code> is correct value, but I don't understand where my calculation is wrong</p>

<mining-profitability><mining-theory><hashpower>
Inconsistent mining profitability calculations
Ilja
# Inconsistent mining profitability calculations

(Asked by: username_0 on 2017-06-20)

I am gathering some btc details from [coinwarz api](https://www.coinwarz.com/v1/api/documentation) as follows

Bitcoin difficulty: `711697198174`

Bitcoin reward: `12.5`

My personal hash rate: `1.425 TH/s`

I then try to calculate amount of seconds it would take me to mine 1 coin, so

```
(711697198174 / 100) / 1.425 = 499436630297

```

The reason I am dividing difficulty by `100` above is so I can keep using my hashing power in TH/s

After this I try to calculate how many coins I can mine per day:

```
86400 / 499436630297 * 12.5 = 0.0002162436502

```

where `86400` is number of seconds in 24h. I get `0.0002162436502` coins per day, however every calculator I used online returns value similar to `0.00050348` coins per day.

I think this `0.00050348` is correct value, but I don't understand where my calculation is wrong

**Tags:** mining-profitability, mining-theory, hashpower


---

## 1 answers

### Answer by username_1 on 2017-06-20. Score: 1 | Accepted answer

The problem is that you're not using the correct conversions:

> The reason I am dividing difficulty by `100` above is so I can keep using my hashing power in TH/s

There are 1,000 GH to a TH.

> difficulty / hashrate[GH/s] = time[s]

difficulty and hashrate stand in the [following ratio](https://bitcoin.stackexchange.com/q/5556/5406):

```
difficulty = hashrate[H/s] / 7158388.055

```

Note that the formula uses hashes not gigahashes.


---

