How every number is calculated
The formulas below are the same ones the calculators run. Where a value comes from community data-mining rather than an official statement, we say so.
Principles
- Calculations run in your browser from plain TypeScript functions with no hidden server step.
- Game rounding is reproduced exactly: when a game floors a value mid-formula, so do we, in the same place.
- Probabilities are shown as probabilities. A 1 in 512 drop is never “due”; a 35% PSA 10 rate is an estimate you can change.
- Money is shown in US dollars with two decimals; negative values use a true minus sign (−).
Palworld
Breeding
Two Pals of the same species always produce that species. A fixed list of unique combinations (for example Penking + Bushi = Anubis) overrides everything else in either parent order. For every other pair:
target power = floor((power A + power B + 1) / 2)
child = normal-pool Pal with the closest Breeding Power
tie: lowest internal index order wins Pals that only come from unique combinations or same-species pairs are excluded from the normal pool. Shortest breeding chains use a breadth-first search over this rule, up to three generations.
Work speed and IVs
work speed = base × (1 + passive %) × (1 + 5% × condenser stars) × (1 + other %)
HP = 500 + 5·Lv + base HP · 0.5 · Lv · (1 + IV · 0.003)
ATK = 100 + base ATK · 0.075 · Lv · (1 + IV · 0.003)
DEF = 50 + base DEF · 0.075 · Lv · (1 + IV · 0.003) Stats are then multiplied by passive, condenser and Statue of Power bonuses and floored. The IV solver tests every IV from 0 to 100 and reports the values that reproduce your observed stat.
Eggs and the Pal Essence Condenser
Hatch times scale linearly with the world setting for Massive Egg incubation (72 hours by default). Condenser ranks need 4, 16, 32 and 64 extra copies, 116 in total for four stars.
Pokémon & TCG
Type chart
We use the Generation VI to IX chart (18 types). Single-type multipliers are ×0, ×½, ×1 or ×2; dual types multiply both, giving ×0 to ×4. Pokémon GO replaces them with ×1.6 per step of advantage and ×0.625 per step of resistance, with immunity counted as ×0.390625.
Card grading ROI
expected sale = sum of (chance of grade × sold price of grade)
expected net = expected sale × (1 − marketplace fee)
total cost = card cost + grading fee + expected value upcharge + shipping
profit = expected net − total cost; ROI = profit / total cost Grade chances are normalised to 100%. When a likely sale price exceeds the service’s declared-value cap, the next tier’s fee is added as an expected upcharge. The break-even PSA 10 rate keeps the other grades in the same proportion and solves profit = 0.
Catch rate and stats
X = ((3 − 2 · HP%) / 3) × species rate × ball × status
shake check = floor(65536 / (255 / X)^0.1875) / 65536
catch chance = shake^4 (critical captures need one shake)
HP = floor((2B + IV + floor(EV/4)) × Lv / 100) + Lv + 10
other = floor((floor((2B + IV + floor(EV/4)) × Lv / 100) + 5) × nature) Breeding IV odds enumerate every inheritance set (3 stats, or 5 with a Destiny Knot); shiny odds start at 1 in 4,096 per roll, with extra rolls for the Shiny Charm and the Masuda method.
Pokémon GO
CP = max(10, floor((Atk + IV) × sqrt(Def + IV) × sqrt(Sta + IV) × CPM² / 10))
HP = max(10, floor((Sta + IV) × CPM)) CPM is the official CP multiplier table for every half level up to 51. Purifying a Shadow Pokémon adds 2 to each IV (capped at 15) and raises it to at least level 25. Power-up costs follow the Stardust, Candy and Candy XL bands, ×1.2 for Shadow and ×0.9 for Purified Pokémon.
Old School RuneScape
Combat level
base = 0.25 × (Defence + Hitpoints + floor(Prayer / 2))
melee = 0.325 × (Attack + Strength)
ranged = 0.325 × floor(1.5 × Ranged)
magic = 0.325 × floor(1.5 × Magic)
combat = floor(base + max(melee, ranged, magic)) Max hit, accuracy and DPS
effective str = floor((floor(boosted Str × prayer) + stance + 8) × void)
max hit = floor((effective str × (strength bonus + 64) + 320) / 640)
attack roll = effective atk × (attack bonus + 64)
defence roll = (target Defence + 9) × (target defence bonus + 64)
hit chance = 1 − (D + 2) / (2(A + 1)) if A is greater than D, else A / (2(D + 1))
DPS = hit chance × max hit / 2 / (attack ticks × 0.6 s) Slayer helmet and salve amulet bonuses multiply the rolls and the max hit (salve wins on undead). Ranged and magic follow the same structure with their own effective-level rules.
Experience, drops and prayer
XP(level) = floor(sum of floor(L + 300 × 2^(L/7)) / 4) for L = 1 to level − 1
P(at least one drop in k kills) = 1 − (1 − 1/n)^k
seconds per prayer point = 0.6 × (60 + 2 × prayer bonus) / total drain Level 99 needs 13,034,431 XP; the cap is 200,000,000 XP.
WoW Classic & TBC
Talent builds follow the in-game rules: the first point at level 10, then one per level (51 points in Classic, 61 in TBC), 5 points per tier to unlock the next row, and prerequisites enforced.
target defense = target level × 5
base miss = 5% + 0.1% per skill point short (0.2% beyond 10 points, +1% hit suppression)
dual wield = +19% miss on white swings
glancing blows = 10% + 2% per point of defense over capped weapon skill (40% vs a level 63 boss at 300 skill) TBC ratings use level 70 conversions: 15.77 rating per 1% melee hit, 12.62 per 1% spell hit, 22.08 per 1% crit, and 3.94 expertise rating per expertise point (each removes 0.25% dodge and parry).
Elden Ring
HP, FP, stamina and equip load use the game’s piecewise stat curves, which is where soft caps come from (Vigor bends at 25, 40 and 60). Weapon attack rating applies each damage type’s CalcCorrectGraph curve to the scaling stat.
equip load: light under 30% · medium under 70% · heavy up to 100% · overloaded above
runes to reach level x (x above 12) = floor(0.02x³ + 3.06x² + 105.6x − 895)
co-op range = level ± (10 + 10% of level)
invasion = level − 10% up to level + 20 + 10%
poise = armor poise × 1.33 with Bull-Goat’s TalismanMTG & card games
Opening hands and land counts use the exact hypergeometric distribution, computed in log space so 100-card decks stay precise.
P(X = k) = C(K, k) · C(N − K, n − k) / C(N, n)
N = deck size, K = copies (or lands), n = cards seen, k = hits Colored-source checks follow Frank Karsten’s approach: the chance to cast a spell on curve, given that you hit your land drops, with a 90% target. The land-count starting point for 60 cards is 19.59 + 1.90 × average mana value − 0.28 × cheap card draw, scaled to deck size. Yu-Gi-Oh! opening hands use the same distribution with a 40 to 60 card deck.
Clash Royale
average elixir = sum of the 8 card costs / 8, rounded to 0.1
fastest cycle = sum of the 4 cheapest cards Deck checks flag a missing win condition, fewer than two air-targeting cards, missing small or big spells, and more than one Champion. Wave 2 tools such as Stardew Valley crop profit and Genshin Impact pity follow the same documented approach (Genshin: 0.6% base 5-star rate, +6% per pull from pull 74, guaranteed at 90).
Testing standards
- Every engine has automated tests that pin known reference values: OSRS level 99 at 13,034,431 XP, Penking + Bushi = Anubis in both parent orders, Ice against Dragon/Ground at ×4, and more.
- The full test suite runs before every site build; a failing test stops the release.
- Where the game has hard limits (levels, IVs, percentages), engines clamp inputs to that range so a typo cannot produce an impossible result.
- Where community sources disagree, we keep the value backed by data-mining or official patch notes and note it.
Update policy
When a patch changes a formula or a dataset, the affected calculator is updated and its “Updated” date changes. Dates are in UTC. Reports sent through the contact page are checked against primary sources before anything is changed.