Bitcoin Forum
May 07, 2024, 05:35:38 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to calculate BTC/day from hash rate and difficulty?  (Read 2177 times)
haploid23 (OP)
Legendary
*
Offline Offline

Activity: 812
Merit: 1002



View Profile WWW
August 11, 2011, 09:07:00 PM
 #1

there are a bunch of bitcoin calculators online to project profit after plugging all numbers. so i'm just curious, what's the equation to figure out how many coins you theoretically get using the difficulty and hash rate?

1715060138
Hero Member
*
Offline Offline

Posts: 1715060138

View Profile Personal Message (Offline)

Ignore
1715060138
Reply with quote  #2

1715060138
Report to moderator
1715060138
Hero Member
*
Offline Offline

Posts: 1715060138

View Profile Personal Message (Offline)

Ignore
1715060138
Reply with quote  #2

1715060138
Report to moderator
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715060138
Hero Member
*
Offline Offline

Posts: 1715060138

View Profile Personal Message (Offline)

Ignore
1715060138
Reply with quote  #2

1715060138
Report to moderator
1715060138
Hero Member
*
Offline Offline

Posts: 1715060138

View Profile Personal Message (Offline)

Ignore
1715060138
Reply with quote  #2

1715060138
Report to moderator
1715060138
Hero Member
*
Offline Offline

Posts: 1715060138

View Profile Personal Message (Offline)

Ignore
1715060138
Reply with quote  #2

1715060138
Report to moderator
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
August 11, 2011, 09:27:38 PM
 #2

(Hash Rate) / (Difficulty * 2^32) = blocks found per unit time, ignoring changes in difficulty, stales, and other complications.

Current Difficulty is 1888786.705...
So, multiply that by 2^32 and you get 8.1122E+15.

Say you get 250 Mhash/sec, or 250,000,000 hashes per second.  You should then expect to find 0.0000000308 blocks per second, or 0.00266 blocks per day.  Multiply by about 50 BTC per block, and you have 0.1331 BTC per day.

If you are using a pool (and you probably should be), don't forget to subtract the pool fee.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
phillipsjk
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Let the chips fall where they may.


View Profile WWW
August 11, 2011, 09:30:47 PM
 #3

The odds of processing the next block: (your (or your pool's) hash rate)/(everybody's hash rate)

One block is supposed to be generated every 10 minutes on average. At the moment, each block mints 50 coins. Within 2 years, that will drop to 25 coins.

If you are solo mining, the any "BTC/day" formula is fairly pointless. You can get lucky and process a block right away, or you can get unlucky and never process a block as the network hash rate outpaces your hash rate.

With pooled mining, people pool thier hash rate to get a more reliable, but smaller pay-out. This has some risk, as the mining pools must be trusted not to tamper with the network.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
haploid23 (OP)
Legendary
*
Offline Offline

Activity: 812
Merit: 1002



View Profile WWW
August 12, 2011, 07:01:14 AM
 #4

(Hash Rate) / (Difficulty * 2^32) = blocks found per unit time
thanks, this is exactly what i was looking for  Cheesy



If you are solo mining, the any "BTC/day" formula is fairly pointless. You can get lucky and process a block right away, or you can get unlucky and never process a block as the network hash rate outpaces your hash rate.
yup, i understand that, but i don't think it's all pointless. i'm guessing you think it doesn't apply because the variance for solo mining is too large since it's all based on probability. but statistically, solo mining and pool mining should give the same output if you were to be mining for an eternity, and also assuming there's no pool fees, downtime, etc.

that formula should still apply for a theoretical output, even for solo mining

Departure
Sr. Member
****
Offline Offline

Activity: 1204
Merit: 288


View Profile
August 12, 2011, 09:43:29 AM
 #5

(Hash Rate) / (Difficulty * 2^32) = blocks found per unit time, ignoring changes in difficulty, stales, and other complications.

Current Difficulty is 1888786.705...
So, multiply that by 2^32 and you get 8.1122E+15.

Say you get 250 Mhash/sec, or 250,000,000 hashes per second.  You should then expect to find 0.0000000308 blocks per second, or 0.00266 blocks per day.  Multiply by about 50 BTC per block, and you have 0.1331 BTC per day.

If you are using a pool (and you probably should be), don't forget to subtract the pool fee.

Hmm my decimal is ending up in the wrong place and therefor not calculating out very well

1888786.705 * (2^32) = 8112277127094599.68

250000000 / 8112277127094599.68 = 3.0817487628105370016654421548356e-8

43200 * 3.08174876281 = 133131.546553392
Meni Rosenfeld
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1054



View Profile WWW
August 12, 2011, 10:03:43 AM
 #6

I discuss this, among other things, in Analysis of Bitcoin pooled mining reward systems.

1EofoZNBhWQ3kxfKnvWkhtMns4AivZArhr   |   Who am I?   |   bitcoin-otc WoT
Bitcoil - Exchange bitcoins for ILS (thread)   |   Israel Bitcoin community homepage (thread)
Analysis of Bitcoin Pooled Mining Reward Systems (thread, summary)  |   PureMining - Infinite-term, deterministic mining bond
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!