Valence Factor Formula