Author

Topic: calculating expected number of BTC for a mining rig (Read 2112 times)

member
Activity: 84
Merit: 10
couple here:

https://en.bitcoin.it/wiki/Profitability_Calculator

don't know why, but i like the first one best.  could use updated with some from this thread.
member
Activity: 111
Merit: 100
donator
Activity: 2058
Merit: 1007
Poor impulse control.
Assuming no mining pool fees, you can use this:

Code:
#!/bin/bash
MHASHESPERSEC="$1"
HASHESPERSEC=`echo 'scale=2;' ${MHASHESPERSEC} '*1000000' | bc`
AVGTOWIN=`wget -q -O - http://blockexplorer.com/q/hashestowin`
AVGSECSTOWIN=`echo ${AVGTOWIN} '/' ${HASHESPERSEC} | bc -l`
AVGHOURSSTOWIN=`echo ${AVGSECSTOWIN} '/' 3600 | bc -l`
echo At $MHASHESPERSEC 'MegaHash/s', the expected BTC gain for 24h is: `echo 'scale=8;' '(50*24) / '${AVGHOURSSTOWIN} | bc -l`

Use it as follows:

Code:
bash ./pps.sh 7000
At [b]7000[/b] MegaHash/s, the expected BTC gain for 24h is: 4.69913750

If the op doesn't notice th extra '0' you snuck in there, he might get a bit excited about what he could earn Wink
sr. member
Activity: 402
Merit: 250

That’s a good one but it fails to include the pool fee so it’s a bit off for those people that pay a fee. 

Many pools don't charge a fee, and taking away the very tiny fee of those which has is trivial. You want to calculate based on HW potential, not for particular pool.
sr. member
Activity: 402
Merit: 250
rjk
sr. member
Activity: 448
Merit: 250
1ngldh
donator
Activity: 2058
Merit: 1007
Poor impulse control.
average.daily.btc <- your.hashrate / 2^32 / current.difficulty * 50 * 86000
newbie
Activity: 17
Merit: 0
Hi,

Is it possible to somehow calculate the expected number of BTC I would mine for a given hashrate?
I know that my cards do around do around 700MH/s.
http://keetweej.vanheusden.com/stats/bitcoin_hashrate.png
Jump to: