Abstract:A method for automatic stacking-velocity analysis is advanced.The problem of stacking-velocity analysis can be expressed by a multistep decision process; each step represents a specific time interval (interval travel time),and is given an evaluation function.Then the dynamic programming model is designed.The dynamic programming aigorithm which is used to solve the general evaluation function to get the maximum-optimum solution(namely, the stacking-velocity function of primary reflection) is given on codition that the variation of staking velocity is constrained by interval velocity, The dynamic programming model can weaken the effect of multiple,diffraction and other noises by choosing proper initial stacking-velocity function and the corresponding range .By this approach dynamic programming algorithm can be adaptable to the variation of stacking velocity at dipping reflector.The trials on synthetic and real data proved the method satisfactory.