Bitcoin Forum
June 25, 2024, 12:34:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mining Profitability Calculations  (Read 1006 times)
CryptoJunky (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile WWW
May 27, 2013, 08:15:56 PM
 #1

So I decided to put together a mining profitability calculator (for fun/pratice, not going online) and have a couple of questions regarding the equations commonly used. I've found equations both here and on the Bitcoin stack exchange, but the simplest was on BFL's forum. My question is regarding what some of the constants in the below equation represent:

Quote
(H x B / D) x (60 x 60 x 24 x 65535 x 10^6 / 2^48)

where H = your hash rate in Mhash/s, B = block reward in BTC & D is the current (or expected) difficulty. The BTC figures have been rounded DOWN to 8 decimal places and the USD rounded DOWN to 2 decimal places.

source

I understand that 60 x 60 x 24 is the number of seconds in the day, but am still unclear on where 65535, 10^6, and 2^48 come into play. Any help is appreciated.

KS
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


View Profile
May 27, 2013, 09:15:23 PM
 #2

So I decided to put together a mining profitability calculator (for fun/pratice, not going online) and have a couple of questions regarding the equations commonly used. I've found equations both here and on the Bitcoin stack exchange, but the simplest was on BFL's forum. My question is regarding what some of the constants in the below equation represent:

Quote
(H x B / D) x (60 x 60 x 24 x 65535 x 10^6 / 2^48)

where H = your hash rate in Mhash/s, B = block reward in BTC & D is the current (or expected) difficulty. The BTC figures have been rounded DOWN to 8 decimal places and the USD rounded DOWN to 2 decimal places.

source

I understand that 60 x 60 x 24 is the number of seconds in the day, but am still unclear on where 65535, 10^6, and 2^48 come into play. Any help is appreciated.

1/(2^48 - 65535) = avg time to find a block (as I remember it) also used as ≃2^32. (65535 is removed as it represents the seed block)

couldn't find the link anymore but there was a thread on "bitcoin.stackoverflow.com" with the formula you're looking for (i.e. not the one you're using).

Happy hunting Smiley
jspielberg
Sr. Member
****
Offline Offline

Activity: 490
Merit: 255



View Profile
May 27, 2013, 09:40:25 PM
 #3

https://en.bitcoin.it/wiki/Difficulty
CryptoJunky (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250



View Profile WWW
May 27, 2013, 10:56:47 PM
 #4

So I decided to put together a mining profitability calculator (for fun/pratice, not going online) and have a couple of questions regarding the equations commonly used. I've found equations both here and on the Bitcoin stack exchange, but the simplest was on BFL's forum. My question is regarding what some of the constants in the below equation represent:

Quote
(H x B / D) x (60 x 60 x 24 x 65535 x 10^6 / 2^48)

where H = your hash rate in Mhash/s, B = block reward in BTC & D is the current (or expected) difficulty. The BTC figures have been rounded DOWN to 8 decimal places and the USD rounded DOWN to 2 decimal places.

source

I understand that 60 x 60 x 24 is the number of seconds in the day, but am still unclear on where 65535, 10^6, and 2^48 come into play. Any help is appreciated.

1/(2^48 - 65535) = avg time to find a block (as I remember it) also used as ≃2^32. (65535 is removed as it represents the seed block)

couldn't find the link anymore but there was a thread on "bitcoin.stackoverflow.com" with the formula you're looking for (i.e. not the one you're using).

Happy hunting Smiley

Awesome, thanks for the explanation, that's what I was looking for.

Amph
Legendary
*
Offline Offline

Activity: 3206
Merit: 1069



View Profile
May 28, 2013, 07:24:38 AM
 #5

wasn't just
hash rate x number of hours per day x block value/difficulty?
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!