The answer is allelic frequency. This is also the fraction of a particular allele of a gene in the population. Allelic frequency in a population of diploid individuals is calculated using the Hardy Weinberg equation of p2 + 2pq + q2 = 1. Allelic frequency of all the alleles of the genes must add up to 1 (one).