Bitcoin Forum
April 26, 2024, 08:15:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How does one calculate return at given difficulty/hashrate  (Read 1285 times)
Biontic (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100

HodL tight, it's gonna get wild


View Profile WWW
May 14, 2014, 10:24:29 PM
 #1

I've been trawling and have turned up some interesting techniques for calculating various values, most offer the ability to calc the solo mining return, or the time to solve a block.

I am trying to calculate the daily return with known hashrate and difficulty. Appreciate any helpful input.

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.
 Therefore all progress depends on the unreasonable man." ~George Bernard Shaw
1714162549
Hero Member
*
Offline Offline

Posts: 1714162549

View Profile Personal Message (Offline)

Ignore
1714162549
Reply with quote  #2

1714162549
Report to moderator
1714162549
Hero Member
*
Offline Offline

Posts: 1714162549

View Profile Personal Message (Offline)

Ignore
1714162549
Reply with quote  #2

1714162549
Report to moderator
1714162549
Hero Member
*
Offline Offline

Posts: 1714162549

View Profile Personal Message (Offline)

Ignore
1714162549
Reply with quote  #2

1714162549
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
greenlion
Hero Member
*****
Offline Offline

Activity: 667
Merit: 500


View Profile
May 15, 2014, 03:06:36 AM
 #2

A convenient way is go to

http://blockexplorer.com/q/probability

That webservices link returns the probability of any given hash being successful based on the current difficulty.

Your hashrate expressed as hashes/s multiplied by 86400 seconds in a day tells you how many tries you get to solve a block every day.

If we call those P and H, based on the expected value theorem your average BTC income per day (not counting tx fees or pool fees, which could be estimated in if desired) --

P * H * 86400 * 25

P * H * 86400 itself basically tells you what fraction of a block on average per day you would win
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
May 15, 2014, 01:18:02 PM
 #3

To show you a real world example...

I have 400GH/s mining BTC.  Therefore, at current difficulty of 8,853,416,309 the formula is:

Difficulty * 2**32 / hashrate / 86400 = number of days to solve a block

So...

8,853,416,309 * 2**32 / 400000000000 / 86400 = 1100.26427966

This means that I can expect to earn 25BTC just about every 3 years.  To find out how much per day, you just take 25 and divide it by the number of days expected to solve the block:

25/1100.26427966 = 0.02272181BTC per day.

Hope this helps!

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Biontic (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100

HodL tight, it's gonna get wild


View Profile WWW
May 17, 2014, 02:36:02 PM
 #4

WOW - perfect, exactly what I was after - thank you both so much!

"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself.
 Therefore all progress depends on the unreasonable man." ~George Bernard Shaw
cryptcollector
Full Member
***
Offline Offline

Activity: 227
Merit: 100


View Profile
July 12, 2014, 10:00:17 AM
 #5

This is exactly what I've been looking for, but does this formula apply to all coins?

I mean if you change the coins per block will it apply to both sha and scrypt? Or does the 2**32 need to be changed for other coins too?

Follow me on Twitter: https://twitter.com/cryptcollector
BTC Donation Address: 1LxXw9CRunb5mJfa99aTWQMCqmbroVBUxi
R4v37
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
July 13, 2014, 07:37:43 AM
 #6

i dont calculate
i pray...  Cheesy

for me, i'm using calculator, like from alloscomp or bitwisdom
its just a theory, not the exact number, only luck can help you  Grin
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!