Wavelength is defined as: The distance from one point on the wave to the same point on the next wave.
In a transverse wave:
The wavelength can be measured from one peak to the next peak
In a longitudinal wave
The wavelength can be measured from the centre of one compression to the centre of the next
The wavelength is given the symbol λ (lambda) and is measured in metres (m)
The distance along a wave is typically put on the x-axis of a wave diagram