The wavelength is defined as the distance between the two nearest parts of the wave that are in phase - two parts of the wave that are at the same point in their oscillation. For example, the wavelength can be measured between two peaks, or two troughs.