In this paper, He's amplitude-frequency formulation is used to obtain a periodic solution of a nonlinear oscillator. We illustrate that He's amplitude-frequency formulation is very effective and convenient and does not require linearization or small perturbation. The obtained results are valid for the whole solution domain with high accuracy.