It's measured as the vertical distance between the crest (highest point) and the trough (lowest point) of the wave.