The relative frequency of an allele (variation of a gene) in a particular population.