Author

Topic: NEW: Bitcoin Mining Calculator with Difficulty Change Adjusted Calculations (Read 17307 times)

newbie
Activity: 56
Merit: 0

LOL - I put in some numbers and every single miner currently available for sale and pre-order will never make ROI even with free electricity except for Cointerra IV miner - but that's assuming it is delivered on time.

I used 30% increment on difficulty.  Now it may not go up 30% every increment, but the last 2 have been over 30% and it's irrelevant if the last few cycles are near 30% if your devices is already down to mining satoshis.

I'm going to sit on my sit on the sidelines with my 300GH and wait for the dust to settle.  My 2011 GPU farm has already made more than coins than any ASIC could provide (short of shelling out 7 digits).

welcome to the new world as bitcoin increase prices $400 plus , now all of miners out there should give you a return investment within a few months.
legendary
Activity: 924
Merit: 1000
Thumbs up from me too!

Very well done, keep up the good work!
DrG
legendary
Activity: 2086
Merit: 1035

LOL - I put in some numbers and every single miner currently available for sale and pre-order will never make ROI even with free electricity except for Cointerra IV miner - but that's assuming it is delivered on time.

I used 30% increment on difficulty.  Now it may not go up 30% every increment, but the last 2 have been over 30% and it's irrelevant if the last few cycles are near 30% if your devices is already down to mining satoshis.

I'm going to sit on my sit on the sidelines with my 300GH and wait for the dust to settle.  My 2011 GPU farm has already made more than coins than any ASIC could provide (short of shelling out 7 digits).
member
Activity: 84
Merit: 10
Kaptain,  if you would like a better host for your calculator script (for free.. ish) let me know.

All that I ask is that I can run a version of your script on my site without reference to yours. Smiley


I will be opening http://www.weminebitcoin.co.uk as soon as I receive my Cointerra IV boxes, but in the mean time I require a calc to use on my site.

G
newbie
Activity: 100
Merit: 0
Thought this might be helpful to the new members with the uptick in the BTC price.  Smiley
newbie
Activity: 100
Merit: 0
The sites IP address was changed by my ISP.

sorry if this broke anybody's links or bookmarks.

All is up and running now.
newbie
Activity: 100
Merit: 0
Added an Electricity / BTC Price break even calculation to the calculator.

I figured this would be helpful to somebody with all the talk of quitting due to low BTC prices.
newbie
Activity: 100
Merit: 0
Added a graph to the calculator so you can see your money. Smiley
newbie
Activity: 14
Merit: 0
Checking it out right now, this looks really good.
member
Activity: 94
Merit: 10
newbie
Activity: 100
Merit: 0

@KaptainBlaZzed: Your calculator agrees 100% with mine on it's calculations.

Kodiac, I like the program.

I am glad our calculations tie.
I am in the process of adding a graph to my calculator.

hero member
Activity: 616
Merit: 524
Bitvest & 777Coin Developer
Looks good.  Now we need someone to write one that does do a conservative estimate of additional difficulty increases.  Difficulty increases aren't completely predictable, but writing an estimator that uses the exponential curve that best fits previous increases would be a good start.

Nah.

What someone really needs to do is have a graphing function, and after about a months extrapolation it says something like this:
I've made my own mining calculator with a profits and Bitcoin mining graph. My calculator factors in all the same information as the OP's. My source code is also available for download.
http://forum.bitcoin.org/index.php?topic=27550.0


@KaptainBlaZzed: Your calculator agrees 100% with mine on it's calculations.
member
Activity: 84
Merit: 10
Awesome, I hope the calculations are correct!
newbie
Activity: 100
Merit: 0
Added error checking for all user entries.

and if any of the data GETS fail, the calculator will now still function.
newbie
Activity: 100
Merit: 0
Made a few changes to the script, Enjoy!!  Cool
hero member
Activity: 602
Merit: 500
Looks good.  Now we need someone to write one that does do a conservative estimate of additional difficulty increases.  Difficulty increases aren't completely predictable, but writing an estimator that uses the exponential curve that best fits previous increases would be a good start.

I would gladly write that in if somebody would help me with the mathematical calculations to do this.

Anybody have an idea on how to do this?

Take a look at this.
https://forum.bitcoin.org/index.php?topic=13339.msg183351#msg183351

The thing is, it is not like figuring out an exact Difficulty in the future, but a probability distribution. This is what you need to determine risk vs. reward for an investment. Figure out what your risk tolerance is and then decide how much you are willing to risk.

It is not OK to do this: "Price and Difficulty will be X two months from now so I can calculate my return from that."

But it is OK to do this: "There is a 50% probability that Price and Difficulty will be above/below level X two months from now. That is/is not an acceptable risk to me."

The numbers you linked to look interesting, but could you explain the calculations and how you got the numbers?

A good place to start is to look at the correlation between a moving average of price with Difficulty. I think you will find that a 10-12 week moving average will give you a fairly linear correlation. You can apply Pearson to give you an objective measure of the degree of correlation. http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient

Once you have that you will find that Difficulty can be approximated by multiplying the moving average of price (the one you found to have a high degree of correaltion) with some factor. Let's say you use a factor that is in between all the ratios of Difficulty to the moving average of price going back as far as your data goes. You will find that these ratios fall on a more or less normal probability distribution. http://en.wikipedia.org/wiki/Normal_distribution So, you can characterize the likelihood that the actual Difficulty will fall so far from your projection.

There are several methods you can use from there to dial in results that give you less variance and a more reliable outcome. One method I use is to max out the degree to which the moving average of price is correlated with Difficulty by applying a custom weighting to the average. You could try to go for accuracy and optimize it by minimum average deviation. It will occasionally give you some spectacularly close hits, but this is statistically fragile. That is, it can produce more outliers. So, what I prefer to do is to minimize the expected maximum deviation. This method specifically targets outliers to help ensure your projection falls within a certain range of probability. It won't always give you the most accurate result, but it will give you more reliable results with in an advertised range.

All this can give you pretty reliable results for a projection that is one re-target out, like I have been getting. But the real trick is to try and figure out what Difficulty is likely to be going further out. This is because future Difficulty is highly dependent on what the exchange rate is going to be. What I have been experimenting with to try and go out farther with the projection, without trying to determine what price is going to be, is to simply drop terms from the moving average going forward. But the shorter the average gets the less correlated it gets and the more variance it produces. So I have to use a bunch of tricks to try and keep the variance down. One of those is to apply a weighting to the truncated average, another is to optimize it to reduce outliers as described above. Yet another is to eliminate outliers by discarding earlier data samples that do not correlate well. But this is a slippery slope, because it can make your data more statistically fragile and actually produce more outliers.

The next step, which I am still working on, is to come up with meaningful way to do actual price projections. And more importantly, to attribute a meaningful probability distribution to price projections. This is a work in progress.

I wish there were some kind of simple formula to use but as soon as you put something like that together it breaks. I continually re-evaluate and update the models I use as more data comes in.

An interesting project, and I feel one that has had some impressive results, but I wonder if your goals aren't a bit too lofty. Modelling human greed/ambition/deceit and so on has a pretty poor track record (consider the billions poured into the biggest brains on wall street). If you enjoy it though, more power to you, and I'll be subbing your projection thread to watch with interest your progress.
member
Activity: 84
Merit: 10
If you need help with anything, let me know, I'd love to help out. I was working on www.thevir.us/bitcoin before I got busy at work and realized that scraping a ton of hardware sites will require far too much work to gather prices. I don't do estimates on difficulty, but it shouldn't be too much work to implement given the available resources and past difficulty jumps.
newbie
Activity: 100
Merit: 0
Looks good.  Now we need someone to write one that does do a conservative estimate of additional difficulty increases.  Difficulty increases aren't completely predictable, but writing an estimator that uses the exponential curve that best fits previous increases would be a good start.

I would gladly write that in if somebody would help me with the mathematical calculations to do this.

Anybody have an idea on how to do this?

Take a look at this.
https://forum.bitcoin.org/index.php?topic=13339.msg183351#msg183351

The thing is, it is not like figuring out an exact Difficulty in the future, but a probability distribution. This is what you need to determine risk vs. reward for an investment. Figure out what your risk tolerance is and then decide how much you are willing to risk.

It is not OK to do this: "Price and Difficulty will be X two months from now so I can calculate my return from that."

But it is OK to do this: "There is a 50% probability that Price and Difficulty will be above/below level X two months from now. That is/is not an acceptable risk to me."

The numbers you linked to look interesting, but could you explain the calculations and how you got the numbers?
hero member
Activity: 609
Merit: 500
Looks good.  Now we need someone to write one that does do a conservative estimate of additional difficulty increases.  Difficulty increases aren't completely predictable, but writing an estimator that uses the exponential curve that best fits previous increases would be a good start.

I would gladly write that in if somebody would help me with the mathematical calculations to do this.

Anybody have an idea on how to do this?

you could take previous difficulties, and the time it took between them, and extrapolate possible future difficulties.
newbie
Activity: 6
Merit: 0
Anybody have an idea on how to do this?
Yes, it's very simple. All you need is a dice.  Cool
newbie
Activity: 100
Merit: 0
Looks good.  Now we need someone to write one that does do a conservative estimate of additional difficulty increases.  Difficulty increases aren't completely predictable, but writing an estimator that uses the exponential curve that best fits previous increases would be a good start.

I would gladly write that in if somebody would help me with the mathematical calculations to do this.

Anybody have an idea on how to do this?
hero member
Activity: 602
Merit: 500
Looks good.  Now we need someone to write one that does do a conservative estimate of additional difficulty increases.  Difficulty increases aren't completely predictable, but writing an estimator that uses the exponential curve that best fits previous increases would be a good start.

Nah.

What someone really needs to do is have a graphing function, and after about a months extrapolation it says something like this:

legendary
Activity: 1762
Merit: 1011
Looks good.  Now we need someone to write one that does do a conservative estimate of additional difficulty increases.  Difficulty increases aren't completely predictable, but writing an estimator that uses the exponential curve that best fits previous increases would be a good start.
legendary
Activity: 1272
Merit: 1012
howdy
Well done, it looks very good on my end!
hero member
Activity: 536
Merit: 505
+1
sr. member
Activity: 546
Merit: 253
Nice & simple yet useful. Good job  Wink
newbie
Activity: 100
Merit: 0
I have created a new "All In One" Bitcoin Mining Calculator that takes into account the difficulty change when calculating the numbers. Grin

www.kaptain.me/btc_calc.php

In addition, i have taken the unique features of each Bitcoin calculator currently on the net and put them all conveniently in one calculator.

They Include:
  • Basic Bitcoin Production Calculator
  • Estimated Difficulty Change Production Calculator
  • Electricity Cost Calculator
  • Return on Hardware Investment Calculator
  • Time Frame Profit Calculator
  • MHashas to Maintain Current Production After the Difficulty Change Calculator

I have double checked all the calculations, but if you think something is not calculating correctly, please let me know.

The calculations are based on the known estimated difficulty change.  
They do not extrapolate and account for the unknown future difficulty changes because in theory after the difficulty change we should be producing 6 blocks an hour and a difficulty change would not be needed.

My host is a little  slow, please be patient.

Thanks,
Jump to: