<p>This relationship can be seen visually, though it is a rough correlation.
In the all time chart (scroll down) you can see the orange being the price at Mt. Gox, and the grey line that steps up and down being the difficulty.</p>

<p>Summary: <em>AFTER</em> the price moves, the difficulty follow the same direction, ... lagging two to five weeks roughly:
 - <a href="http://tvori.info/bitcoin/charts" rel="nofollow">http://tvori.info/bitcoin/charts</a></p>

<p>The green line shows profitability, which is not part of your question but is the most important line in that chart so I wanted to point that out.</p>

<p>Incidentally, following the traders on the #bitcoin-otc marketplace gives the anecdotal evidence that </p>

<ul>
<li><p>When profitability is high miners are hoarding (they are saving their bitcoins and if adding capacity will do so using their cash to purchase)</p></li>
<li><p>When profitability is low miners are generally selling off.  They have electricity bills to pay, credit card bills for the hardware they purchased, etc, and with less profits they liquidate their holdings. This of course, increases price volatility -- especially without any decent Bitcoin derivative instruments (e.g., an options market).</p></li>
</ul>

CC BY-SA 3.0
2011-09-03T00:22:47.140Z
2011-09-03T00:22:47.140Z
Stephen Gornick
<p>Here you go!</p>

<ul>
<li><a href="https://docs.google.com/spreadsheet/ccc?key=0AmcTCtjBoRWUdHVRMHpqWUJValI1RlZiaEtCT1RrQmc" rel="nofollow noreferrer">https://docs.google.com/spreadsheet/ccc?key=0AmcTCtjBoRWUdHVRMHpqWUJValI1RlZiaEtCT1RrQmc</a></li>
</ul>

<p>Click the tab at the bottom Difficulty Versus Price for a chart view.</p>

<p>As-of Jul 4, 2012 here's those charts:</p>

<p><img src="https://i.sstatic.net/OkNoI.png" alt="enter image description here">
<img src="https://i.sstatic.net/NmKeP.png" alt="enter image description here"></p>

CC BY-SA 3.0
2012-07-10T22:23:41.380Z
2012-07-10T22:23:41.380Z
Stephen Gornick
<p>The purpose of the difficulty is to ensure a blockchain solution is produced roughly every ten minutes. If there is a lot of hashing power available then solutions will be found quickly which causes a correction to make it harder, or conversely to make it easier.</p>

<p>So the nub of the question is what causes variation in the hashing power? The short answer is the efficiency of solving the problem. This introduces other aspects:</p>

<ul>
<li>Cost of efficient solution finding systems (CPUs, GPUs, FPGAs, ASICs, supercomputers, mining trojans etc)</li>
<li>Level of altruism in the system</li>
</ul>

<p>Assuming that most miners are in it for the money rather than just being enthusiasts, then the primary concern is <strong>profit margin</strong>. So long as a miner can turn a profit that exceeds other available investments then he is rational to continue mining. He then faces the problem of maximising his profit margin above the break even point.</p>

<p>Once way is to find and exploit a super-efficient way of solving the hashing problem just a little ahead of other miners then his operating costs are reduced without unduly affecting the difficulty level. </p>

<p>Another is to reduce operating costs, perhaps by taking advantage of free electricity. He may even enjoy the side effect of heating his home during cold winter months, this reducing his operating costs further.</p>

<p>This would mean that <strong>hash rate would be invariant against mild fluctuations in the price of a bitcoin</strong>.</p>

<p>So, in short, it is individual profit margin to miners that drives the hash rate, not the naked price of a bitcoin.</p>

CC BY-SA 3.0
2011-09-02T19:52:11.753Z
Yes, difficulty should be a laggy indicator of price because of the time it takes to get new rigs online and the unwillingness to take them offline. It will probably also be "sticky up", as even if bitcoin plunges into unprofitable to mine category, there will be people who will still mine at a loss in the hopes that bitcoins will increase in value (even though in that case they are better off shutting the miners down and buying bitcoins with the money they are spending on electricity). A psychological thing.
lemonginger
CC BY-SA 3.0
2011-09-02T11:51:56.283Z
2011-09-02T11:51:56.283Z
Gary
<p>If you look at the <a href="http://bitcoin.sipa.be/">network hash rate</a>, you'll notice that it fell off after the <a href="http://bitcoinity.org/markets?theme=light">Bitcoin exchange rate</a> dropped.</p>

<p>This leads to the conclusion that price drives difficulty. A drop in price caused a drop in difficulty. I have noticed this same correlation on another occasion; about two months ago.</p>

<p>Also, the reverse is probably true. When the price soared to $30+; the network hash rate accelerated greatly. The higher prices clearly attracted miners.</p>

CC BY-SA 3.0
2011-09-29T10:11:27.697Z
please check out my website http://bitcoinx.com/charts/ where you have both difficulty and price in one diagram. Mining profitability is available, too.
kermit
CC BY-SA 3.0
2012-09-18T23:24:10.613Z
@phelix - Just what I was looking for. How did you compile the data for these charts?
makerofthings7
CC BY-SA 3.0
2011-09-02T10:01:18.463Z
2011-09-02T10:01:18.463Z
Alex Waters
<p>There have been claims that Bitcoin price and difficulty correspond. Is there empirical data to support or refute this?</p>

CC BY-SA 3.0
2011-09-02T09:08:17.777Z
I will second David on this, we have seen this recently with the price drop being followed by a decrease in network hashrate.
Alex Waters
CC BY-SA 3.0
2011-09-02T09:36:02.050Z
@Alex Waters: Well that's an answer then, isn't it? If a price drop is seen to be followed by a decrease in hash rate (which obviously will lead to a difficulty drop) then that's empirical data relating price to difficulty.
David Schwartz
CC BY-SA 3.0
2011-09-02T08:19:50.117Z
This doesn't answer your question, but: The logic for why this happens is not obvious. When the price of Bitcoins is higher, people are more likely to mine, especially people whose costs are close to their expected proceeds. The greater number of miners drives up the difficulty. Price drives difficulty, not the other way around. (If this is correct, it should be empirically verifiable -- which rises first?)
David Schwartz
<exchange-rate><difficulty>
Is there empirical data about a relationship between bitcoin price and difficulty?
ripper234
# Is there empirical data about a relationship between bitcoin price and difficulty?

(Asked by: username_0 on 2011-09-02)

There have been claims that Bitcoin price and difficulty correspond. Is there empirical data to support or refute this?

**Tags:** exchange-rate, difficulty

> **Comments:**
> **username_2**: This doesn't answer your question, but: The logic for why this happens is not obvious. When the price of Bitcoins is higher, people are more likely to mine, especially people whose costs are close to their expected proceeds. The greater number of miners drives up the difficulty. Price drives difficulty, not the other way around. (If this is correct, it should be empirically verifiable -- which rises first?)  
> **username_1**: I will second username_2 on this, we have seen this recently with the price drop being followed by a decrease in network hashrate.  
> **username_2**: @username_1: Well that's an answer then, isn't it? If a price drop is seen to be followed by a decrease in hash rate (which obviously will lead to a difficulty drop) then that's empirical data relating price to difficulty.  

---

## 4 answers

### Answer by username_1 on 2011-09-02. Score: 12 | Accepted answer

If you look at the [network hash rate](http://bitcoin.sipa.be/), you'll notice that it fell off after the [Bitcoin exchange rate](http://bitcoinity.org/markets?theme=light) dropped.

This leads to the conclusion that price drives difficulty. A drop in price caused a drop in difficulty. I have noticed this same correlation on another occasion; about two months ago.

Also, the reverse is probably true. When the price soared to $30+; the network hash rate accelerated greatly. The higher prices clearly attracted miners.

> **Comments:**
> **username_6**: please check out my website http://bitcoinx.com/charts/ where you have both difficulty and price in one diagram. Mining profitability is available, too.  
> **username_7**: @phelix - Just what I was looking for. How did you compile the data for these charts?  

---

### Answer by username_3 on 2011-09-03. Score: 6

This relationship can be seen visually, though it is a rough correlation.
In the all time chart (scroll down) you can see the orange being the price at Mt. Gox, and the grey line that steps up and down being the difficulty.

Summary: *AFTER* the price moves, the difficulty follow the same direction, ... lagging two to five weeks roughly:
- <http://tvori.info/bitcoin/charts>

The green line shows profitability, which is not part of your question but is the most important line in that chart so I wanted to point that out.

Incidentally, following the traders on the #bitcoin-otc marketplace gives the anecdotal evidence that

* When profitability is high miners are hoarding (they are saving their bitcoins and if adding capacity will do so using their cash to purchase)
* When profitability is low miners are generally selling off. They have electricity bills to pay, credit card bills for the hardware they purchased, etc, and with less profits they liquidate their holdings. This of course, increases price volatility -- especially without any decent Bitcoin derivative instruments (e.g., an options market).


---

### Answer by username_3 on 2012-07-10. Score: 1

Here you go!

* <https://docs.google.com/spreadsheet/ccc?key=0AmcTCtjBoRWUdHVRMHpqWUJValI1RlZiaEtCT1RrQmc>

Click the tab at the bottom Difficulty Versus Price for a chart view.

As-of Jul 4, 2012 here's those charts:

![enter image description here](https://i.sstatic.net/OkNoI.png)
![enter image description here](https://i.sstatic.net/NmKeP.png)


---

### Answer by username_4 on 2011-09-02. Score: 0

The purpose of the difficulty is to ensure a blockchain solution is produced roughly every ten minutes. If there is a lot of hashing power available then solutions will be found quickly which causes a correction to make it harder, or conversely to make it easier.

So the nub of the question is what causes variation in the hashing power? The short answer is the efficiency of solving the problem. This introduces other aspects:

* Cost of efficient solution finding systems (CPUs, GPUs, FPGAs, ASICs, supercomputers, mining trojans etc)
* Level of altruism in the system

Assuming that most miners are in it for the money rather than just being enthusiasts, then the primary concern is **profit margin**. So long as a miner can turn a profit that exceeds other available investments then he is rational to continue mining. He then faces the problem of maximising his profit margin above the break even point.

Once way is to find and exploit a super-efficient way of solving the hashing problem just a little ahead of other miners then his operating costs are reduced without unduly affecting the difficulty level.

Another is to reduce operating costs, perhaps by taking advantage of free electricity. He may even enjoy the side effect of heating his home during cold winter months, this reducing his operating costs further.

This would mean that **hash rate would be invariant against mild fluctuations in the price of a bitcoin**.

So, in short, it is individual profit margin to miners that drives the hash rate, not the naked price of a bitcoin.

> **Comments:**
> **username_5**: Yes, difficulty should be a laggy indicator of price because of the time it takes to get new rigs online and the unwillingness to take them offline. It will probably also be "sticky up", as even if bitcoin plunges into unprofitable to mine category, there will be people who will still mine at a loss in the hopes that bitcoins will increase in value (even though in that case they are better off shutting the miners down and buying bitcoins with the money they are spending on electricity). A psychological thing.  

---

