Each Pal has a hidden breeding power value (0-1500). The child's power is the average of the parents' powers, rounded down. The calculator looks up the Pal with that power from a predefined list.