This paper focuses on the vibration periodic property of Duffing oscillator with generalized initial conditions. Firstly, the undamped case is solved by Ji-Huan He’s frequency formulation; Secondly, the formulation is extended to the damped case. Numerical verification shows that the frequency formulation is mathematically simple and physically insightful and practically applicable. This paper paves a novel way for engineers to use the formulation to study nonlinear vibration system with ease and reliability.