At regular intervals throughout a day, the average credit for team Gridcoin is gathered from each project (TRAC).
Also the average credit for all hosts on the pool is gathered from the project (HRAC).
The final parameter needed to create a host magnitude is the number of whitelisted proejcts (W). This value is pulled
from the gridcoin daemon using *list projects*. Therefore, a hosts magnitude calculation for each project is:

*HMAG = 115000 * ( ( HRAC / TRAC ) / W )*

The magnitude computed from the Neural Net will differ from this pool calculation due to the timing of events.

The magnitude computed from the Neural Net will differ from this pool calculation due to the timing of events.

Before moving onto the amount owed using the host magnitude, we need to determine the wallet basis to get an available payout amount.
The wallet's beginning basis was 100000 GRC. The wallet basis increases overtime as it collects fees, donations, and interest.
The wallet basis may be adjusted overtime to allow for a buildup of fees, donations, or to adjust the amount of staking. These adjustments
will appear on the website payout reporting. Interest for the basis is obtained by using *list rsa*. Fees and donations increment the stored wallet basis at runtime during payouts.
Therefore, the wallet basis is represented via:

*BASIS = 100000 + INTEREST + DONATION + FEES*

Now that we have the basis and host magnitude we can calculate the amount of GRC a host is owed. To compute this, we need
to gather two more data points, total pool mag and the wallet balance.
The total pool's magnitude (PMAG), is the combined magnitude of all hosts, SUM(HMAG). The hot wallet's balance is obtained by
using *getinfo* via the daemon and totaling the balance and stake fields. Therefore, the OWED equation is represented by:

*OWED = ( HMAG / PMAG ) * ( BALANCE - BASIS )*

A pool payout will be triggered at least once a day. If your owed balance meets a mimimum threshold you will receive GRC to your payout address.
The payout amount is determined by taking the amount you are owed (above) and subtracting a flat fee and any donation amount you may have specified.
The equation for this looks like:

*PAYOUT = OWED - FEE - ( OWED * DONATION / 100 )*