The probability of an alignment with a score at least as great as the observed one being produced by chance in a search of a given database with a particular method and substitution matrix (e.g. BLAST with BLOSUM62). The lower the P-value the more likely are the genes in question to be homologous. See also E-value.