# Expected Long Term Cookie Production

*177*pages on

this wiki

These calculations build on the numbers from Golden Cookie Probabilities, by working out the average effect of each cookie combination, to find how many cookies you can expect to produce over the long term.

## Version 2.0 Edit

The following variables are used in the calculations:

Variable | Meaning | Business | Christmas |
---|---|---|---|

B | Base cookies per second | ||

C | Maximum Chain payout | 7/9*10^E | |

E | Exponent for max Chain payout | Int(Log10(194400*B)) | |

G | Average seconds between Golden Cookies | 104.903046 | 108.0010206 |

K | Number of cookies per click | With all upgrades, 0.11979*B | |

N | Number of clicks per second |

- Over 1 billion cookies in bank, so Chain cookies can have the maximum number of golden cookies in the chain.
- At least 3.025*10^E cookies in bank, where the max Chain payout is 7/9*10^E, so Chain cookies can always max out. This will also guarantee that Lucky cookies max out.
- All Golden Cookies and Reindeer are clicked as soon as possible (essentially the auto-clicker scenario).
- The upgrades Lucky Day, Serendipity, Get lucky, Heavenly luck, Lasting fortune, Golden goose egg, and Startrade have been bought.
- When factoring in Reindeer, the upgrades Reindeer baking grounds, Ho ho ho-flavored frosting, and Snarsnow have been bought.
- The framerate is 30 FPS.

The conditions used are:

- (a) Base cookies per second between 3.600823*10^n and 5.144033*10^n, for some n. (Max chain payout is the same during Frenzy.)
- (b) Otherwise. (Max chain payout is higher during Frenzy.)
- (1) Cookies in bank between 3.025*10^E and 10^(E+1).
- (2) Cookies in bank between 10^(E+1) and 10^(E+2).
- (3) Cookies in bank between 10^(E+2) and 10^(E+3).
- (4) Cookies in bank between 10^(E+3) and 10^(E+4).

If you have more than 10^(E+4) cookies in your bank, you should probably reset.

The first round of calculations will assume that the optimal configuration is Appeased Grandmatriarchs with the Radiant Appetite and Dragonflight auras. Future calculations will try to improve on this configuration.

Cookie Effects | |||||
---|---|---|---|---|---|

Extra: | |||||

Cookie | Conditions | Cookies | Seconds | ||

Blab | |||||

Frenzy | Before non-Frenzy | 170*6*(B+N*K) | |||

Before Frenzy | G*6*(B+N*K) | ||||

Lucky | After non-Frenzy | B*60*15 | |||

After Frenzy | B*60*15*7 | ||||

Click Frenzy | After non-Frenzy | 29*776*N*K | |||

After Frenzy | 29*776*N*K*7 | ||||

Dragonflight | After non-Frenzy | 22*1110*N*K | |||

After Frenzy | 22*1110*N*K*7 | ||||

Chain | (a)
or (b) After Frenzy | (1) | 1.026424*C | 22.944826 | |

(2) | 1.036792*C | 20.176592 | |||

(3) | 1.047264*C | 17.380396 | |||

(4) | 1.057843*C | 14.555955 | |||

(b) After non-Frenzy | (1) | 0.103680*C | 20.176592 | ||

(2) | 0.104726*C | 17.380396 | |||

(3) | 0.105784*C | 14.555955 | |||

(4) | 0.106853*C | 11.702985 |

Cookies per second | |||
---|---|---|---|

Conditions | Business Day | Christmas | |

(a) | (1) | 26.711*B + 94.785*NK + 9.434*10^(E-5) | 25.982*B + 92.109*NK + 9.164*10^(E-5) |

(2) | 26.719*B + 94.815*NK + 9.532*10^(E-5) | 25.990*B + 92.138*NK + 9.259*10^(E-5) | |

(3) | 26.728*B + 94.846*NK + 9.632*10^(E-5) | 25.998*B + 92.167*NK + 9.356*10^(E-5) | |

(4) | 26.737*B + 94.878*NK + 9.732*10^(E-5) | 26.006*B + 92.196*NK + 9.453*10^(E-5) | |

(b) | (1) | 26.716*B + 94.801*NK + 4.844*10^(E-5) | 25.987*B + 92.124*NK + 4.705*10^(E-5) |

(2) | 26.724*B + 94.832*NK + 4.894*10^(E-5) | 25.995*B + 92.153*NK + 4.754*10^(E-5) | |

(3) | 26.733*B + 94.863*NK + 4.945*10^(E-5) | 26.003*B + 92.183*NK + 4.807*10^(E-5) | |

(4) | 26.741*B + 94.895*NK + 4.997*10^(E-5) | 26.011*B + 92.213*NK + 4.854*10^(E-5) |

With all Reindeer upgrades, Reindeer spawn every 114.391 seconds on average, and are worth 120*B cookies, or 120*7*B during a Frenzy. A Frenzy is active on average 67.1% of the time. Working out the numbers, clicking all Reindeer is worth 5.5736*B cookies per second.

With all click upgrades, K = 0.11797*B. Using Benford's Distribution for base rates, 10^(E-5) averages to 0.233586*B for (a) and 0.406743*B for (b), with base rates falling into (a) 15.4902% of the time, and (b) 84.5098% of the time. Taking condition (3) as a reasonable average, the final CpS formulas for Appeased and Dragonflight, where N is clicks per second and B is base cookies per second, are:

Business Day | Christmas | |
---|---|---|

Always clicking | (28.78 + 11.36*N) *B | (33.57 + 11.04*N) *B |

Only Click Frenzies | (28.78 + 10.87*N) *B | (33.57 + 10.56*N) *B |

Only Stacked Frenzies | (28.78 + 9.38*N) *B | (33.57 + 9.12*N) *B |

These formulas are equal across seasons when N=14.9, 15.5, and 18.0 respectively, so Business Day season is better when your autoclicker clicks at least 15 times per second all the time, or 16 times per second only during Click Frenzies and Dragonflights, or 18 times per second only during stacked Click Frenzies and Dragonflights.

## Version 1.0466 Edit

Variables used will be explained in the next table. The assumptions here are:

- At least 10 trillion cookies in bank, so chain cookies always have the same chance to end the chain.
- At least 84000 * base cookies per second in bank, so Lucky cookies can always max out. (This will be the limiting factor if base cps is between 3.600824*10^n and 10.288066*10^n, for some n.)
- At least 3.025*10^E cookies in bank, where the max Chain payout is 7/9*10^E, so Chain cookies can always max out. (This will be the limiting factor if base cps is between 1.028807*10^n and 3.600824*10^n, for some n.)
- All Golden Cookies and Reindeer are clicked as soon as possible (essentially the auto-clicker scenario).
- The upgrades "Lucky Day", "Serendipity", and "Get lucky" have been bought.
- When factoring in Reindeer, the upgrades "Reindeer baking grounds", "Weighted sleighs", and "Ho ho ho-flavored frosting" have been bought.
- The framerate is 30 FPS.

(a) Base cookies per second between 7.201646*10^n and 10.288066*10^n, for some n.

(b) Base cookies per second between 1.028807*10^n and 7.201646*10^n, for some n.

(1) Cookies in bank between 3.025*10^E and 10^(E+1).

(2) Cookies in bank between 10^(E+1) and 10^(E+2).

(3) Cookies in bank between 10^(E+2) and 10^(E+3).

(4) Cookies in bank between 10^(E+3) and 10^(E+4).

If you have more than 10^(E+4) cookies in your bank, you should probably reset.

, or 121.1578391 seconds without, not including Chains. There are an average of 70.8303597 seconds of Frenzy per cookie cycle. Reindeer spawn an average of 120.1526946 seconds apart. Adding up the effects in the table above, multiplied by their probabilities from the table before, the following table is obtained: Benford's Distribution for base rates, 10^(E-5) averages to .11679*B for (a) and .42815*B for (b), with base rates falling into (a) 15.49% of the time, and (b) 84.51% of the time. So we can generate approximate weighted averages as follows:Christmas | Not Christmas | |
---|---|---|

(40.95+2.968*N)*B | (36.28+2.968*N)*B | |

No | (39.10+2.775*N)*B | (34.60+2.775*N)*B |

Click Frenzies account for the majority of click-based production. If you are not using an autoclicker, and simply clicking all the golden cookies, reindeer, and clicking during Click Frenzies, just multiply the coefficient of N by .8678 with the Golden Goose Egg, or .8633 without it. If you're only clicking during stacked frenzies, then instead multiply by .7556 with the Egg, or .7490 without.

Probably a negligible effect: Clicking golden cookies will decrease your clicks per second by about 1/120 (see tables for exact numbers), and Reindeer will decrease it by about the same amount.

Keep in mind that with the Century egg, base cookies per second changes over time. This also does not account for production achievements being reached, which changes the base rate. These are long-term averages, and are highly variable, mostly being dependent on the frequency of stacked Frenzies. An advanced Monte Carlo simulation could probably determine confidence intervals over defined periods of time.

The same process could be repeated for the other Grandmapocalypse stages, but it would be much more complicated. Since Appeased is the most profitable stage, this should be good enough.