Bitcoin Forum
March 23, 2017, 02:20:50 PM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: ? Formula to Calculate Share calc speed given Hash rate / diff?  (Read 9235 times)
Fuzzy
Hero Member
*****
Offline Offline

Activity: 560



View Profile
February 09, 2012, 08:00:11 PM
 #1

I need to figure out how to calculate how many shares I'll submit with my 3.1 GHs in 24 hours. Anyone know the formula?
1490278850
Hero Member
*
Offline Offline

Posts: 1490278850

View Profile Personal Message (Offline)

Ignore
1490278850
Reply with quote  #2

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

Posts: 1490278850

View Profile Personal Message (Offline)

Ignore
1490278850
Reply with quote  #2

1490278850
Report to moderator
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 09, 2012, 08:59:14 PM
 #2

The average amount of time (in seconds) to find a single share is:

Code:
difficulty * 2^32 / hashrate

In that equation, difficulty is the difficulty of a share and hashrate is your hash rate in hashes per second.  A day has 86,400 seconds in it, so the number of shares you'll find in 24 hours is:

Code:
86,400 / (difficulty * 2^32 / hashrate)



Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Fuzzy
Hero Member
*****
Offline Offline

Activity: 560



View Profile
February 09, 2012, 11:47:11 PM
 #3

the number of shares you'll find in 24 hours is:
Code:
86,400 / (difficulty * 2^32 / hashrate)

EDIT: Somethings not right there:

Using 1,400,000 for difficulty, and 3,200,000,000 hashes (3200 Mhash) I get 0.045980726 shares???

in Excel:
Code:
=86400/(1400000*(2^32)/3200000000)


THANKS! I feel I need to add

"If you're going for that degree of accuracy, it should be noted that difficulty 1 does in fact not correspond to 2^32 hashes, but to 2^48/65535 (4295032833 instead of 4294967296). – Pieter Wuille Sep 17 '11 at 12:21"
deepceleron
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
February 11, 2012, 07:29:29 PM
 #4

The difficulty of a share is 1. It takes ~2^32 hashes on average to find a share.

How many shares per day at 3.2Ghash/s:
2^-32 shares/hash * 3.2*10^9 hash/sec * 86400 sec/day = 64372.0 shares/day

How many BTC per day at difficulty 1379647:
64372 shares/day * (1/1379647) blocks/share * 50.0 BTC/block = 2.3329 BTC/day

(all calculations done with more precision than I've shown.)

I'm starting to think I've already answered every question that can be asked...https://bitcointalk.org/index.php?topic=21541.msg272356#msg272356 (and interesting that the difficulty is the same as it was back in June).

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!