Loudness is a function of the sound wave 's amplitude of the sound pressure. Aour ear drums are moved by the sound pressure.The greater the amplitude, the greater the volume.
Pitch is related to its frequency. The higher the frequency, the higher the pitch.
Loudness = amplitude of the sound pressure
Pitch = frequency