Bitcoin Forum
May 31, 2024, 02:04:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Proper equation for Calculating numbers of Scrypt Based Coins per day...  (Read 1661 times)
ckoeber (OP)
Member
**
Offline Offline

Activity: 182
Merit: 10


View Profile
March 21, 2014, 05:23:32 AM
Last edit: March 21, 2014, 05:35:30 AM by ckoeber
 #1

Hello,

I am trying to do an Excel spreadsheet of the amount of coins generated in mining an SCRYPT based coin per day.

Here is what I have so far, based on what I pulled from various online sources:

Number of Coins in Block Reward, which I will call N, divided by the following:

Quote

Difficulty multiplied by two (2) to the power of thirty two (32)

OR

Diff*2^32 : lets call that D

This entire amount divided by the hash rate, which I will call H

so D/H so far.

Divide this entire amount by 3600 (or the minutes in the day?) which I will call M.

so now (D/H) / M

Now take that final amount and divide it by the number of hours in the day, or 24 which I will shorten to day.

so now ((D/H) / M) / Day


So that leads me to the following equation (using my abbreviations above).

N / (((D/H) / M) / Day)

However, this calculation is off as when I plug the numbers in the final amount is incorrect.

Can anyone help me with getting the correct equation? Also if you can break down what is divided by what that would be great.

I am not the best at math but I try Smiley
ckoeber (OP)
Member
**
Offline Offline

Activity: 182
Merit: 10


View Profile
March 21, 2014, 05:54:19 PM
 #2

So anyone know where my formula is off above?

Thank you again for your time.
MashRinx
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
March 21, 2014, 06:10:14 PM
Last edit: March 21, 2014, 06:22:57 PM by MashRinx
 #3

So anyone know where my formula is off above?

Thank you again for your time.

I don't have time to really dig into this right now, but one thing I see is that I don't think you're accounting for block-time anywhere in your current formula?  Coins that might have the same difficulty and block rewards would still vary, possibly greatly, depending on their average block time, so I think you at least need to include that value in your formula.

edit:  for starters - (mins_per_day / block_time_in_mins ) * block_reward = total_coins_per_day

so for Litecoin ( 1440 / 2.5 ) * 50 = 28,800

Hope this helps, at least a little...
ckoeber (OP)
Member
**
Offline Offline

Activity: 182
Merit: 10


View Profile
March 21, 2014, 06:19:33 PM
 #4

So anyone know where my formula is off above?

Thank you again for your time.

I don't have time to really dig into this right now, but one thing I see is that I don't think you're accounting for block-time anywhere in your current formula?  Coins that might have the same difficulty and block rewards would still vary, possibly greatly, depending on their average block time, so I think you at least need to include that value in your formula.

That's a good point; I will research that but if anyone has pointers in that direction I am all ears Smiley
dspair
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
March 21, 2014, 06:22:31 PM
 #5

Formula I was using:
Coins mined per day = BLOCK_REWARD/(DIFFICULTY*2^32/HASHRATE/3600/24)

So for DOGE:
Block reward = 250000
Dif = 1689.09740750
Hashrate = 1000000 (1 MH/s)
Coins per day = 250000/(1689.09740750*4294967296/1000000/3600/24) = ~2977

And to check it if it's right...
MashRinx
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
March 21, 2014, 06:24:44 PM
 #6

Formula I was using:
Coins mined per day = BLOCK_REWARD/(DIFFICULTY*2^32/HASHRATE/3600/24)

So for DOGE:
Block reward = 250000
Dif = 1689.09740750
Hashrate = 1000000 (1 MH/S)
Coins per day = 250000/(1689.09740750*4294967296/1000000/3600/24) = ~2977

Nice... How accurate does this seem to be vs what you are able to mine?

Also, it might be worth including any required pool fees if trying to do a full compare between coins and pools where you would mine them.
ckoeber (OP)
Member
**
Offline Offline

Activity: 182
Merit: 10


View Profile
March 21, 2014, 06:29:17 PM
 #7

Formula I was using:
Coins mined per day = BLOCK_REWARD/(DIFFICULTY*2^32/HASHRATE/3600/24)

So for DOGE:
Block reward = 250000
Dif = 1689.09740750
Hashrate = 1000000 (1 MH/s)
Coins per day = 250000/(1689.09740750*4294967296/1000000/3600/24) = ~2977

And to check it if it's right...

Thank you so much, my question is where are the divisions happening above?

For example, is 2^32 being divided by 1000000 or is it (Diff*2^32)/1000000?

I am not clear what is being divided by what based on what you wrote.
dspair
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile
March 21, 2014, 06:37:56 PM
 #8

Nice... How accurate does this seem to be vs what you are able to mine?
It's just estimate. Pools can be lucky/unlucky, difficulty changes all the time.


Thank you so much, my question is where are the divisions happening above?

For example, is 2^32 being divided by 1000000 or is it (Diff*2^32)/10000000?

I am not clear what is being divided by what based on what you wrote.
It's the basic math, start from multiplying difficulty by (2^32), then divide by 1000000 etc Tongue
Don't think I made any mistake, put it in google and you will get the same result (edit: oh right, and it tells you how it's done).
ckoeber (OP)
Member
**
Offline Offline

Activity: 182
Merit: 10


View Profile
March 21, 2014, 07:01:32 PM
 #9

Nice... How accurate does this seem to be vs what you are able to mine?
It's just estimate. Pools can be lucky/unlucky, difficulty changes all the time.


Thank you so much, my question is where are the divisions happening above?

For example, is 2^32 being divided by 1000000 or is it (Diff*2^32)/10000000?

I am not clear what is being divided by what based on what you wrote.
It's the basic math, start from multiplying difficulty by (2^32), then divide by 1000000 etc Tongue
Don't think I made any mistake, put it in google and you will get the same result (edit: oh right, and it tells you how it's done).

Thank you. Using Excel is weird sometime and you have to specify what is being divided by what.

I need to brush up on how to read math in single line form Smiley

I am used to it in how you would read it in math textbooks...
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!