Aiming at the problem of accurately measuring wave parameters,this paper studies the wave measurement algorithm of the buoy. The algorithm performs band-pass filtering on the wave motion velocity spectrum collected by the buoy,and then processes and analyzes the wave velocity spectrum and direction spectrum, and finally calculates the effective wave height,zero-crossing period and spectrum direction of the wave by the finite Fourier series method. Through simulation and comparison tests on the lake,the effectiveness and accuracy of the algorithm are verified,and the relative measurement error was maintained in the range of 2%~10%. The algorithm can be applied to wave buoys loaded with GPS or Beidou positioning module,and has a broad application prospect.