Bitcoin Forum
June 20, 2024, 04:32:24 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the formula to calculate Bitcoin generation in 24h  (Read 1251 times)
BitCoinDream (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1204

The revolution will be digital


View Profile
September 01, 2014, 12:50:28 PM
 #1

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 ?

Kluge
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1015



View Profile
September 01, 2014, 12:54:50 PM
 #2

https://en.bitcoin.it/wiki/Difficulty#How_soon_might_I_expect_to_generate_a_block.3F
BitCoinDream (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1204

The revolution will be digital


View Profile
September 01, 2014, 02:20:58 PM
 #3


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

Kluge
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1015



View Profile
September 01, 2014, 04:03:34 PM
 #4


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.
Hasher99
Member
**
Offline Offline

Activity: 66
Merit: 10


View Profile
September 01, 2014, 06:24:48 PM
 #5

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
BitCoinDream (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1204

The revolution will be digital


View Profile
September 01, 2014, 08:54:16 PM
Last edit: September 01, 2014, 09:35:41 PM by BitCoinDream
 #6


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


BitCoinDream (OP)
Legendary
*
Offline Offline

Activity: 2338
Merit: 1204

The revolution will be digital


View Profile
September 01, 2014, 08:55:19 PM
 #7

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.

confirmation120
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
September 01, 2014, 11:52:02 PM
 #8

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).
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
September 06, 2014, 08:12:02 AM
 #9

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

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!