In this paper, velocity inversion formula, suitable for both constant and varying velocity background is deduced from the 1D acoustic wave equation, based on Born scattering theory. Compared with classic Bleistein backscattering inversion formula, propagation of acoustic wave in limited space is considered, and more reasonable boundary condition is used in the formula deduced in this paper. Furthermore, the relationship between integral trace and absolute velocity is given in this formula, which has more practical usage.