The pitch of a sound is determined by its frequency. The higher the frequency, the higher the pitch. This is because the frequency of a sound wave corresponds to the number of vibrations per second that the sound wave produces. The more vibrations per second, the higher the pitch of the sound.