The probability of obtaining each individual item with a given rarity in a certain number of attempts is calculated using the following formula:
P(item) = 1 - (1 - rarity)^attempts
Where rarity
is expressed as a decimal (e.g., 5% = 0.05) and attempts
is the number of tries.
The probability of obtaining all items is calculated as:
P(all items) = 1 - (1 - r1) * (1 - r2) * ... * (1 - rn))^attempts
Where r1, r2, ..., rn
are the rarities of each item.
The total time estimation is calculated by multiplying the number of attempts by the time per attempt for each item:
Total Time = Sum(Number of Attempts * Time per Attempt for each item)
The calculator uses these formulas to compute probabilities for obtaining items and visualizes how these probabilities change with the number of attempts.