Author

Topic: ? Formula to Calculate Share calc speed given Hash rate / diff? (Read 11117 times)

legendary
Activity: 1512
Merit: 1036
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://bitcointalksearch.org/topic/m.272356 (and interesting that the difficulty is the same as it was back in June).
hero member
Activity: 560
Merit: 500
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"
hero member
Activity: 737
Merit: 500
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)


hero member
Activity: 560
Merit: 500
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?
Jump to: