The following is a calculator that helps you calculate the Divergence angle $\theta$, by inputting the Beam waist, Beam quality factor and Central wavelength.