Author

Topic: What is the formula to calculate Bitcoin generation in 24h (Read 1250 times)

legendary
Activity: 1512
Merit: 1028
What's old is.. still old. Except the difficulty is not 3M any more, it's about 27 Billion now.

Here's the current bitcoin difficulty: http://blockexplorer.com/q/getdifficulty.

I reduced the formula down to: average BTC per Day = (megahashes per second / difficulty) * 1005.82838
Necro-bump. Due to the scheduled halfing of the block reward every four years, the new number is:

Average BTC per Day = (megahashes per second / difficulty) * 502.91419

New realistic examples using today's network stats

Radeon HD 5830:
300 Mhash/s at 3438908.96 difficulty = ( 300 / 3,439,000 ) * 502.91419 = 0.043 BTC per day
 or 1.32 BTC/month ≅ $16/month

BFL Single FPGA Miner:
832 Mhash/s at 3438908.96 difficulty = ( 832 / 3,439,000 ) * 502.91419 = 0.12 BTC per day
 or 3.65 BTC/month ≅ $45/month

full member
Activity: 224
Merit: 100
I don't know the math but I just google for mining calculator on google and it solves the issue.I recommend you do the same rather than sharpening up your mind

LoLz... I'm writing the code for a mining calculator, so needed the formula.
This would actually be a good way to test your program. If you were to input a certain hashrate into the website, the 24 hour BTC mined amount should be the same on your program.

The website that I used was http://www.bitcoinx.com/profit/ (site contains an ad, but I am not affiliated with them).
legendary
Activity: 2282
Merit: 1204
The revolution will be digital
I don't know the math but I just google for mining calculator on google and it solves the issue.I recommend you do the same rather than sharpening up your mind

LoLz... I'm writing the code for a mining calculator, so needed the formula.
legendary
Activity: 2282
Merit: 1204
The revolution will be digital

Thank U for providing the link. Though I was actually looking for the formula to find the no. of Bitcoin generated in 24h, I could derive that from this one. Smiley
Yeah - sorry. I just didn't want to screw it up and embarrass myself. Smiley

(24/(Difficulty * (2^32) / (HashrateInMHs*10^6)/60/60))*25 would do it, I'd think, though that could be reduced.

Well, I derived a reduced general one as follows...

27*n*m*10^11/(d*2^27)

where, n = Bitcoin generated per block
          m = Mining power in GHash/s
          d = Current Difficulty

member
Activity: 66
Merit: 10
I don't know the math but I just google for mining calculator on google and it solves the issue.I recommend you do the same rather than sharpening up your mind
donator
Activity: 1218
Merit: 1015

Thank U for providing the link. Though I was actually looking for the formula to find the no. of Bitcoin generated in 24h, I could derive that from this one. Smiley
Yeah - sorry. I just didn't want to screw it up and embarrass myself. Smiley

(24/(Difficulty * (2^32) / (HashrateInMHs*10^6)/60/60))*25 would do it, I'd think, though that could be reduced.
legendary
Activity: 2282
Merit: 1204
The revolution will be digital

Thank U for providing the link. Though I was actually looking for the formula to find the no. of Bitcoin generated in 24h, I could derive that from this one. Smiley
legendary
Activity: 2282
Merit: 1204
The revolution will be digital
If the current difficulty is x and my miner's hash power is y GHash/sec, then how do I calculate the bitcoin generated per 24h ? I mean what would be the formula ?
Jump to: