Bitcoin Forum
July 22, 2018, 09:42:48 AM
 News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 Home Help Search Donate Login Register
 Pages: [1]
 Author Topic: What is the formula to calculate Bitcoin generation in 24h  (Read 1170 times)
BitCoinDream
Legendary

Offline

Activity: 1302
Merit: 1000

The revolution will be digital

 September 01, 2014, 12:50:28 PM

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 ?

1532252568
Hero Member

Offline

Posts: 1532252568

Ignore
 1532252568

1532252568
 Report to moderator
1532252568
Hero Member

Offline

Posts: 1532252568

Ignore
 1532252568

1532252568
 Report to moderator
1532252568
Hero Member

Offline

Posts: 1532252568

Ignore
 1532252568

1532252568
 Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1532252568
Hero Member

Offline

Posts: 1532252568

Ignore
 1532252568

1532252568
 Report to moderator
1532252568
Hero Member

Offline

Posts: 1532252568

Ignore
 1532252568

1532252568
 Report to moderator
1532252568
Hero Member

Offline

Posts: 1532252568

Ignore
 1532252568

1532252568
 Report to moderator
Kluge
Donator
Legendary

Offline

Activity: 1218
Merit: 1011

 September 01, 2014, 12:54:50 PM

https://en.bitcoin.it/wiki/Difficulty#How_soon_might_I_expect_to_generate_a_block.3F
BitCoinDream
Legendary

Offline

Activity: 1302
Merit: 1000

The revolution will be digital

 September 01, 2014, 02:20:58 PM

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.

Kluge
Donator
Legendary

Offline

Activity: 1218
Merit: 1011

 September 01, 2014, 04:03:34 PM

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.
Yeah - sorry. I just didn't want to screw it up and embarrass myself.

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

Offline

Activity: 66
Merit: 10

 September 01, 2014, 06:24:48 PM

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
Legendary

Offline

Activity: 1302
Merit: 1000

The revolution will be digital

 September 01, 2014, 08:54:16 PM

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.
Yeah - sorry. I just didn't want to screw it up and embarrass myself.

(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
Legendary

Offline

Activity: 1302
Merit: 1000

The revolution will be digital

 September 01, 2014, 08:55:19 PM

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

Activity: 224
Merit: 100

 September 01, 2014, 11:52:02 PM

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

Activity: 1512
Merit: 1000

 September 06, 2014, 08:12:02 AM

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