Calculating the annihilation rate of weakly interacting massive particles.