As this little boat demonstrates, you can see that the waves are moving it up and down as well as forwards. The equation needed when studying waves is: wave speed = frequency x wavelength.