(back)

expected upgrading cost calculator

Consider an experiment in which you want to upgrade something to a certain level, and a trial consists of spending as much zeny/kp/ores/equips as it takes until you succeed. This calculator tells you the average amount of each resource spent as the number of trials approaches infinity.

Note: The calculator restricts outputs to a maximum of five decimal places and also changes all digits beyond the nine most significant to zeroes. Nonetheless, because of the nature of the computation and the limitations of floating point precision/arithmetic, errors can be noticeable—sometimes dramatically so for sufficiently large output values. A realistic example: the difference between reported and actual expected equipment cost for +20/regular/premium/armor is about 4.3 billion; however, it's sobering to realize that that's an error of less than 0.02%. All bets are off, though, if you do silly things like trying to upgrade to +20 after entering 10% for every level.

Instructions:

  1. Select which ore to use for each upgrade level.
  2. Choose a success rate preset and click "Use" to load it. You may adjust the rates or enter your own if you'd like.
  3. (Optional) Enter zeny costs if you're interested in the average amount of zeny spent.
  4. (Optional) If you check "no risk", failure will not break equipment or reduce its upgrade level. (Ore and zeny will still be consumed, though.) This is useful for answering questions like: "what if equipment never falls below +10, +13, ...?"

Parameters:

Shortcuts:

levelupgrade using...no
risk
success rate (%)zeny cost
regular/hdenrichedreg/enrhd
+0 → +1
+1 → +2
+2 → +3
+3 → +4
+4 → +5
+5 → +6
+6 → +7
+7 → +8
+8 → +9
+9 → +10
+10 → +11
+11 → +12
+12 → +13
+13 → +14
+14 → +15
+15 → +16
+16 → +17
+17 → +18
+18 → +19
+19 → +20


refine from: to


Results:

average spentsensitivity to round-off errors
(smaller is better)
regularhigh-densityenrichedkafra pointsequipmentzeny
≤ +10≥ +11≤ +10≥ +11
000000000