Breeding for perfect IVs is a numbers game, and knowing the real odds saves you hours of hatching eggs blindly. This calculator uses the actual hypergeometric inheritance model to tell you the chance each egg has all your target IVs, then folds in nature odds and the expected egg count.
How it works
The offspring inherits a fixed number of IV slots, chosen at random from all stat slots. The probability those random slots include every one of your target stats is a hypergeometric draw:
P(all target inherited) = C(slots - target, inherited - target) / C(slots, inherited)
where C(n, k) is the binomial coefficient. Combined with the nature pass-down
chance, the per-egg success probability is the product of the two, and the
expected number of eggs to succeed is one over that:
combined = P(IVs) × P(nature)
eggs = 1 / combined
Example and notes
With the standard 6 IV stats, a Destiny-Knot passing 5 IVs, and a target of 4
perfect IVs, the inheritance chance is C(2, 1) / C(6, 5) = 2 / 6 ≈ 33.3%. If you
also need a 50% nature pass-down, the combined chance is about 16.7%, or roughly
6 eggs on average. Note the impossible case: asking for 4 target IVs while only 3
are inherited yields a zero chance, since a single egg cannot pass more perfect
IVs than its inherited slot count. Breed in stages — perfect one parent further —
to break past that limit.