Bitcoin Forum

Bitcoin => Mining => Topic started by: stakhanov on June 06, 2011, 09:44:27 AM



Title: How much is a MegaHash/s worth?
Post by: stakhanov on June 06, 2011, 09:44:27 AM
Is there a website or service that computes how much a megahash/s will earn you daily on average, taking into account the current difficulty?

Thanks!


Title: Re: How much is a MegaHash/s worth?
Post by: SomeoneWeird on June 06, 2011, 09:45:33 AM
Is there a website or service that computes how much a megahash/s will earn you daily on average, taking into account the current difficulty?

Thanks!

http://www.alloscomp.com/bitcoin/calculator.php


Title: Re: How much is a MegaHash/s worth?
Post by: kakobrekla on June 06, 2011, 11:09:08 AM
http://smpake.com/etc/btc/charts.php


Title: Re: How much is a MegaHash/s worth?
Post by: Sukrim on June 06, 2011, 11:11:25 AM
http://smpake.com/etc/btc/charts.php
Could you do this for a longer timeframe too? Something along the lines of "since January"...

Also: On which data is this based on?


Title: Re: How much is a MegaHash/s worth?
Post by: sirky on June 06, 2011, 11:36:38 AM
Probably the difficulty and the spot price  :P


Title: Re: How much is a MegaHash/s worth?
Post by: kakobrekla on June 06, 2011, 11:38:30 AM
I started to collect data maybe 2 weeks ago. I will be adding new graphs soon.

Current difficulty is parsed from block explorer http://blockexplorer.com/q/getdifficulty, USD weighted price is taken from bitcoin charts (based on mtgox) http://bitcoincharts.com/about/markets-api/ and conversion to EUR is done with google calculator api.

This is what Keefe posted somewhere in the forums (historic data):

http://www.shrani.si/f/1H/EB/4I0yWVok/2/14ahshd.png


Title: Re: How much is a MegaHash/s worth?
Post by: organofcorti on June 06, 2011, 12:20:25 PM
Is there a website or service that computes how much a megahash/s will earn you daily on average, taking into account the current difficulty?

Thanks!

If you know how to use R:
Code:
coins.currentdiff<-function(days,hashrate)
{
block.val<-50
current.difficulty<-scan(url("http://blockexplorer.com/q/getdifficulty"))
(block.val*10^6*days*24*3600*hashrate)/((current.difficulty)*2^32)
}
if not, amount of coins from a given rate of Mhps:
Code:
block value * 10^6 * hashrate (mhps) /(current difficulty*2^32)

In the case of 1 Mhps and 1 second (ie 1 Mhash), and current difficulty and block value:
Code:
52 * 10^6 * 1/(434882.7*2^32) = 2.676936e-08 coins.

This will of course change as difficulty and block value change, and keep in mind these are average expected values. Also there is a history of difficulty somewhere, but i can't find linky.

Hope this helps.